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
SubnetNetworkAclAssociation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
SubnetNetworkAclAssociation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
SubnetNetworkAclAssociation(Construct, String, ISubnetNetworkAclAssociationProps) |
Properties
NetworkAcl | ID for the current Network ACL. |
Subnet | ID of the Subnet. |
SubnetNetworkAclAssociationAssociationId | ID for the current SubnetNetworkAclAssociation. |
Methods
FromSubnetNetworkAclAssociationAssociationId(Construct, String, String) |
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.ByRefValue
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.DeputyBase.DeputyProps
The deputy props
SubnetNetworkAclAssociation(Construct, String, ISubnetNetworkAclAssociationProps)
public SubnetNetworkAclAssociation(Construct scope, string id, ISubnetNetworkAclAssociationProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props ISubnetNetworkAclAssociationProps
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.String
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
Implements
Constructs.IConstruct
Constructs.IDependable