AWS::M2::Deployment - 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).

AWS::M2::Deployment

Creates and starts a deployment to deploy an application into a runtime environment.

Syntax

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

JSON

{ "Type" : "AWS::M2::Deployment", "Properties" : { "ApplicationId" : String, "ApplicationVersion" : Integer, "EnvironmentId" : String } }

YAML

Type: AWS::M2::Deployment Properties: ApplicationId: String ApplicationVersion: Integer EnvironmentId: String

Properties

ApplicationId

The unique identifier of the application.

Required: Yes

Type: String

Pattern: ^\S{1,80}$

Update requires: Replacement

ApplicationVersion

The version of the application.

Required: Yes

Type: Integer

Minimum: 1

Update requires: No interruption

EnvironmentId

The unique identifier of the runtime environment.

Required: Yes

Type: String

Pattern: ^\S{1,80}$

Update requires: Replacement

Return values

Ref

Fn::GetAtt

DeploymentId

The unique identifier of the deployment.

Status

The current status of the deployment.