AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::AppStream::AppBlock

CfnAppBlock

This resource creates an app block. App blocks store details about the virtual hard disk that contains the files for the application in an S3 bucket. It also stores the setup script with details about how to mount the virtual hard disk. App blocks are only supported for Elastic fleets.

Import

import { CfnAppBlock } from 'aws-cdk-lib/aws-appstream';

Or use the module namespace:

import * as appstream from 'aws-cdk-lib/aws-appstream';
// appstream.CfnAppBlock

Properties

Configuration passed to the constructor as CfnAppBlockProps.

nameRequired
string

The name of the app block. *Pattern* : `^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$`

sourceS3LocationRequired
IResolvable | S3LocationProperty

The source S3 location of the app block.

descriptionOptional
string

The description of the app block.

displayNameOptional
string

The display name of the app block.

packagingTypeOptional
string

The packaging type of the app block.

postSetupScriptDetailsOptional
IResolvable | ScriptDetailsProperty

The post setup script details of the app block.

setupScriptDetailsOptional
IResolvable | ScriptDetailsProperty

The setup script details of the app block.

tagsOptional
CfnTag[]

The tags of the app block.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter