Class SubnetNetworkAclAssociationProps
Properties to create a SubnetNetworkAclAssociation.
Inheritance
System.Object
SubnetNetworkAclAssociationProps
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SubnetNetworkAclAssociationProps : Object, ISubnetNetworkAclAssociationProps
Syntax (vb)
Public Class SubnetNetworkAclAssociationProps
Inherits Object
Implements 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
Constructors
SubnetNetworkAclAssociationProps() |
Properties
NetworkAcl | The Network ACL this association is defined for. |
Subnet | ID of the Subnet. |
SubnetNetworkAclAssociationName | The name of the SubnetNetworkAclAssociation. |
Constructors
SubnetNetworkAclAssociationProps()
public SubnetNetworkAclAssociationProps()
Properties
NetworkAcl
The Network ACL this association is defined for.
public INetworkAcl NetworkAcl { get; set; }
Property Value
Remarks
Attribute: true
Subnet
ID of the Subnet.
public ISubnet Subnet { get; set; }
Property Value
Remarks
Attribute: true
SubnetNetworkAclAssociationName
The name of the SubnetNetworkAclAssociation.
public string SubnetNetworkAclAssociationName { get; set; }
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.