Interface INetworkAcl
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,INetworkAclRef,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
INetworkAcl.Jsii$Default
- All Known Implementing Classes:
INetworkAcl.Jsii$Proxy,NetworkAcl
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:35.293Z")
@Stability(Stable)
public interface INetworkAcl
extends software.amazon.jsii.JsiiSerializable, IResource, INetworkAclRef
A NetworkAcl.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forINetworkAcl.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionaddEntry(String id, CommonNetworkAclEntryOptions options) Add a new entry to the ACL.getEnv()The environment this resource belongs to.ID for the current Network ACL.software.constructs.NodegetNode()The tree node.Methods inherited from interface software.amazon.awscdk.interfaces.ec2.INetworkAclRef
getNetworkAclRefMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNetworkAclId
ID for the current Network ACL. -
addEntry
@Stability(Stable) @NotNull NetworkAclEntry addEntry(@NotNull String id, @NotNull CommonNetworkAclEntryOptions options) Add a new entry to the ACL.- Parameters:
id- This parameter is required.options- This parameter is required.
-
getNode
@Stability(Stable) @NotNull software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct
-
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware
-