Create App Block
appstream_create_app_block | R Documentation |
Creates an app block¶
Description¶
Creates 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.
Usage¶
appstream_create_app_block(Name, Description, DisplayName,
SourceS3Location, SetupScriptDetails, Tags, PostSetupScriptDetails,
PackagingType)
Arguments¶
Name |
[required] The name of the app block. |
Description |
The description of the app block. |
DisplayName |
The display name of the app block. This is not displayed to the user. |
SourceS3Location |
[required] The source S3 location of the app block. |
SetupScriptDetails |
The setup script details of the app block. This must be provided
for the |
Tags |
The tags assigned to the app block. |
PostSetupScriptDetails |
The post setup script details of the app block. This can only be
provided for the |
PackagingType |
The packaging type of the app block. |
Value¶
A list with the following syntax:
list(
AppBlock = list(
Name = "string",
Arn = "string",
Description = "string",
DisplayName = "string",
SourceS3Location = list(
S3Bucket = "string",
S3Key = "string"
),
SetupScriptDetails = list(
ScriptS3Location = list(
S3Bucket = "string",
S3Key = "string"
),
ExecutablePath = "string",
ExecutableParameters = "string",
TimeoutInSeconds = 123
),
CreatedTime = as.POSIXct(
"2015-01-01"
),
PostSetupScriptDetails = list(
ScriptS3Location = list(
S3Bucket = "string",
S3Key = "string"
),
ExecutablePath = "string",
ExecutableParameters = "string",
TimeoutInSeconds = 123
),
PackagingType = "CUSTOM"|"APPSTREAM2",
State = "INACTIVE"|"ACTIVE",
AppBlockErrors = list(
list(
ErrorCode = "string",
ErrorMessage = "string"
)
)
)
)
Request syntax¶
svc$create_app_block(
Name = "string",
Description = "string",
DisplayName = "string",
SourceS3Location = list(
S3Bucket = "string",
S3Key = "string"
),
SetupScriptDetails = list(
ScriptS3Location = list(
S3Bucket = "string",
S3Key = "string"
),
ExecutablePath = "string",
ExecutableParameters = "string",
TimeoutInSeconds = 123
),
Tags = list(
"string"
),
PostSetupScriptDetails = list(
ScriptS3Location = list(
S3Bucket = "string",
S3Key = "string"
),
ExecutablePath = "string",
ExecutableParameters = "string",
TimeoutInSeconds = 123
),
PackagingType = "CUSTOM"|"APPSTREAM2"
)