ec2

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 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 BlockDevice added in v0.6.1

type BlockDevice struct {
	types.Metadata
	Encrypted types.BoolValue
}

func (*BlockDevice) GetMetadata added in v0.6.1

func (d *BlockDevice) GetMetadata() *types.Metadata

func (*BlockDevice) GetRawValue added in v0.6.1

func (d *BlockDevice) GetRawValue() interface{}

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
	RootBlockDevice *BlockDevice
	EBSBlockDevices []BlockDevice
}

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