interface SubnetNetworkAclAssociationProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.SubnetNetworkAclAssociationProps |
Java | software.amazon.awscdk.services.ec2.SubnetNetworkAclAssociationProps |
Python | aws_cdk.aws_ec2.SubnetNetworkAclAssociationProps |
TypeScript (source) | @aws-cdk/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 * as ec2 from '@aws-cdk/aws-ec2';
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.