View a markdown version of this page

AWS::EC2::SubnetCidrReservation - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::EC2::SubnetCidrReservation

Describes a subnet CIDR reservation.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::EC2::SubnetCidrReservation", "Properties" : { "Cidr" : String, "Description" : String, "ReservationType" : String, "SubnetId" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::EC2::SubnetCidrReservation Properties: Cidr: String Description: String ReservationType: String SubnetId: String Tags: - Tag

Properties

Cidr

The CIDR that has been reserved.

Required: Yes

Type: String

Update requires: Replacement

Description

The description assigned to the subnet CIDR reservation.

Required: No

Type: String

Update requires: Replacement

ReservationType

The type of reservation.

Required: Yes

Type: String

Allowed values: prefix | explicit

Update requires: Replacement

SubnetId

The ID of the subnet.

Required: Yes

Type: String

Update requires: Replacement

Tags

The tags assigned to the subnet CIDR reservation.

Required: No

Type: Array of Tag

Update requires: No interruption

Return values

Ref

Fn::GetAtt

Arn

Property description not available.

OwnerId

The ID of the account that owns the subnet CIDR reservation.

SubnetCidrReservationId

The ID of the subnet CIDR reservation.