Interface IRequestedSubnet
Subnet requested for allocation.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IRequestedSubnet
Syntax (vb)
Public Interface IRequestedSubnet
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.AWS.EC2;
var requestedSubnet = new RequestedSubnet {
AvailabilityZone = "availabilityZone",
Configuration = new SubnetConfiguration {
Name = "name",
SubnetType = SubnetType.PRIVATE_ISOLATED,
// the properties below are optional
CidrMask = 123,
Ipv6AssignAddressOnCreation = false,
MapPublicIpOnLaunch = false,
Reserved = false
},
SubnetConstructId = "subnetConstructId"
};
Synopsis
Properties
AvailabilityZone | The availability zone for the subnet. |
Configuration | Specify configuration parameters for a single subnet group in a VPC. |
SubnetConstructId | Id for the Subnet construct. |
Properties
AvailabilityZone
The availability zone for the subnet.
string AvailabilityZone { get; }
Property Value
System.String
Configuration
Specify configuration parameters for a single subnet group in a VPC.
ISubnetConfiguration Configuration { get; }
Property Value
SubnetConstructId
Id for the Subnet construct.
string SubnetConstructId { get; }
Property Value
System.String