ec2

package
v0.57.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockDevice

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

type EC2

type EC2 struct {
	Instances []Instance
}

type Instance

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

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
}

Jump to

Keyboard shortcuts

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