Documentation ¶
Index ¶
- Constants
- func CreateTags(ctx context.Context, cfg *awscfg.Config, resources []string, tags tagging.Map) error
- func DeleteEIP(ctx context.Context, cfg *awscfg.Config, ownerTagValue string) (err error)
- func DeleteNATGateway(ctx context.Context, cfg *awscfg.Config, publicSubnetId string) error
- func DeleteRouteIPv4(ctx context.Context, cfg *awscfg.Config, routeTableId string, ipv4 cidr.IPv4) error
- func DeleteVPC(ctx context.Context, cfg *awscfg.Config, vpcId string) error
- func EnsureEgressOnlyInternetGatewayRouteIPv6(ctx context.Context, cfg *awscfg.Config, routeTableId string, ipv6 cidr.IPv6, ...) error
- func EnsureGatewayVPCEndpoint(ctx context.Context, cfg *awscfg.Config, vpcId string, routeTableIds []string, ...) error
- func EnsureInternetGatewayRouteIPv4(ctx context.Context, cfg *awscfg.Config, routeTableId string, ipv4 cidr.IPv4, ...) error
- func EnsureInternetGatewayRouteIPv6(ctx context.Context, cfg *awscfg.Config, routeTableId string, ipv6 cidr.IPv6, ...) error
- func EnsureNATGatewayRouteIPv4(ctx context.Context, cfg *awscfg.Config, routeTableId string, ipv4 cidr.IPv4, ...) error
- func EnsureVPCPeeringRouteIPv4(ctx context.Context, cfg *awscfg.Config, routeTableId string, ipv4 cidr.IPv4, ...) error
- func EnsureVPCPeeringRouteIPv6(ctx context.Context, cfg *awscfg.Config, routeTableId string, ipv6 cidr.IPv6, ...) error
- func ImportKeyPair(ctx context.Context, cfg *awscfg.Config, name, publicKeyMaterial string) (*ec2.ImportKeyPairOutput, error)
- func TerminateInstance(ctx context.Context, cfg *awscfg.Config, instanceId string) error
- type ArchitectureType
- type AvailabilityZone
- type EIP
- type EgressOnlyInternetGateway
- func DescribeEgressOnlyInternetGateway(ctx context.Context, cfg *awscfg.Config, vpcId string) (*EgressOnlyInternetGateway, error)
- func DescribeEgressOnlyInternetGateways(ctx context.Context, cfg *awscfg.Config) (gateways []EgressOnlyInternetGateway, err error)
- func EnsureEgressOnlyInternetGateway(ctx context.Context, cfg *awscfg.Config, vpcId string, tags tagging.Map) (*EgressOnlyInternetGateway, error)
- type Filter
- type Image
- type Instance
- type InstanceType
- type InstanceTypeInfo
- type InstanceTypeOffering
- type InternetGateway
- func DescribeInternetGateway(ctx context.Context, cfg *awscfg.Config, vpcId string) (*InternetGateway, error)
- func DescribeInternetGateways(ctx context.Context, cfg *awscfg.Config) (gateways []InternetGateway, err error)
- func EnsureInternetGateway(ctx context.Context, cfg *awscfg.Config, vpcId string, tags tagging.Map) (*InternetGateway, error)
- type KeyPairInfo
- type LaunchTemplate
- type LaunchTemplateVersion
- type NATGateway
- func DescribeNATGateway(ctx context.Context, cfg *awscfg.Config, publicSubnetId string) (*NATGateway, error)
- func DescribeNATGateways(ctx context.Context, cfg *awscfg.Config) (gateways []NATGateway, err error)
- func EnsureNATGateway(ctx context.Context, cfg *awscfg.Config, publicSubnetId string, ...) (*NATGateway, error)
- type RouteTable
- type RunInstancesOutput
- type SecurityGroup
- type Subnet
- type Tag
- type VPC
- func DescribeVPC(ctx context.Context, cfg *awscfg.Config, environment, quality string) (*VPC, error)
- func DescribeVPCs(ctx context.Context, cfg *awscfg.Config, environment, quality string) ([]VPC, error)
- func EnsureVPC(ctx context.Context, cfg *awscfg.Config, environment, quality string, ...) (*VPC, error)
- type VPCEndpoint
- type VPCPeeringConnection
Constants ¶
View Source
const ( AmazonLinuxAMINamePattern = "al2023-ami-*" AmazonLinuxAMIOwner = "137112412989" ARM = types.ArchitectureTypeArm64 X86_64 = types.ArchitectureTypeX8664 InvalidLaunchTemplateName_NotFound = "InvalidLaunchTemplateName.NotFound" Unsupported = "Unsupported" UnsupportedOperation = "UnsupportedOperation" )
View Source
const ( InvalidParameterValue = "InvalidParameterValue" RouteAlreadyExists = "RouteAlreadyExists" VpcPeeringConnectionAlreadyExists = "VpcPeeringConnectionAlreadyExists" )
View Source
const InvalidLaunchTemplateName_NotFoundException = "InvalidLaunchTemplateName.NotFoundException"
Variables ¶
This section is empty.
Functions ¶
func CreateTags ¶
func DeleteNATGateway ¶
func DeleteRouteIPv4 ¶
func ImportKeyPair ¶
Types ¶
type ArchitectureType ¶
type ArchitectureType = types.ArchitectureType
type AvailabilityZone ¶
type AvailabilityZone = types.AvailabilityZone
type EIP ¶
type EIP struct {
AllocationId, IPv4 string
// contains filtered or unexported fields
}
func DescribeEIP ¶
type EgressOnlyInternetGateway ¶
type EgressOnlyInternetGateway = types.EgressOnlyInternetGateway
type InstanceType ¶
type InstanceType = types.InstanceType
type InstanceTypeInfo ¶
type InstanceTypeInfo = types.InstanceTypeInfo
func DescribeInstanceTypes ¶
func DescribeInstanceTypes( ctx context.Context, cfg *awscfg.Config, instanceTypes []InstanceType, ) (infos []InstanceTypeInfo, err error)
type InstanceTypeOffering ¶
type InstanceTypeOffering = types.InstanceTypeOffering
type InternetGateway ¶
type InternetGateway = types.InternetGateway
func DescribeInternetGateway ¶
type LaunchTemplateVersion ¶
type LaunchTemplateVersion = types.LaunchTemplateVersion
type NATGateway ¶
type NATGateway = types.NatGateway
func DescribeNATGateway ¶
func DescribeNATGateways ¶
type RouteTable ¶
type RouteTable = types.RouteTable
func CreateRouteTable ¶
func DescribeRouteTables ¶
func DescribeRouteTables( ctx context.Context, cfg *awscfg.Config, vpcId string, ) ( public *RouteTable, private map[string]*RouteTable, err error, )
type SecurityGroup ¶
type SecurityGroup = types.SecurityGroup
func DescribeSecurityGroups ¶
func EnsureSecurityGroup ¶
type Subnet ¶
func DescribeSubnets ¶
type VPCEndpoint ¶
type VPCEndpoint = types.VpcEndpoint
type VPCPeeringConnection ¶
type VPCPeeringConnection = types.VpcPeeringConnection
Click to show internal directories.
Click to hide internal directories.