Class CfnStack
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
AWS::AppStream::Stack
.
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appstream.*; CfnStack cfnStack = CfnStack.Builder.create(this, "MyCfnStack") .accessEndpoints(List.of(AccessEndpointProperty.builder() .endpointType("endpointType") .vpceId("vpceId") .build())) .applicationSettings(ApplicationSettingsProperty.builder() .enabled(false) // the properties below are optional .settingsGroup("settingsGroup") .build()) .attributesToDelete(List.of("attributesToDelete")) .deleteStorageConnectors(false) .description("description") .displayName("displayName") .embedHostDomains(List.of("embedHostDomains")) .feedbackUrl("feedbackUrl") .name("name") .redirectUrl("redirectUrl") .storageConnectors(List.of(StorageConnectorProperty.builder() .connectorType("connectorType") // the properties below are optional .domains(List.of("domains")) .resourceIdentifier("resourceIdentifier") .build())) .streamingExperienceSettings(StreamingExperienceSettingsProperty.builder() .preferredProtocol("preferredProtocol") .build()) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .userSettings(List.of(UserSettingProperty.builder() .action("action") .permission("permission") .build())) .build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Describes an interface VPC endpoint (interface endpoint) that lets you create a private connection between the virtual private cloud (VPC) that you specify and AppStream 2.0.static interface
The persistent application settings for users of a stack.static final class
A fluent builder forCfnStack
.static interface
A connector that enables persistent storage for users.static interface
The streaming protocol that you want your stack to prefer.static interface
Specifies an action and whether the action is enabled or disabled for users during their streaming sessions.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a newAWS::AppStream::Stack
.CfnStack
(Construct scope, String id, CfnStackProps props) Create a newAWS::AppStream::Stack
.protected
CfnStack
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnStack
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe list of virtual private cloud (VPC) interface endpoint objects.The persistent application settings for users of the stack.The stack attributes to delete.This parameter has been deprecated..The description to display.The stack name to display.The domains where AppStream 2.0 streaming sessions can be embedded in an iframe.The URL that users are redirected to after they click the Send Feedback link.getName()
The name of the stack.The URL that users are redirected to after their streaming session ends.The storage connectors to enable.The streaming protocol that you want your stack to prefer.getTags()
An array of key-value pairs.The actions that are enabled or disabled for users during their streaming sessions.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAccessEndpoints
(List<Object> value) The list of virtual private cloud (VPC) interface endpoint objects.void
setAccessEndpoints
(IResolvable value) The list of virtual private cloud (VPC) interface endpoint objects.void
The persistent application settings for users of the stack.void
The persistent application settings for users of the stack.void
setAttributesToDelete
(List<String> value) The stack attributes to delete.void
This parameter has been deprecated..void
This parameter has been deprecated..void
setDescription
(String value) The description to display.void
setDisplayName
(String value) The stack name to display.void
setEmbedHostDomains
(List<String> value) The domains where AppStream 2.0 streaming sessions can be embedded in an iframe.void
setFeedbackUrl
(String value) The URL that users are redirected to after they click the Send Feedback link.void
The name of the stack.void
setRedirectUrl
(String value) The URL that users are redirected to after their streaming session ends.void
setStorageConnectors
(List<Object> value) The storage connectors to enable.void
setStorageConnectors
(IResolvable value) The storage connectors to enable.void
The streaming protocol that you want your stack to prefer.void
The streaming protocol that you want your stack to prefer.void
setUserSettings
(List<Object> value) The actions that are enabled or disabled for users during their streaming sessions.void
setUserSettings
(IResolvable value) The actions that are enabled or disabled for users during their streaming sessions.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnStack
protected CfnStack(software.amazon.jsii.JsiiObjectRef objRef) -
CfnStack
protected CfnStack(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnStack
@Stability(Stable) public CfnStack(@NotNull Construct scope, @NotNull String id, @Nullable CfnStackProps props) Create a newAWS::AppStream::Stack
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
CfnStack
Create a newAWS::AppStream::Stack
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
An array of key-value pairs. -
getAccessEndpoints
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.
-
setAccessEndpoints
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.
-
setAccessEndpoints
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.
-
getApplicationSettings
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.
-
setApplicationSettings
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.
-
setApplicationSettings
@Stability(Stable) public void setApplicationSettings(@Nullable CfnStack.ApplicationSettingsProperty value) 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.
-
getAttributesToDelete
The stack attributes to delete. -
setAttributesToDelete
The stack attributes to delete. -
getDeleteStorageConnectors
This parameter has been deprecated..Deletes the storage connectors currently enabled for the stack.
-
setDeleteStorageConnectors
This parameter has been deprecated..Deletes the storage connectors currently enabled for the stack.
-
setDeleteStorageConnectors
This parameter has been deprecated..Deletes the storage connectors currently enabled for the stack.
-
getDescription
The description to display. -
setDescription
The description to display. -
getDisplayName
The stack name to display. -
setDisplayName
The stack name to display. -
getEmbedHostDomains
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. -
setEmbedHostDomains
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. -
getFeedbackUrl
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.
-
setFeedbackUrl
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.
-
getName
The name of the stack. -
setName
The name of the stack. -
getRedirectUrl
The URL that users are redirected to after their streaming session ends. -
setRedirectUrl
The URL that users are redirected to after their streaming session ends. -
getStorageConnectors
The storage connectors to enable. -
setStorageConnectors
The storage connectors to enable. -
setStorageConnectors
The storage connectors to enable. -
getStreamingExperienceSettings
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.
-
setStreamingExperienceSettings
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.
-
setStreamingExperienceSettings
@Stability(Stable) public void setStreamingExperienceSettings(@Nullable CfnStack.StreamingExperienceSettingsProperty value) 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.
-
getUserSettings
The actions that are enabled or disabled for users during their streaming sessions.By default, these actions are enabled.
-
setUserSettings
The actions that are enabled or disabled for users during their streaming sessions.By default, these actions are enabled.
-
setUserSettings
The actions that are enabled or disabled for users during their streaming sessions.By default, these actions are enabled.
-