Show / Hide Table of Contents

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

string

Remarks

ExampleMetadata: fixture=_generated

Configuration

Specify configuration parameters for a single subnet group in a VPC.

ISubnetConfiguration Configuration { get; }
Property Value

ISubnetConfiguration

Remarks

ExampleMetadata: fixture=_generated

SubnetConstructId

Id for the Subnet construct.

string SubnetConstructId { get; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX