AWS::EC2::SubnetCidrReservationResource Type definition for a CIDR range reserved inside an Amazon EC2 subnet.
5 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Cidr | string | RequiredCreate-only |
ReservationType | string | RequiredCreate-only |
SubnetId | string | RequiredCreate-only |
Description | string | Create-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of the subnet CIDR reservation. |
OwnerId | string | The identifier of the AWS account that owns the subnet CIDR reservation. |
SubnetCidrReservationId | string | The identifier of the subnet CIDR reservation. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::SubnetCidrReservation
Resources:
MyResource:
Type: AWS::EC2::SubnetCidrReservation
Properties:
SubnetId: "my-subnetid"
Cidr: "my-cidr"
ReservationType: "prefix"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
ec2:CreateSubnetCidrReservationec2:CreateTagsec2:GetSubnetCidrReservationsec2:DescribeTagsec2:CreateTagsec2:DeleteTagsec2:DescribeTagsec2:GetSubnetCidrReservationsec2:DeleteSubnetCidrReservationec2:DescribeTagsec2:GetSubnetCidrReservationsec2:GetSubnetCidrReservationsEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicSubnetIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
SubnetIdCidrReservationTypeDescription