interface SubnetNetworkAclAssociationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EC2.SubnetNetworkAclAssociationProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#SubnetNetworkAclAssociationProps |
![]() | software.amazon.awscdk.services.ec2.SubnetNetworkAclAssociationProps |
![]() | aws_cdk.aws_ec2.SubnetNetworkAclAssociationProps |
![]() | aws-cdk-lib » aws_ec2 » SubnetNetworkAclAssociationProps |
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 { aws_ec2 as ec2 } from 'aws-cdk-lib';
declare const networkAcl: ec2.NetworkAcl;
declare const subnet: ec2.Subnet;
const subnetNetworkAclAssociationProps: ec2.SubnetNetworkAclAssociationProps = {
networkAcl: networkAcl,
subnet: subnet,
// the properties below are optional
subnetNetworkAclAssociationName: 'subnetNetworkAclAssociationName',
};
Properties
Name | Type | Description |
---|---|---|
network | INetwork | The Network ACL this association is defined for. |
subnet | ISubnet | ID of the Subnet. |
subnet | string | The name of the SubnetNetworkAclAssociation. |
networkAcl
Type:
INetwork
The Network ACL this association is defined for.
subnet
Type:
ISubnet
ID of the Subnet.
subnetNetworkAclAssociationName?
Type:
string
(optional, default: If you don't specify a SubnetNetworkAclAssociationName, AWS CloudFormation generates a
unique physical ID and uses that ID for the group name.)
The name of the SubnetNetworkAclAssociation.
It is not recommended to use an explicit name.