AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.AppStream.Model.AppBlock

Namespace: Amazon.AppStream.Model
Assembly: AWSSDK.AppStream.dll
Version: 3.x.y.z

Syntax

C#
public class AppBlock

The AppBlock type exposes the following members

Constructors

NameDescription
Public Method AppBlock()

Properties

NameTypeDescription
Public Property AppBlockErrors System.Collections.Generic.List<Amazon.AppStream.Model.ErrorDetails>

Gets and sets the property AppBlockErrors.

The errors of the app block.

Public Property Arn System.String

Gets and sets the property Arn.

The ARN of the app block.

Public Property CreatedTime System.DateTime

Gets and sets the property CreatedTime.

The created time of the app block.

Public Property Description System.String

Gets and sets the property Description.

The description of the app block.

Public Property DisplayName System.String

Gets and sets the property DisplayName.

The display name of the app block.

Public Property Name System.String

Gets and sets the property Name.

The name of the app block.

Public Property PackagingType Amazon.AppStream.PackagingType

Gets and sets the property PackagingType.

The packaging type of the app block.

Public Property PostSetupScriptDetails Amazon.AppStream.Model.ScriptDetails

Gets and sets the property PostSetupScriptDetails.

The post setup script details of the app block.

This only applies to app blocks with PackagingType APPSTREAM2.

Public Property SetupScriptDetails Amazon.AppStream.Model.ScriptDetails

Gets and sets the property SetupScriptDetails.

The setup script details of the app block.

This only applies to app blocks with PackagingType CUSTOM.

Public Property SourceS3Location Amazon.AppStream.Model.S3Location

Gets and sets the property SourceS3Location.

The source S3 location of the app block.

Public Property State Amazon.AppStream.AppBlockState

Gets and sets the property 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 becomes ACTIVE.

Custom app blocks are always in the ACTIVE state and no action is required to use them.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5