AWS::AppStream::AppBlock
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.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::AppStream::AppBlock", "Properties" : { "Description" :String, "DisplayName" :String, "Name" :String, "SetupScriptDetails" :ScriptDetails, "SourceS3Location" :S3Location, "Tags" :[ Tag, ... ]} }
YAML
Type: AWS::AppStream::AppBlock Properties: Description:StringDisplayName:StringName:StringSetupScriptDetails:ScriptDetailsSourceS3Location:S3LocationTags:- Tag
Properties
DescriptionThe description of the app block.
Required: No
Type: String
Minimum:
1Update requires: Replacement
DisplayNameThe display name of the app block.
Required: No
Type: String
Minimum:
1Update requires: Replacement
NameThe name of the app block.
Pattern:
^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,100}$Required: Yes
Type: String
Minimum:
1Update requires: Replacement
SetupScriptDetailsThe setup script details of the app block.
Required: Yes
Type: ScriptDetails
Update requires: Replacement
SourceS3LocationThe source S3 location of the app block.
Required: Yes
Type: S3Location
Update requires: Replacement
TagsThe tags of the app block.
Required: No
Type: List of Tag
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref function,
Ref returns the Arn of the app block, such as
arn:aws:appstream:us-west-2:123456789123:app-block/abcdefg.
For more information about using the Ref function, see Ref.
Fn::GetAtt
The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.