Class CfnStack.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStack>
- Enclosing class:
CfnStack
CfnStack
.-
Method Summary
Modifier and TypeMethodDescriptionaccessEndpoints
(List<? extends Object> accessEndpoints) The list of virtual private cloud (VPC) interface endpoint objects.accessEndpoints
(IResolvable accessEndpoints) The list of virtual private cloud (VPC) interface endpoint objects.applicationSettings
(IResolvable applicationSettings) The persistent application settings for users of the stack.applicationSettings
(CfnStack.ApplicationSettingsProperty applicationSettings) The persistent application settings for users of the stack.attributesToDelete
(List<String> attributesToDelete) The stack attributes to delete.build()
static CfnStack.Builder
deleteStorageConnectors
(Boolean deleteStorageConnectors) This parameter has been deprecated..deleteStorageConnectors
(IResolvable deleteStorageConnectors) This parameter has been deprecated..description
(String description) The description to display.displayName
(String displayName) The stack name to display.embedHostDomains
(List<String> embedHostDomains) The domains where AppStream 2.0 streaming sessions can be embedded in an iframe.feedbackUrl
(String feedbackUrl) The URL that users are redirected to after they click the Send Feedback link.The name of the stack.redirectUrl
(String redirectUrl) The URL that users are redirected to after their streaming session ends.storageConnectors
(List<? extends Object> storageConnectors) The storage connectors to enable.storageConnectors
(IResolvable storageConnectors) The storage connectors to enable.streamingExperienceSettings
(IResolvable streamingExperienceSettings) The streaming protocol that you want your stack to prefer.streamingExperienceSettings
(CfnStack.StreamingExperienceSettingsProperty streamingExperienceSettings) The streaming protocol that you want your stack to prefer.An array of key-value pairs.userSettings
(List<? extends Object> userSettings) The actions that are enabled or disabled for users during their streaming sessions.userSettings
(IResolvable userSettings) The actions that are enabled or disabled for users during their streaming sessions.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnStack.Builder
.
-
accessEndpoints
The list of virtual private cloud (VPC) interface endpoint objects.Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
- Parameters:
accessEndpoints
- The list of virtual private cloud (VPC) interface endpoint objects. This parameter is required.- Returns:
this
-
accessEndpoints
The list of virtual private cloud (VPC) interface endpoint objects.Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
- Parameters:
accessEndpoints
- The list of virtual private cloud (VPC) interface endpoint objects. This parameter is required.- Returns:
this
-
applicationSettings
The persistent application settings for users of the stack.When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session.
- Parameters:
applicationSettings
- The persistent application settings for users of the stack. This parameter is required.- Returns:
this
-
applicationSettings
@Stability(Stable) public CfnStack.Builder applicationSettings(CfnStack.ApplicationSettingsProperty applicationSettings) The persistent application settings for users of the stack.When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session.
- Parameters:
applicationSettings
- The persistent application settings for users of the stack. This parameter is required.- Returns:
this
-
attributesToDelete
The stack attributes to delete.- Parameters:
attributesToDelete
- The stack attributes to delete. This parameter is required.- Returns:
this
-
deleteStorageConnectors
This parameter has been deprecated..Deletes the storage connectors currently enabled for the stack.
- Parameters:
deleteStorageConnectors
- This parameter has been deprecated.. This parameter is required.- Returns:
this
-
deleteStorageConnectors
@Stability(Stable) public CfnStack.Builder deleteStorageConnectors(IResolvable deleteStorageConnectors) This parameter has been deprecated..Deletes the storage connectors currently enabled for the stack.
- Parameters:
deleteStorageConnectors
- This parameter has been deprecated.. This parameter is required.- Returns:
this
-
description
The description to display.- Parameters:
description
- The description to display. This parameter is required.- Returns:
this
-
displayName
The stack name to display.- Parameters:
displayName
- The stack name to display. This parameter is required.- Returns:
this
-
embedHostDomains
The 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.- Parameters:
embedHostDomains
- The 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. This parameter is required.- Returns:
this
-
feedbackUrl
The URL that users are redirected to after they click the Send Feedback link.If no URL is specified, no Send Feedback link is displayed.
- Parameters:
feedbackUrl
- The URL that users are redirected to after they click the Send Feedback link. This parameter is required.- Returns:
this
-
name
The name of the stack.- Parameters:
name
- The name of the stack. This parameter is required.- Returns:
this
-
redirectUrl
The URL that users are redirected to after their streaming session ends.- Parameters:
redirectUrl
- The URL that users are redirected to after their streaming session ends. This parameter is required.- Returns:
this
-
storageConnectors
The storage connectors to enable.- Parameters:
storageConnectors
- The storage connectors to enable. This parameter is required.- Returns:
this
-
storageConnectors
@Stability(Stable) public CfnStack.Builder storageConnectors(List<? extends Object> storageConnectors) The storage connectors to enable.- Parameters:
storageConnectors
- The storage connectors to enable. This parameter is required.- Returns:
this
-
streamingExperienceSettings
@Stability(Stable) public CfnStack.Builder streamingExperienceSettings(IResolvable streamingExperienceSettings) The streaming protocol that you want your stack to prefer.This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.
- Parameters:
streamingExperienceSettings
- The streaming protocol that you want your stack to prefer. This parameter is required.- Returns:
this
-
streamingExperienceSettings
@Stability(Stable) public CfnStack.Builder streamingExperienceSettings(CfnStack.StreamingExperienceSettingsProperty streamingExperienceSettings) The streaming protocol that you want your stack to prefer.This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.
- Parameters:
streamingExperienceSettings
- The streaming protocol that you want your stack to prefer. This parameter is required.- Returns:
this
-
tags
An array of key-value pairs.- Parameters:
tags
- An array of key-value pairs. This parameter is required.- Returns:
this
-
userSettings
The actions that are enabled or disabled for users during their streaming sessions.By default, these actions are enabled.
- Parameters:
userSettings
- The actions that are enabled or disabled for users during their streaming sessions. This parameter is required.- Returns:
this
-
userSettings
The actions that are enabled or disabled for users during their streaming sessions.By default, these actions are enabled.
- Parameters:
userSettings
- The actions that are enabled or disabled for users during their streaming sessions. This parameter is required.- Returns:
this
-
build
-