subnet

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PrivateSubnetRequest

type PrivateSubnetRequest struct {
	VPC        *ec2.Vpc
	Subnet     *ec2.Subnet
	NatGateway *ec2.NatGateway

	CIDR             string
	AvailabilityZone string
	Name             string
}

func (PrivateSubnetRequest) Create

type PrivateSubnetResources

type PrivateSubnetResources struct {
	Subnet                *ec2.Subnet
	RouteTable            *ec2.RouteTable
	RouteTableAssociation *ec2.RouteTableAssociation
}

type PublicSubnetRequest

type PublicSubnetRequest struct {
	VPC              *ec2.Vpc
	InternetGateway  *ec2.InternetGateway
	CIDR             string
	AvailabilityZone string
	Name             string
	AddNatGateway    bool
}

func (PublicSubnetRequest) Create

type PublicSubnetResources

type PublicSubnetResources struct {
	Subnet                *ec2.Subnet
	RouteTable            *ec2.RouteTable
	RouteTableAssociation *ec2.RouteTableAssociation
	EIP                   *ec2.Eip
	NatGateway            *ec2.NatGateway
}

Jump to

Keyboard shortcuts

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