Show / Hide Table of Contents

Class SubnetNetworkAclAssociation

Inheritance
object
Resource
SubnetNetworkAclAssociation
Implements
ISubnetNetworkAclAssociation
IResource
IConstruct
IDependable
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SubnetNetworkAclAssociation : Resource, ISubnetNetworkAclAssociation, IResource, IConstruct, IDependable
Syntax (vb)
Public Class SubnetNetworkAclAssociation Inherits Resource Implements ISubnetNetworkAclAssociation, IResource, IConstruct, IDependable
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(Construct, string, ISubnetNetworkAclAssociationProps)

Properties

NetworkAcl

ID for the current Network ACL.

PROPERTY_INJECTION_ID

Uniquely identifies this class.

Subnet

ID of the Subnet.

SubnetNetworkAclAssociationAssociationId

ID for the current SubnetNetworkAclAssociation.

Methods

FromSubnetNetworkAclAssociationAssociationId(Construct, string, string)

Constructors

SubnetNetworkAclAssociation(Construct, string, ISubnetNetworkAclAssociationProps)

public SubnetNetworkAclAssociation(Construct scope, string id, ISubnetNetworkAclAssociationProps props)
Parameters
scope Construct
id string
props 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 subnetNetworkAclAssociation = new SubnetNetworkAclAssociation(this, "MySubnetNetworkAclAssociation", new SubnetNetworkAclAssociationProps {
                NetworkAcl = networkAcl,
                Subnet = subnet,

                // the properties below are optional
                SubnetNetworkAclAssociationName = "subnetNetworkAclAssociationName"
            });

Properties

NetworkAcl

ID for the current Network ACL.

public virtual INetworkAcl NetworkAcl { get; }
Property Value

INetworkAcl

Remarks

Attribute: true

PROPERTY_INJECTION_ID

Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Subnet

ID of the Subnet.

public virtual ISubnet Subnet { get; }
Property Value

ISubnet

Remarks

Attribute: true

SubnetNetworkAclAssociationAssociationId

ID for the current SubnetNetworkAclAssociation.

public virtual string SubnetNetworkAclAssociationAssociationId { get; }
Property Value

string

Remarks

Attribute: true

Methods

FromSubnetNetworkAclAssociationAssociationId(Construct, string, string)

public static ISubnetNetworkAclAssociation FromSubnetNetworkAclAssociationAssociationId(Construct scope, string id, string subnetNetworkAclAssociationAssociationId)
Parameters
scope Construct
id string
subnetNetworkAclAssociationAssociationId string
Returns

ISubnetNetworkAclAssociation

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"
            });

Implements

ISubnetNetworkAclAssociation
IResource
Constructs.IConstruct
Constructs.IDependable
Back to top Generated by DocFX