AWS::M2 Construct Library
This module is part of the AWS Cloud Development Kit project.
ts
import * as m2 from 'aws-cdk-lib/aws-m2';
python
import aws_cdk.aws_m2 as m2
java
import software.amazon.awscdk.services.m2.*;
csharp
using Amazon.CDK.AWS.M2;
go
import m2 "github.com/aws/aws-cdk-go/awscdk"
There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:
- Search Construct Hub for M2 construct libraries
- Use the automatically generated L1 constructs, in the same way you would use the CloudFormation AWS::M2 resources directly.
There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.
For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::M2.
(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)
Types
Constructs (L1)
CfnApplicationConstruct (L1)
Specifies a new application with given parameters. Requires an existing runtime environment and application definition file.CfnDeploymentConstruct (L1)
> AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.CfnEnvironmentConstruct (L1)
Specifies a runtime environment for a given runtime engine.
Structs
CfnApplication.StructDefinitionProperty
The application definition for a particular application.CfnApplicationPropsStruct
Properties for defining aCfnApplication.CfnDeploymentPropsStruct
Properties for defining aCfnDeployment.CfnEnvironment.StructEfsStorageConfigurationProperty
> AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.CfnEnvironment.StructFsxStorageConfigurationProperty
> AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.CfnEnvironment.StructHighAvailabilityConfigProperty
> AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.CfnEnvironment.StructStorageConfigurationProperty
> AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.CfnEnvironmentPropsStruct
Properties for defining aCfnEnvironment.