Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeIngress = "ingress" TypeEgress = "egress" )
View Source
const ( ActionAllow = "allow" ActionDeny = "deny" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultVPC ¶ added in v0.69.0
type EC2 ¶
type EC2 struct { Instances []Instance LaunchConfigurations []LaunchConfiguration LaunchTemplates []LaunchTemplate DefaultVPCs []DefaultVPC SecurityGroups []SecurityGroup NetworkACLs []NetworkACL Volumes []Volume }
type Encryption ¶ added in v0.69.0
type Instance ¶
type Instance struct { types.Metadata MetadataOptions MetadataOptions UserData types.StringValue SecurityGroups []SecurityGroup RootBlockDevice *BlockDevice EBSBlockDevices []*BlockDevice }
func NewInstance ¶ added in v0.69.0
func (*Instance) HasHTTPEndpointDisabled ¶
func (*Instance) HasSensitiveInformationInUserData ¶
func (*Instance) RequiresIMDSToken ¶
type LaunchConfiguration ¶ added in v0.69.0
type LaunchConfiguration struct { types.Metadata Name types.StringValue AssociatePublicIP types.BoolValue RootBlockDevice *BlockDevice EBSBlockDevices []*BlockDevice MetadataOptions MetadataOptions UserData types.StringValue }
func (*LaunchConfiguration) HasHTTPEndpointDisabled ¶ added in v0.69.0
func (i *LaunchConfiguration) HasHTTPEndpointDisabled() bool
func (*LaunchConfiguration) RequiresIMDSToken ¶ added in v0.69.0
func (i *LaunchConfiguration) RequiresIMDSToken() bool
type LaunchTemplate ¶ added in v0.69.0
type MetadataOptions ¶
type MetadataOptions struct { types.Metadata HttpTokens types.StringValue HttpEndpoint types.StringValue }
type NetworkACL ¶ added in v0.69.0
type NetworkACL struct { types.Metadata Rules []NetworkACLRule IsDefaultRule types.BoolValue }
type NetworkACLRule ¶ added in v0.69.0
type NetworkACLRule struct { types.Metadata Type types.StringValue Action types.StringValue Protocol types.StringValue CIDRs []types.StringValue }
type SecurityGroup ¶ added in v0.69.0
type SecurityGroup struct { types.Metadata Description types.StringValue IngressRules []SecurityGroupRule EgressRules []SecurityGroupRule }
type SecurityGroupRule ¶ added in v0.69.0
type SecurityGroupRule struct { types.Metadata Description types.StringValue CIDRs []types.StringValue }
type Volume ¶ added in v0.69.0
type Volume struct { types.Metadata Encryption Encryption }
Click to show internal directories.
Click to hide internal directories.