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;
            using Amazon.CDK.Interfaces.EC2;

            INetworkAclRef networkAclRef;
            Subnet subnet;

            var subnetNetworkAclAssociationProps = new SubnetNetworkAclAssociationProps {
                NetworkAcl = networkAclRef,
                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.

INetworkAclRef NetworkAcl { get; }
Property Value

INetworkAclRef

Remarks

ExampleMetadata: fixture=_generated

Subnet

ID of the Subnet.

ISubnet Subnet { get; }
Property Value

ISubnet

Remarks

ExampleMetadata: fixture=_generated

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