Interface SubnetNetworkAclAssociationProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
SubnetNetworkAclAssociationProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:28.979Z") @Stability(Stable) public interface SubnetNetworkAclAssociationProps extends software.amazon.jsii.JsiiSerializable
Properties to create a SubnetNetworkAclAssociation.

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;
 SubnetNetworkAclAssociationProps subnetNetworkAclAssociationProps = SubnetNetworkAclAssociationProps.builder()
         .networkAcl(networkAcl)
         .subnet(subnet)
         // the properties below are optional
         .subnetNetworkAclAssociationName("subnetNetworkAclAssociationName")
         .build();
 
  • Method Details

    • getNetworkAcl

      @Stability(Stable) @NotNull INetworkAcl getNetworkAcl()
      The Network ACL this association is defined for.
    • getSubnet

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

      @Stability(Stable) @Nullable default String getSubnetNetworkAclAssociationName()
      The name of the SubnetNetworkAclAssociation.

      It is not recommended to use an explicit name.

      Default: If you don't specify a SubnetNetworkAclAssociationName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.

    • builder

      @Stability(Stable) static SubnetNetworkAclAssociationProps.Builder builder()
      Returns:
      a SubnetNetworkAclAssociationProps.Builder of SubnetNetworkAclAssociationProps