AWS AppStream 2.0 Stack
This page shows how to write Terraform and CloudFormation for AppStream 2.0 Stack and write them securely.
aws_appstream_stack (Terraform)
The Stack in AppStream 2.0 can be configured in Terraform with the resource name aws_appstream_stack
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
The following arguments are required:
name
- (Required) Unique name for the AppStream stack.
The following arguments are optional:
application_settings
- (Optional) Settings for application settings persistence.description
- (Optional) Description for the AppStream stack.display_name
- (Optional) Stack name to display.embed_host_domains
- (Optional) Domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.feedback_url
- (Optional) URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed. .redirect_url
- (Optional) URL that users are redirected to after their streaming session ends.storage_connectors
- (Optional) Configuration block for the storage connectors to enable. See below.user_settings
- (Optional) Configuration block for the actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled. See below.
storage_connectors
connector_type
- (Required) Type of storage connector. Valid values are:HOMEFOLDERS
,GOOGLE_DRIVE
,ONE_DRIVE
.domains
- (Optional) Names of the domains for the account.resource_identifier
- (Optional) ARN of the storage connector.
user_settings
action
- (Required) Action that is enabled or disabled. Valid values are:CLIPBOARD_COPY_FROM_LOCAL_DEVICE
,CLIPBOARD_COPY_TO_LOCAL_DEVICE
,FILE_UPLOAD
,FILE_DOWNLOAD
,PRINTING_TO_LOCAL_DEVICE
,DOMAIN_PASSWORD_SIGNIN
,DOMAIN_SMART_CARD_SIGNIN
.permission
- (Required) Indicates whether the action is enabled or disabled. Valid values are:ENABLED
,DISABLED
.
In addition to all arguments above, the following attributes are exported:
arn
- ARN of the appstream stack.created_time
- Date and time, in UTC and extended RFC 3339 format, when the stack was created.id
- Unique ID of the appstream stack.
Explanation in Terraform Registry
Provides an AppStream stack.
AWS::AppStream::Stack (CloudFormation)
The Stack in AppStream can be configured in CloudFormation with the resource name AWS::AppStream::Stack
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
Description
optional - String -
StorageConnectors
optional - List of StorageConnector -
DeleteStorageConnectors
optional - Boolean -
EmbedHostDomains
optional - List -
UserSettings
optional - List of UserSetting -
AttributesToDelete
optional - List -
RedirectURL
optional - String -
Name
optional - String -
FeedbackURL
optional - String -
ApplicationSettings
optional - ApplicationSettings -
DisplayName
optional - String -
Tags
optional - List of Tag -
AccessEndpoints
optional - List of AccessEndpoint
Explanation in CloudFormation Registry
The
AWS::AppStream::Stack
resource creates a stack to start streaming applications to Amazon AppStream 2.0 users. A stack consists of an associated fleet, user access policies, and storage configurations.