Show / Hide Table of Contents

Class PrivateSubnetAttributes

Inheritance
System.Object
PrivateSubnetAttributes
Implements
IPrivateSubnetAttributes
ISubnetAttributes
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class PrivateSubnetAttributes : Object, IPrivateSubnetAttributes, ISubnetAttributes
Syntax (vb)
Public Class PrivateSubnetAttributes
    Inherits Object
    Implements IPrivateSubnetAttributes, ISubnetAttributes
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;

PrivateSubnetAttributes privateSubnetAttributes = new PrivateSubnetAttributes {
    SubnetId = "subnetId",

    // the properties below are optional
    AvailabilityZone = "availabilityZone",
    Ipv4CidrBlock = "ipv4CidrBlock",
    RouteTableId = "routeTableId"
};

Synopsis

Constructors

PrivateSubnetAttributes()

Properties

AvailabilityZone

The Availability Zone the subnet is located in.

Ipv4CidrBlock

The IPv4 CIDR block associated with the subnet.

RouteTableId

The ID of the route table for this particular subnet.

SubnetId

The subnetId for this particular subnet.

Constructors

PrivateSubnetAttributes()

public PrivateSubnetAttributes()

Properties

AvailabilityZone

The Availability Zone the subnet is located in.

public string AvailabilityZone { get; set; }
Property Value

System.String

Remarks

Default: - No AZ information, cannot use AZ selection features

Ipv4CidrBlock

The IPv4 CIDR block associated with the subnet.

public string Ipv4CidrBlock { get; set; }
Property Value

System.String

Remarks

Default: - No CIDR information, cannot use CIDR filter features

RouteTableId

The ID of the route table for this particular subnet.

public string RouteTableId { get; set; }
Property Value

System.String

Remarks

Default: - No route table information, cannot create VPC endpoints

SubnetId

The subnetId for this particular subnet.

public string SubnetId { get; set; }
Property Value

System.String

Implements

IPrivateSubnetAttributes
ISubnetAttributes
Back to top Generated by DocFX