AppBlock
Describes an app block.
App blocks are an Amazon AppStream 2.0 resource that stores the details about the virtual hard disk in an S3 bucket. It also stores the setup script with details about how to mount the virtual hard disk. The virtual hard disk includes the application binaries and other files necessary to launch your applications. Multiple applications can be assigned to a single app block.
This is only supported for Elastic fleets.
Contents
- Arn
-
The ARN of the app block.
Type: String
Pattern:
^arn:aws(?:\-cn|\-iso\-b|\-iso|\-us\-gov)?:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.\\-]{0,1023}$
Required: Yes
- Name
-
The name of the app block.
Type: String
Length Constraints: Minimum length of 1.
Required: Yes
- AppBlockErrors
-
The errors of the app block.
Type: Array of ErrorDetails objects
Required: No
- CreatedTime
-
The created time of the app block.
Type: Timestamp
Required: No
- Description
-
The description of the app block.
Type: String
Length Constraints: Minimum length of 1.
Required: No
- DisplayName
-
The display name of the app block.
Type: String
Length Constraints: Minimum length of 1.
Required: No
- PackagingType
-
The packaging type of the app block.
Type: String
Valid Values:
CUSTOM | APPSTREAM2
Required: No
- PostSetupScriptDetails
-
The post setup script details of the app block.
This only applies to app blocks with PackagingType
APPSTREAM2
.Type: ScriptDetails object
Required: No
- SetupScriptDetails
-
The setup script details of the app block.
This only applies to app blocks with PackagingType
CUSTOM
.Type: ScriptDetails object
Required: No
- SourceS3Location
-
The source S3 location of the app block.
Type: S3Location object
Required: No
- State
-
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 becomesACTIVE
.Custom app blocks are always in the
ACTIVE
state and no action is required to use them.Type: String
Valid Values:
INACTIVE | ACTIVE
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: