Show / Hide Table of Contents

Class NetworkAcl

(experimental) Define a new custom network ACL.

Inheritance
System.Object
Construct
Resource
NetworkAcl
Implements
INetworkAcl
IResource
IConstruct
Constructs.IConstruct
IDependable
Inherited Members
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(String, IArnComponents)
Resource.GetResourceNameAttribute(String)
Resource.Env
Resource.PhysicalName
Resource.Stack
Construct.IsConstruct(Object)
Construct.OnPrepare()
Construct.OnSynthesize(ISynthesisSession)
Construct.OnValidate()
Construct.Prepare()
Construct.Synthesize(ISynthesisSession)
Construct.Validate()
Construct.Node
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class NetworkAcl : Resource, INetworkAcl, IResource, IConstruct, IConstruct, IDependable
Syntax (vb)
Public Class NetworkAcl
    Inherits Resource
    Implements INetworkAcl, IResource, IConstruct, IConstruct, IDependable
Remarks

By default, will deny all inbound and outbound traffic unless entries are added explicitly allowing it.

Stability: Experimental

Synopsis

Constructors

NetworkAcl(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

NetworkAcl(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

NetworkAcl(Construct, String, INetworkAclProps)

Properties

NetworkAclId

(experimental) The ID of the NetworkACL.

NetworkAclVpcId

(experimental) The VPC ID for this NetworkACL.

Methods

AddEntry(String, ICommonNetworkAclEntryOptions)

(experimental) Add a new entry to the ACL.

AssociateWithSubnet(String, ISubnetSelection)

(experimental) Associate the ACL with a given set of subnets.

FromNetworkAclId(Construct, String, String)

(experimental) Import an existing NetworkAcl into this app.

Constructors

NetworkAcl(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected NetworkAcl(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

NetworkAcl(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected NetworkAcl(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

NetworkAcl(Construct, String, INetworkAclProps)

public NetworkAcl(Construct scope, string id, INetworkAclProps props)
Parameters
scope Constructs.Construct
id System.String
props INetworkAclProps
Remarks

Stability: Experimental

Properties

NetworkAclId

(experimental) The ID of the NetworkACL.

public virtual string NetworkAclId { get; }
Property Value

System.String

Remarks

Stability: Experimental

Attribute: true

NetworkAclVpcId

(experimental) The VPC ID for this NetworkACL.

public virtual string NetworkAclVpcId { get; }
Property Value

System.String

Remarks

Stability: Experimental

Attribute: true

Methods

AddEntry(String, ICommonNetworkAclEntryOptions)

(experimental) Add a new entry to the ACL.

public virtual NetworkAclEntry AddEntry(string id, ICommonNetworkAclEntryOptions options)
Parameters
id System.String
options ICommonNetworkAclEntryOptions
Returns

NetworkAclEntry

Remarks

Stability: Experimental

AssociateWithSubnet(String, ISubnetSelection)

(experimental) Associate the ACL with a given set of subnets.

public virtual void AssociateWithSubnet(string id, ISubnetSelection selection)
Parameters
id System.String
selection ISubnetSelection
Remarks

Stability: Experimental

FromNetworkAclId(Construct, String, String)

(experimental) Import an existing NetworkAcl into this app.

public static INetworkAcl FromNetworkAclId(Construct scope, string id, string networkAclId)
Parameters
scope Constructs.Construct
id System.String
networkAclId System.String
Returns

INetworkAcl

Remarks

Stability: Experimental

Implements

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