AWS::M2::Application - AWS CloudFormation

AWS::M2::Application

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.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::M2::Application", "Properties" : { "Definition" : Definition, "Description" : String, "EngineType" : String, "KmsKeyId" : String, "Name" : String, "RoleArn" : String, "Tags" : {Key: Value, ...} } }

YAML

Type: AWS::M2::Application Properties: Definition: Definition Description: String EngineType: String KmsKeyId: String Name: String RoleArn: String Tags: Key: Value

Properties

Definition

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.

Required: Yes

Type: Definition

Update requires: No interruption

Description

The description of the application.

Required: No

Type: String

Minimum: 0

Maximum: 500

Update requires: No interruption

EngineType

The type of the target platform for this application.

Required: Yes

Type: String

Allowed values: bluage | microfocus

Update requires: Replacement

KmsKeyId

The identifier of a customer managed key.

Required: No

Type: String

Update requires: Replacement

Name

The name of the application.

Required: Yes

Type: String

Pattern: [A-Za-z0-9][A-Za-z0-9_\-]{1,59}

Update requires: Replacement

RoleArn

Property description not available.

Required: No

Type: String

Update requires: Replacement

Tags

An array of key-value pairs to apply to this resource.

For more information, see Tag.

Required: No

Type: Map of String

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the application Amazon Resource Name (ARN), such as the following:

{ "Ref": “SampleApp” }

Returns a value similar to the following:

arn:aws:m2:us-west-2:1234567890:app/y3ca6bhaife2bcvxar3lpivfou

For more information about using the Reffunction, see Ref.

Fn::GetAtt

The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.

ApplicationArn

The Amazon Resource Name (ARN) of the application.

ApplicationId

The identifier of the application.