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 BlockDevice ¶
type EC2 ¶
type EC2 struct { Instances []Instance LaunchConfigurations []LaunchConfiguration LaunchTemplates []LaunchTemplate VPCs []VPC SecurityGroups []SecurityGroup NetworkACLs []NetworkACL Subnets []Subnet Volumes []Volume }
type Encryption ¶
type Instance ¶
type Instance struct { Metadata iacTypes.Metadata MetadataOptions MetadataOptions UserData iacTypes.StringValue SecurityGroups []SecurityGroup RootBlockDevice *BlockDevice EBSBlockDevices []*BlockDevice }
func NewInstance ¶
func (*Instance) HasHTTPEndpointDisabled ¶
func (*Instance) HasSensitiveInformationInUserData ¶
func (*Instance) RequiresIMDSToken ¶
type LaunchConfiguration ¶
type LaunchConfiguration struct { Metadata iacTypes.Metadata Name iacTypes.StringValue AssociatePublicIP iacTypes.BoolValue RootBlockDevice *BlockDevice EBSBlockDevices []*BlockDevice MetadataOptions MetadataOptions UserData iacTypes.StringValue }
func (*LaunchConfiguration) HasHTTPEndpointDisabled ¶
func (i *LaunchConfiguration) HasHTTPEndpointDisabled() bool
func (*LaunchConfiguration) RequiresIMDSToken ¶
func (i *LaunchConfiguration) RequiresIMDSToken() bool
type LaunchTemplate ¶
type LaunchTemplate struct { Metadata iacTypes.Metadata Name iacTypes.StringValue Instance }
type MetadataOptions ¶
type MetadataOptions struct { Metadata iacTypes.Metadata HttpTokens iacTypes.StringValue HttpEndpoint iacTypes.StringValue }
type NetworkACL ¶
type NetworkACL struct { Metadata iacTypes.Metadata Rules []NetworkACLRule IsDefaultRule iacTypes.BoolValue }
type NetworkACLRule ¶
type NetworkACLRule struct { Metadata iacTypes.Metadata Type iacTypes.StringValue Action iacTypes.StringValue Protocol iacTypes.StringValue CIDRs []iacTypes.StringValue }
type SecurityGroup ¶
type SecurityGroup struct { Metadata iacTypes.Metadata IsDefault iacTypes.BoolValue Description iacTypes.StringValue IngressRules []SecurityGroupRule EgressRules []SecurityGroupRule VPCID iacTypes.StringValue }
type SecurityGroupRule ¶
type SecurityGroupRule struct { Metadata iacTypes.Metadata Description iacTypes.StringValue CIDRs []iacTypes.StringValue }
type VPC ¶
type VPC struct { Metadata iacTypes.Metadata ID iacTypes.StringValue IsDefault iacTypes.BoolValue SecurityGroups []SecurityGroup FlowLogsEnabled iacTypes.BoolValue }
type Volume ¶
type Volume struct { Metadata iacTypes.Metadata Encryption Encryption }
Click to show internal directories.
Click to hide internal directories.