# CfnApplicationProps

Properties for defining a `CfnApplication`.

Extends: CfnApplicationProps
Used as props by: CfnApplication

- Source: Generated code
- Type last changed: v2.166.0 · 7 Nov 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_m2 as m2 } from 'aws-cdk-lib';
const cfnApplicationProps: m2.CfnApplicationProps = {
  engineType: 'engineType',
  name: 'name',

  // the properties below are optional
  definition: {
    content: 'content',
    s3Location: 's3Location',
  },
  description: 'description',
  kmsKeyId: 'kmsKeyId',
  roleArn: 'roleArn',
  tags: {
    tagsKey: 'tags',
  },
};
```

## Properties

- `definition`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplication.DefinitionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_m2.CfnApplication.DefinitionProperty.html) — 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) .

- `description`: string — The description of the application.

- `engineType`: string (required) — The type of the target platform for this application.

- `kmsKeyId`: string — The identifier of a customer managed key.

- `name`: string (required) — The name of the application.

- `roleArn`: string — The Amazon Resource Name (ARN) of the role associated with the application.

- `tags`: { [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) .
