---
title: Getting Started with Datadog
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Infrastructure > Datadog Resource Catalog
---

# aws_appstream_app_block{% #aws_appstream_app_block %}

## `account_id`{% #account_id %}

**Type**: `STRING`

## `app_block_errors`{% #app_block_errors %}

**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `AppBlockErrors`**Description**: The errors of the app block.

- `error_code`**Type**: `STRING`**Provider name**: `ErrorCode`**Description**: The error code.
- `error_message`**Type**: `STRING`**Provider name**: `ErrorMessage`**Description**: The error message.

## `arn`{% #arn %}

**Type**: `STRING`**Provider name**: `Arn`**Description**: The ARN of the app block.

## `created_time`{% #created_time %}

**Type**: `TIMESTAMP`**Provider name**: `CreatedTime`**Description**: The created time of the app block.

## `description`{% #description %}

**Type**: `STRING`**Provider name**: `Description`**Description**: The description of the app block.

## `name`{% #name %}

**Type**: `STRING`**Provider name**: `Name`**Description**: The name of the app block.

## `packaging_type`{% #packaging_type %}

**Type**: `STRING`**Provider name**: `PackagingType`**Description**: The packaging type of the app block.

## `post_setup_script_details`{% #post_setup_script_details %}

**Type**: `STRUCT`**Provider name**: `PostSetupScriptDetails`**Description**: The post setup script details of the app block. This only applies to app blocks with PackagingType `APPSTREAM2`.

- `executable_parameters`**Type**: `STRING`**Provider name**: `ExecutableParameters`**Description**: The runtime parameters passed to the run path for the script.
- `executable_path`**Type**: `STRING`**Provider name**: `ExecutablePath`**Description**: The run path for the script.
- `script_s3_location`**Type**: `STRUCT`**Provider name**: `ScriptS3Location`**Description**: The S3 object location for the script.
  - `s3_bucket`**Type**: `STRING`**Provider name**: `S3Bucket`**Description**: The S3 bucket of the S3 object.
  - `s3_key`**Type**: `STRING`**Provider name**: `S3Key`**Description**: The S3 key of the S3 object. This is required when used for the following:
    - IconS3Location (Actions: CreateApplication and UpdateApplication)
    - SessionScriptS3Location (Actions: CreateFleet and UpdateFleet)
    - ScriptDetails (Actions: CreateAppBlock)
    - SourceS3Location when creating an app block with `CUSTOM` PackagingType (Actions: CreateAppBlock)
    - SourceS3Location when creating an app block with `APPSTREAM2` PackagingType, and using an existing application package (VHD file). In this case, `S3Key` refers to the VHD file. If a new application package is required, then `S3Key` is not required. (Actions: CreateAppBlock)
- `timeout_in_seconds`**Type**: `INT32`**Provider name**: `TimeoutInSeconds`**Description**: The run timeout, in seconds, for the script.

## `setup_script_details`{% #setup_script_details %}

**Type**: `STRUCT`**Provider name**: `SetupScriptDetails`**Description**: The setup script details of the app block. This only applies to app blocks with PackagingType `CUSTOM`.

- `executable_parameters`**Type**: `STRING`**Provider name**: `ExecutableParameters`**Description**: The runtime parameters passed to the run path for the script.
- `executable_path`**Type**: `STRING`**Provider name**: `ExecutablePath`**Description**: The run path for the script.
- `script_s3_location`**Type**: `STRUCT`**Provider name**: `ScriptS3Location`**Description**: The S3 object location for the script.
  - `s3_bucket`**Type**: `STRING`**Provider name**: `S3Bucket`**Description**: The S3 bucket of the S3 object.
  - `s3_key`**Type**: `STRING`**Provider name**: `S3Key`**Description**: The S3 key of the S3 object. This is required when used for the following:
    - IconS3Location (Actions: CreateApplication and UpdateApplication)
    - SessionScriptS3Location (Actions: CreateFleet and UpdateFleet)
    - ScriptDetails (Actions: CreateAppBlock)
    - SourceS3Location when creating an app block with `CUSTOM` PackagingType (Actions: CreateAppBlock)
    - SourceS3Location when creating an app block with `APPSTREAM2` PackagingType, and using an existing application package (VHD file). In this case, `S3Key` refers to the VHD file. If a new application package is required, then `S3Key` is not required. (Actions: CreateAppBlock)
- `timeout_in_seconds`**Type**: `INT32`**Provider name**: `TimeoutInSeconds`**Description**: The run timeout, in seconds, for the script.

## `source_s3_location`{% #source_s3_location %}

**Type**: `STRUCT`**Provider name**: `SourceS3Location`**Description**: The source S3 location of the app block.

- `s3_bucket`**Type**: `STRING`**Provider name**: `S3Bucket`**Description**: The S3 bucket of the S3 object.
- `s3_key`**Type**: `STRING`**Provider name**: `S3Key`**Description**: The S3 key of the S3 object. This is required when used for the following:
  - IconS3Location (Actions: CreateApplication and UpdateApplication)
  - SessionScriptS3Location (Actions: CreateFleet and UpdateFleet)
  - ScriptDetails (Actions: CreateAppBlock)
  - SourceS3Location when creating an app block with `CUSTOM` PackagingType (Actions: CreateAppBlock)
  - SourceS3Location when creating an app block with `APPSTREAM2` PackagingType, and using an existing application package (VHD file). In this case, `S3Key` refers to the VHD file. If a new application package is required, then `S3Key` is not required. (Actions: CreateAppBlock)

## `state`{% #state %}

**Type**: `STRING`**Provider name**: `State`**Description**: The state of the app block. An app block with AppStream 2.0 packaging will be in the `INACTIVE` state if no application package (VHD) is assigned to it. After an application package (VHD) is created by an app block builder for an app block, it becomes `ACTIVE`. Custom app blocks are always in the `ACTIVE` state and no action is required to use them.

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`
