Interface ISubnet
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
InternetConnectivityEstablished
Dependable that can be depended upon to force internet connectivity established on the VPC.
IDependable InternetConnectivityEstablished { get; }
Property Value
IDependable
Ipv4CidrBlock
RouteTable
SubnetId
The subnetId for this particular subnet.
string SubnetId { get; }
Property Value
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.