AWS::EC2::SubnetNetworkAclAssociationResource Type definition for AWS::EC2::SubnetNetworkAclAssociation
2 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
NetworkAclId | string | RequiredCreate-only |
SubnetId | string | RequiredCreate-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AssociationId | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::SubnetNetworkAclAssociation
Resources:
MyResource:
Type: AWS::EC2::SubnetNetworkAclAssociation
Properties:
NetworkAclId: "my-networkaclid"
SubnetId: "my-subnetid"Permissions CloudFormation needs in your IAM role to manage this resource.
ec2:DescribeNetworkAclsec2:ReplaceNetworkAclAssociationec2:DescribeNetworkAclsec2:DescribeNetworkAclsec2:ReplaceNetworkAclAssociationec2:DescribeNetworkAclsEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicAssociationIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
SubnetIdNetworkAclId