AWS::M2::DeploymentRepresents a deployment resource of an AWS Mainframe Modernization (M2) application to a specified environment
3 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ApplicationId | string | RequiredCreate-only |
ApplicationVersion | integer | Required |
EnvironmentId | string | RequiredCreate-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
DeploymentId | string | The deployment ID. |
Status | string | The status of the deployment. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::M2::Deployment
Resources:
MyResource:
Type: AWS::M2::Deployment
Properties:
EnvironmentId: "my-environmentid"
ApplicationId: "my-applicationid"
ApplicationVersion: 1Permissions CloudFormation needs in your IAM role to manage this resource.
m2:CreateDeploymentm2:ListDeploymentsm2:GetDeploymentiam:PassRoleec2:DescribeNetworkInterfaceselasticloadbalancing:CreateListenerelasticloadbalancing:CreateLoadBalancerelasticloadbalancing:CreateTargetGroupm2:ListDeploymentsm2:GetDeploymentm2:CreateDeploymentm2:ListDeploymentsm2:GetDeploymentelasticloadbalancing:CreateListenerelasticloadbalancing:CreateLoadBalancerelasticloadbalancing:CreateTargetGroupelasticloadbalancing:DeleteListenerelasticloadbalancing:DeleteTargetGroupelasticloadbalancing:DeleteListenerelasticloadbalancing:DeleteTargetGroupelasticloadbalancing:DeregisterTargetselasticloadbalancing:DeleteLoadBalancerlogs:DeleteLogDeliverym2:ListDeploymentsm2:GetDeploymentm2:DeleteApplicationFromEnvironmentm2:ListDeploymentsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterApplicationIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
EnvironmentIdApplicationId