AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::M2::Application

CfnApplication

Specifies a new application with given parameters. Requires an existing runtime environment and application definition file. For information about application definitions, see the [AWS Mainframe Modernization User Guide](https://docs.aws.amazon.com/m2/latest/userguide/applications-m2-definition.html) .

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnApplicationProps.

engineTypeRequired
string

The type of the target platform for this application.

nameRequired
string

The name of the application.

definitionOptional
IResolvable | DefinitionProperty

The application definition for a particular application. You can specify either inline JSON or an Amazon S3 bucket location. For information about application definitions, see the [AWS Mainframe Modernization User Guide](https://docs.aws.amazon.com/m2/latest/userguide/applications-m2-definition.html) .

descriptionOptional
string

The description of the application.

kmsKeyIdOptional
string

The identifier of a customer managed key.

roleArnOptional
string

The Amazon Resource Name (ARN) of the role associated with the application.

tagsOptional
{ [key: string]: string }

An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .

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::Application
Properties7

Related Constructs

External Links