Show / Hide Table of Contents

Interface ISubnet

Inherited Members
IResource.ApplyRemovalPolicy(RemovalPolicy)
IResource.Env
IResource.Stack
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISubnet : IResource, IConstruct, IDependable
Syntax (vb)
Public Interface ISubnet Inherits IResource, IConstruct, IDependable

Synopsis

Properties

AvailabilityZone

The Availability Zone the subnet is located in.

InternetConnectivityEstablished

Dependable that can be depended upon to force internet connectivity established on the VPC.

Ipv4CidrBlock

The IPv4 CIDR block for this subnet.

RouteTable

The route table for this subnet.

SubnetId

The subnetId for this particular subnet.

Methods

AssociateNetworkAcl(string, INetworkAcl)

Associate a Network ACL with this subnet.

Properties

AvailabilityZone

The Availability Zone the subnet is located in.

string AvailabilityZone { get; }
Property Value

string

InternetConnectivityEstablished

Dependable that can be depended upon to force internet connectivity established on the VPC.

IDependable InternetConnectivityEstablished { get; }
Property Value

IDependable

Ipv4CidrBlock

The IPv4 CIDR block for this subnet.

string Ipv4CidrBlock { get; }
Property Value

string

RouteTable

The route table for this subnet.

IRouteTable RouteTable { get; }
Property Value

IRouteTable

SubnetId

The subnetId for this particular subnet.

string SubnetId { get; }
Property Value

string

Remarks

Attribute: true

Methods

AssociateNetworkAcl(string, INetworkAcl)

Associate a Network ACL with this subnet.

void AssociateNetworkAcl(string id, INetworkAcl acl)
Parameters
id string
acl INetworkAcl

The Network ACL to associate.

Back to top Generated by DocFX