# CfnApplicationProps

Properties for defining a `CfnApplication`.

Extends: CfnApplicationProps
Used as props by: CfnApplication

- Source: Generated code

## Example

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

  // the properties below are optional
  applicationDescription: 'applicationDescription',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `applicationDescription`: string — An optional description of the web application.

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

- `roleArn`: string (required) — The ARN of the role that the web application assumes when it interacts with AWS IoT Core .

  > The name of the role must be in the form `FleetHub_random_string` .

  Pattern: `^arn:[!-~]+$`

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — A set of key/value pairs that you can use to manage the web application resource.
