Interface ISubnet
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISubnet : IResource
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
System.String
InternetConnectivityEstablished
Dependable that can be depended upon to force internet connectivity established on the VPC.
IDependable InternetConnectivityEstablished { get; }
Property Value
Constructs.IDependable
Ipv4CidrBlock
The IPv4 CIDR block for this subnet.
string Ipv4CidrBlock { get; }
Property Value
System.String
RouteTable
SubnetId
The subnetId for this particular subnet.
string SubnetId { get; }
Property Value
System.String
Remarks
Attribute: true
Methods
AssociateNetworkAcl(String, INetworkAcl)
Associate a Network ACL with this subnet.
void AssociateNetworkAcl(string id, INetworkAcl acl)
Parameters
- id System.String
- acl INetworkAcl
The Network ACL to associate.