AWS Fundamentals Logo
AWS Fundamentals
AWS::M2::Deployment

M2 Deployment

Represents a deployment resource of an AWS Mainframe Modernization (M2) application to a specified environment

Properties

3 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
ApplicationId
string
RequiredCreate-only
ApplicationVersion
integer
Required
EnvironmentId
string
RequiredCreate-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
DeploymentIdstringThe deployment ID.
StatusstringThe status of the deployment.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
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: 1

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

m2:CreateDeploymentm2:ListDeploymentsm2:GetDeploymentiam:PassRoleec2:DescribeNetworkInterfaceselasticloadbalancing:CreateListenerelasticloadbalancing:CreateLoadBalancerelasticloadbalancing:CreateTargetGroup

read

m2:ListDeploymentsm2:GetDeployment

update

m2:CreateDeploymentm2:ListDeploymentsm2:GetDeploymentelasticloadbalancing:CreateListenerelasticloadbalancing:CreateLoadBalancerelasticloadbalancing:CreateTargetGroupelasticloadbalancing:DeleteListenerelasticloadbalancing:DeleteTargetGroup

delete

elasticloadbalancing:DeleteListenerelasticloadbalancing:DeleteTargetGroupelasticloadbalancing:DeregisterTargetselasticloadbalancing:DeleteLoadBalancerlogs:DeleteLogDeliverym2:ListDeploymentsm2:GetDeploymentm2:DeleteApplicationFromEnvironment

list

m2:ListDeployments

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceM2
Properties5
Required3
TaggingNot supported
Primary IDApplicationId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

EnvironmentIdApplicationId

Related Resources

External Links