Show / Hide Table of Contents

Class RequestedSubnet

Subnet requested for allocation.

Inheritance
object
RequestedSubnet
Implements
IRequestedSubnet
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RequestedSubnet : IRequestedSubnet
Syntax (vb)
Public Class RequestedSubnet Implements 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

Constructors

RequestedSubnet()

Subnet requested for allocation.

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.

Constructors

RequestedSubnet()

Subnet requested for allocation.

public RequestedSubnet()
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"
            };

Properties

AvailabilityZone

The availability zone for the subnet.

public string AvailabilityZone { get; set; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Configuration

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

public ISubnetConfiguration Configuration { get; set; }
Property Value

ISubnetConfiguration

Remarks

ExampleMetadata: fixture=_generated

SubnetConstructId

Id for the Subnet construct.

public string SubnetConstructId { get; set; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Implements

IRequestedSubnet
Back to top Generated by DocFX