Documentation ¶
Overview ¶
@smallcase/cdk-vpc-module
@smallcase/cdk-vpc-module
@smallcase/cdk-vpc-module
@smallcase/cdk-vpc-module
@smallcase/cdk-vpc-module
@smallcase/cdk-vpc-module
@smallcase/cdk-vpc-module
@smallcase/cdk-vpc-module
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Network_IsConstruct ¶
func Network_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.
func NewNetwork_Override ¶
Types ¶
type AddRouteOptions ¶
type AddRouteOptions struct { // What type of router to route this traffic to. RouterType awsec2.RouterType `field:"required" json:"routerType" yaml:"routerType"` // IPv4 range this route applies to. DestinationCidrBlock *string `field:"optional" json:"destinationCidrBlock" yaml:"destinationCidrBlock"` // IPv6 range this route applies to. DestinationIpv6CidrBlock *string `field:"optional" json:"destinationIpv6CidrBlock" yaml:"destinationIpv6CidrBlock"` // Whether this route will enable internet connectivity. // // If true, this route will be added before any AWS resources that depend // on internet connectivity in the VPC will be created. EnablesInternetConnectivity *bool `field:"optional" json:"enablesInternetConnectivity" yaml:"enablesInternetConnectivity"` ExistingVpcPeeringRouteKey *string `field:"optional" json:"existingVpcPeeringRouteKey" yaml:"existingVpcPeeringRouteKey"` RouterId *string `field:"optional" json:"routerId" yaml:"routerId"` }
type ISubnetsProps ¶
type ISubnetsProps interface { AvailabilityZones() *[]*string CidrBlock() *[]*string EgressNetworkACL() *[]*NetworkACL IngressNetworkACL() *[]*NetworkACL Routes() *[]*AddRouteOptions SubnetGroupName() *string SubnetType() awsec2.SubnetType Tags() *map[string]*string UseSubnetForNAT() *bool }
type Network ¶
type Network interface { constructs.Construct NatProvider() awsec2.NatProvider NatSubnets() *[]awsec2.PublicSubnet SetNatSubnets(val *[]awsec2.PublicSubnet) // The tree node. Node() constructs.Node PbSubnets() *[]awsec2.PublicSubnet SetPbSubnets(val *[]awsec2.PublicSubnet) PvSubnets() *[]awsec2.PrivateSubnet SetPvSubnets(val *[]awsec2.PrivateSubnet) Vpc() awsec2.Vpc CreateSubnet(option ISubnetsProps, vpc awsec2.Vpc, peeringConnectionId *PeeringConnectionInternalType) *[]awsec2.Subnet // Returns a string representation of this construct. ToString() *string }
func NewNetwork ¶
type NetworkACL ¶
type NetworkACL struct { Cidr awsec2.AclCidr `field:"required" json:"cidr" yaml:"cidr"` Traffic awsec2.AclTraffic `field:"required" json:"traffic" yaml:"traffic"` }
type PeeringConfig ¶
type PeeringConfig struct { PeeringVpcId *string `field:"required" json:"peeringVpcId" yaml:"peeringVpcId"` Tags *map[string]*string `field:"required" json:"tags" yaml:"tags"` PeerAssumeRoleArn *string `field:"optional" json:"peerAssumeRoleArn" yaml:"peerAssumeRoleArn"` PeerOwnerId *string `field:"optional" json:"peerOwnerId" yaml:"peerOwnerId"` PeerRegion *string `field:"optional" json:"peerRegion" yaml:"peerRegion"` }
type PeeringConnectionInternalType ¶
type PeeringConnectionInternalType struct { }
type VPCProps ¶
type VPCProps struct { Subnets *[]ISubnetsProps `field:"required" json:"subnets" yaml:"subnets"` Vpc *awsec2.VpcProps `field:"required" json:"vpc" yaml:"vpc"` NatEipAllocationIds *[]*string `field:"optional" json:"natEipAllocationIds" yaml:"natEipAllocationIds"` PeeringConfigs *map[string]*PeeringConfig `field:"optional" json:"peeringConfigs" yaml:"peeringConfigs"` }
Source Files ¶
- smallcasecdkvpcmodule.go
- smallcasecdkvpcmodule_AddRouteOptions.go
- smallcasecdkvpcmodule_ISubnetsProps.go
- smallcasecdkvpcmodule_Network.go
- smallcasecdkvpcmodule_NetworkACL.go
- smallcasecdkvpcmodule_Network__runtime_type_checks.go
- smallcasecdkvpcmodule_PeeringConfig.go
- smallcasecdkvpcmodule_PeeringConnectionInternalType.go
- smallcasecdkvpcmodule_VPCProps.go
Click to show internal directories.
Click to hide internal directories.