# 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_appstream as appstream } from 'aws-cdk-lib';
const cfnApplicationProps: appstream.CfnApplicationProps = {
  appBlockArn: 'appBlockArn',
  iconS3Location: {
    s3Bucket: 's3Bucket',
    s3Key: 's3Key',
  },
  instanceFamilies: ['instanceFamilies'],
  launchPath: 'launchPath',
  name: 'name',
  platforms: ['platforms'],

  // the properties below are optional
  attributesToDelete: ['attributesToDelete'],
  description: 'description',
  displayName: 'displayName',
  launchParameters: 'launchParameters',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  workingDirectory: 'workingDirectory',
};
```

## Properties

- `appBlockArn`: string (required) — The app block ARN with which the application should be associated.

- `attributesToDelete`: string[] — A list of attributes to delete from an application.

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

- `displayName`: string — The display name of the application.

  This name is visible to users in the application catalog.

- `iconS3Location`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnApplication.S3LocationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnApplication.S3LocationProperty.html) (required) — The icon S3 location of the application.

- `instanceFamilies`: string[] (required) — The instance families the application supports.

  *Allowed Values* : `GENERAL_PURPOSE` | `GRAPHICS_G4`

- `launchParameters`: string — The launch parameters of the application.

- `launchPath`: string (required) — The launch path of the application.

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

  This name is visible to users when a name is not specified in the DisplayName property.

  *Pattern* : `^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$`

- `platforms`: string[] (required) — The platforms the application supports.

  *Allowed Values* : `WINDOWS_SERVER_2019` | `AMAZON_LINUX2`

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — The tags of the application.

- `workingDirectory`: string — The working directory of the application.
