Interface ISubnetNetworkAclAssociationProps
Properties to create a SubnetNetworkAclAssociation.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISubnetNetworkAclAssociationProps
Syntax (vb)
Public Interface ISubnetNetworkAclAssociationProps
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 subnetNetworkAclAssociationProps = new SubnetNetworkAclAssociationProps {
NetworkAcl = networkAcl,
Subnet = subnet,
// the properties below are optional
SubnetNetworkAclAssociationName = "subnetNetworkAclAssociationName"
};
Synopsis
Properties
NetworkAcl | The Network ACL this association is defined for. |
Subnet | ID of the Subnet. |
SubnetNetworkAclAssociationName | The name of the SubnetNetworkAclAssociation. |
Properties
NetworkAcl
The Network ACL this association is defined for.
INetworkAcl NetworkAcl { get; }
Property Value
Remarks
Attribute: true
Subnet
SubnetNetworkAclAssociationName
The name of the SubnetNetworkAclAssociation.
virtual string SubnetNetworkAclAssociationName { get; }
Property Value
System.String
Remarks
It is not recommended to use an explicit name.
Default: If you don't specify a SubnetNetworkAclAssociationName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.