Interface IVpcSubnet
A subnet representation that the VPC provider uses.
Namespace: Amazon.CDK.CXAPI
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVpcSubnet
Syntax (vb)
Public Interface IVpcSubnet
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CXAPI;
var vpcSubnet = new VpcSubnet {
AvailabilityZone = "availabilityZone",
RouteTableId = "routeTableId",
SubnetId = "subnetId",
// the properties below are optional
Cidr = "cidr"
};
Synopsis
Properties
AvailabilityZone | The code of the availability zone this subnet is in (for example, 'us-west-2a'). |
Cidr | CIDR range of the subnet. |
RouteTableId | The identifier of the route table for this subnet. |
SubnetId | The identifier of the subnet. |
Properties
AvailabilityZone
The code of the availability zone this subnet is in (for example, 'us-west-2a').
string AvailabilityZone { get; }
Property Value
System.String
Cidr
CIDR range of the subnet.
virtual string Cidr { get; }
Property Value
System.String
Remarks
Default: - CIDR information not available
RouteTableId
The identifier of the route table for this subnet.
string RouteTableId { get; }
Property Value
System.String
SubnetId
The identifier of the subnet.
string SubnetId { get; }
Property Value
System.String