Class SubnetNetworkAclAssociation
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SubnetNetworkAclAssociation : Resource, ISubnetNetworkAclAssociation, IResource
Syntax (vb)
Public Class SubnetNetworkAclAssociation
Inherits Resource
Implements ISubnetNetworkAclAssociation, IResource
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;
NetworkAcl networkAcl;
Subnet subnet;
var subnetNetworkAclAssociation = new SubnetNetworkAclAssociation(this, "MySubnetNetworkAclAssociation", new SubnetNetworkAclAssociationProps {
NetworkAcl = networkAcl,
Subnet = subnet,
// the properties below are optional
SubnetNetworkAclAssociationName = "subnetNetworkAclAssociationName"
});
Synopsis
Constructors
Subnet |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Subnet |
Used by jsii to construct an instance of this class from DeputyProps |
Subnet |
Properties
Network |
ID for the current Network ACL. |
Subnet | ID of the Subnet. |
Subnet |
ID for the current SubnetNetworkAclAssociation. |
Methods
From |
Constructors
SubnetNetworkAclAssociation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected SubnetNetworkAclAssociation(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
SubnetNetworkAclAssociation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected SubnetNetworkAclAssociation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
SubnetNetworkAclAssociation(Construct, String, ISubnetNetworkAclAssociationProps)
public SubnetNetworkAclAssociation(Construct scope, string id, ISubnetNetworkAclAssociationProps props)
Parameters
- scope Constructs.
Construct - id System.
String - props ISubnet
Network Acl Association Props
Properties
NetworkAcl
ID for the current Network ACL.
public virtual INetworkAcl NetworkAcl { get; }
Property Value
Remarks
Attribute: true
Subnet
ID of the Subnet.
public virtual ISubnet Subnet { get; }
Property Value
Remarks
Attribute: true
SubnetNetworkAclAssociationAssociationId
ID for the current SubnetNetworkAclAssociation.
public virtual string SubnetNetworkAclAssociationAssociationId { get; }
Property Value
System.
Remarks
Attribute: true
Methods
FromSubnetNetworkAclAssociationAssociationId(Construct, String, String)
public static ISubnetNetworkAclAssociation FromSubnetNetworkAclAssociationAssociationId(Construct scope, string id, string subnetNetworkAclAssociationAssociationId)
Parameters
- scope Constructs.
Construct - id System.
String - subnetNetworkAclAssociationAssociationId System.
String
Returns