CfnApplicationProps

class aws_cdk.aws_m2.CfnApplicationProps(*, definition, engine_type, name, description=None, kms_key_id=None, role_arn=None, tags=None)

Bases: object

Properties for defining a CfnApplication.

Parameters:
  • definition (Union[DefinitionProperty, Dict[str, Any], IResolvable]) – 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 .

  • engine_type (str) – The type of the target platform for this application.

  • name (str) – The name of the application.

  • description (Optional[str]) – The description of the application.

  • kms_key_id (Optional[str]) – The identifier of a customer managed key.

  • role_arn (Optional[str]) – AWS::M2::Application.RoleArn.

  • tags (Optional[Mapping[str, str]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_m2 as m2

cfn_application_props = m2.CfnApplicationProps(
    definition=m2.CfnApplication.DefinitionProperty(
        content="content",
        s3_location="s3Location"
    ),
    engine_type="engineType",
    name="name",

    # the properties below are optional
    description="description",
    kms_key_id="kmsKeyId",
    role_arn="roleArn",
    tags={
        "tags_key": "tags"
    }
)

Attributes

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 .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-definition

description

The description of the application.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-description

engine_type

The type of the target platform for this application.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-enginetype

kms_key_id

The identifier of a customer managed key.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-kmskeyid

name

The name of the application.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-name

role_arn

AWS::M2::Application.RoleArn.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-rolearn

tags

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

For more information, see Tag .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-m2-application.html#cfn-m2-application-tags