Show / Hide Table of Contents

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

INetworkAcl

Remarks

Attribute: true

Subnet

ID of the Subnet.

ISubnet Subnet { get; }
Property Value

ISubnet

Remarks

Attribute: true

SubnetNetworkAclAssociationName

The name of the SubnetNetworkAclAssociation.

string? SubnetNetworkAclAssociationName { get; }
Property Value

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.

Back to top Generated by DocFX