View a markdown version of this page

AWS::Lightsail::KeyPair ResourceLocation - AWS CloudFormation

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

AWS::Lightsail::KeyPair ResourceLocation

Describes the resource location.

Syntax

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

JSON

{ "AvailabilityZone" : String, "RegionName" : String }

YAML

AvailabilityZone: String RegionName: String

Properties

AvailabilityZone

The Availability Zone. Follows the format us-east-2a (case-sensitive).

Required: No

Type: String

Update requires: No interruption

RegionName

The AWS Region name.

Required: No

Type: String

Allowed values: us-east-1 | us-east-2 | us-west-1 | us-west-2 | eu-west-1 | eu-west-2 | eu-west-3 | eu-central-1 | eu-north-1 | eu-south-2 | ca-central-1 | ap-east-1 | ap-south-1 | ap-southeast-1 | ap-southeast-2 | ap-northeast-1 | ap-northeast-2 | ap-southeast-3 | ap-southeast-5 | sa-east-1

Update requires: No interruption