Class SubnetNetworkAclAssociation

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.ec2.SubnetNetworkAclAssociation
All Implemented Interfaces:
IResource, ISubnetNetworkAclAssociation, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:16.137Z") @Stability(Stable) public class SubnetNetworkAclAssociation extends Resource implements ISubnetNetworkAclAssociation
Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 NetworkAcl networkAcl;
 Subnet subnet;
 SubnetNetworkAclAssociation subnetNetworkAclAssociation = SubnetNetworkAclAssociation.Builder.create(this, "MySubnetNetworkAclAssociation")
         .networkAcl(networkAcl)
         .subnet(subnet)
         // the properties below are optional
         .subnetNetworkAclAssociationName("subnetNetworkAclAssociationName")
         .build();
 
  • Constructor Details

    • SubnetNetworkAclAssociation

      protected SubnetNetworkAclAssociation(software.amazon.jsii.JsiiObjectRef objRef)
    • SubnetNetworkAclAssociation

      protected SubnetNetworkAclAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • SubnetNetworkAclAssociation

      @Stability(Stable) public SubnetNetworkAclAssociation(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull SubnetNetworkAclAssociationProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromSubnetNetworkAclAssociationAssociationId

      @Stability(Stable) @NotNull public static ISubnetNetworkAclAssociation fromSubnetNetworkAclAssociationAssociationId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String subnetNetworkAclAssociationAssociationId)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      subnetNetworkAclAssociationAssociationId - This parameter is required.
    • getNetworkAcl

      @Stability(Stable) @NotNull public INetworkAcl getNetworkAcl()
      ID for the current Network ACL.
    • getSubnet

      @Stability(Stable) @NotNull public ISubnet getSubnet()
      ID of the Subnet.
    • getSubnetNetworkAclAssociationAssociationId

      @Stability(Stable) @NotNull public String getSubnetNetworkAclAssociationAssociationId()
      ID for the current SubnetNetworkAclAssociation.
      Specified by:
      getSubnetNetworkAclAssociationAssociationId in interface ISubnetNetworkAclAssociation