# CfnAppBlockProps

Properties for defining a `CfnAppBlock`.

Extends: CfnAppBlockProps
Used as props by: CfnAppBlock

- Source: Generated code
- Type last changed: v2.87.0 · 6 Jul 2023

## 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 cfnAppBlockProps: appstream.CfnAppBlockProps = {
  name: 'name',
  sourceS3Location: {
    s3Bucket: 's3Bucket',

    // the properties below are optional
    s3Key: 's3Key',
  },

  // the properties below are optional
  description: 'description',
  displayName: 'displayName',
  packagingType: 'packagingType',
  postSetupScriptDetails: {
    executablePath: 'executablePath',
    scriptS3Location: {
      s3Bucket: 's3Bucket',

      // the properties below are optional
      s3Key: 's3Key',
    },
    timeoutInSeconds: 123,

    // the properties below are optional
    executableParameters: 'executableParameters',
  },
  setupScriptDetails: {
    executablePath: 'executablePath',
    scriptS3Location: {
      s3Bucket: 's3Bucket',

      // the properties below are optional
      s3Key: 's3Key',
    },
    timeoutInSeconds: 123,

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

## Properties

- `description`: string — The description of the app block.

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

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

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

- `packagingType`: string — The packaging type of the app block.

- `postSetupScriptDetails`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAppBlock.ScriptDetailsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlock.ScriptDetailsProperty.html) — The post setup script details of the app block.

- `setupScriptDetails`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAppBlock.ScriptDetailsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlock.ScriptDetailsProperty.html) — The setup script details of the app block.

- `sourceS3Location`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAppBlock.S3LocationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_appstream.CfnAppBlock.S3LocationProperty.html) (required) — The source S3 location of the app block.

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