ec2

package
v0.5.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EC2

type EC2 struct {
	types.Metadata
	Instances []Instance
}

func (*EC2) GetMetadata added in v0.3.24

func (e *EC2) GetMetadata() *types.Metadata

func (*EC2) GetRawValue added in v0.3.24

func (e *EC2) GetRawValue() interface{}

type Instance

type Instance struct {
	types.Metadata
	MetadataOptions MetadataOptions
	UserData        types.StringValue
	SecurityGroups  []vpc.SecurityGroup
}

func (*Instance) GetMetadata

func (c *Instance) GetMetadata() *types.Metadata

func (*Instance) GetRawValue

func (c *Instance) GetRawValue() interface{}

func (*Instance) HasHTTPEndpointDisabled

func (i *Instance) HasHTTPEndpointDisabled() bool

func (*Instance) HasSensitiveInformationInUserData

func (i *Instance) HasSensitiveInformationInUserData() bool

func (*Instance) RequiresIMDSToken

func (i *Instance) RequiresIMDSToken() bool

type MetadataOptions

type MetadataOptions struct {
	types.Metadata
	HttpTokens   types.StringValue
	HttpEndpoint types.StringValue
}

func (*MetadataOptions) GetMetadata added in v0.3.24

func (m *MetadataOptions) GetMetadata() *types.Metadata

func (*MetadataOptions) GetRawValue added in v0.3.24

func (m *MetadataOptions) GetRawValue() interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL