Class SubnetNetworkAclAssociation

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.539Z") @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