AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::M2::Deployment

CfnDeployment

> 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](https://docs.aws.amazon.com/m2/latest/userguide/mainframe-modernization-availability-change.html) . Creates and starts a deployment to deploy an application into a runtime environment.

Import

import { CfnDeployment } from 'aws-cdk-lib/aws-m2';

Or use the module namespace:

import * as m2 from 'aws-cdk-lib/aws-m2';
// m2.CfnDeployment

Properties

Configuration passed to the constructor as CfnDeploymentProps.

applicationIdRequired
string

The unique identifier of the application.

applicationVersionRequired
number

The version of the application.

environmentIdRequired
string

The unique identifier of the runtime environment.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

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

LevelL1 (CloudFormation)
Moduleaws-m2
CFN TypeAWS::M2::Deployment
Properties3

Related Constructs

External Links