This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::M2::Deployment
Important
AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025. If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change.
Creates and starts a deployment to deploy an application into a runtime environment.
Syntax
To declare this entity in your AWS 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.