@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.646Z") @Stability(value=Stable) public class CfnStack extends CfnResource implements IInspectable
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();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnStack.AccessEndpointProperty
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 |
CfnStack.ApplicationSettingsProperty
The persistent application settings for users of a stack.
|
static class |
CfnStack.Builder
A fluent builder for
CfnStack. |
static interface |
CfnStack.StorageConnectorProperty
A connector that enables persistent storage for users.
|
static interface |
CfnStack.StreamingExperienceSettingsProperty
Example:
|
static interface |
CfnStack.UserSettingProperty
Specifies an action and whether the action is enabled or disabled for users during their streaming sessions.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnStack(software.constructs.Construct scope,
String id)
Create a new `AWS::AppStream::Stack`.
|
|
CfnStack(software.constructs.Construct scope,
String id,
CfnStackProps props)
Create a new `AWS::AppStream::Stack`.
|
protected |
CfnStack(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnStack(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAccessEndpoints()
The list of virtual private cloud (VPC) interface endpoint objects.
|
Object |
getApplicationSettings()
The persistent application settings for users of the stack.
|
List<String> |
getAttributesToDelete()
The stack attributes to delete.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getDeleteStorageConnectors()
*This parameter has been deprecated.*.
|
String |
getDescription()
The description to display.
|
String |
getDisplayName()
The stack name to display.
|
List<String> |
getEmbedHostDomains()
The domains where AppStream 2.0 streaming sessions can be embedded in an iframe.
|
String |
getFeedbackUrl()
The URL that users are redirected to after they click the Send Feedback link.
|
String |
getName()
The name of the stack.
|
String |
getRedirectUrl()
The URL that users are redirected to after their streaming session ends.
|
Object |
getStorageConnectors()
The storage connectors to enable.
|
Object |
getStreamingExperienceSettings()
`AWS::AppStream::Stack.StreamingExperienceSettings`.
|
TagManager |
getTags()
An array of key-value pairs.
|
Object |
getUserSettings()
The actions that are enabled or disabled for users during their streaming sessions.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAccessEndpoints(IResolvable value)
The list of virtual private cloud (VPC) interface endpoint objects.
|
void |
setAccessEndpoints(List<Object> value)
The list of virtual private cloud (VPC) interface endpoint objects.
|
void |
setApplicationSettings(CfnStack.ApplicationSettingsProperty value)
The persistent application settings for users of the stack.
|
void |
setApplicationSettings(IResolvable value)
The persistent application settings for users of the stack.
|
void |
setAttributesToDelete(List<String> value)
The stack attributes to delete.
|
void |
setDeleteStorageConnectors(Boolean value)
*This parameter has been deprecated.*.
|
void |
setDeleteStorageConnectors(IResolvable value)
*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 |
setName(String value)
The name of the stack.
|
void |
setRedirectUrl(String value)
The URL that users are redirected to after their streaming session ends.
|
void |
setStorageConnectors(IResolvable value)
The storage connectors to enable.
|
void |
setStorageConnectors(List<Object> value)
The storage connectors to enable.
|
void |
setStreamingExperienceSettings(CfnStack.StreamingExperienceSettingsProperty value)
`AWS::AppStream::Stack.StreamingExperienceSettings`.
|
void |
setStreamingExperienceSettings(IResolvable value)
`AWS::AppStream::Stack.StreamingExperienceSettings`.
|
void |
setUserSettings(IResolvable value)
The actions that are enabled or disabled for users during their streaming sessions.
|
void |
setUserSettings(List<Object> value)
The actions that are enabled or disabled for users during their streaming sessions.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnStack(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnStack(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnStack(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnStackProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnStack(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Object getAccessEndpoints()
Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
@Stability(value=Stable)
public void setAccessEndpoints(@Nullable
IResolvable value)
Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
@Stability(value=Stable)
public void setAccessEndpoints(@Nullable
List<Object> value)
Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
@Stability(value=Stable) @Nullable public Object getApplicationSettings()
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.
@Stability(value=Stable)
public void setApplicationSettings(@Nullable
CfnStack.ApplicationSettingsProperty value)
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.
@Stability(value=Stable)
public void setApplicationSettings(@Nullable
IResolvable value)
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.
@Stability(value=Stable) @Nullable public List<String> getAttributesToDelete()
@Stability(value=Stable)
public void setAttributesToDelete(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public Object getDeleteStorageConnectors()
Deletes the storage connectors currently enabled for the stack.
@Stability(value=Stable)
public void setDeleteStorageConnectors(@Nullable
Boolean value)
Deletes the storage connectors currently enabled for the stack.
@Stability(value=Stable)
public void setDeleteStorageConnectors(@Nullable
IResolvable value)
Deletes the storage connectors currently enabled for the stack.
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getDisplayName()
@Stability(value=Stable)
public void setDisplayName(@Nullable
String value)
@Stability(value=Stable) @Nullable public List<String> getEmbedHostDomains()
@Stability(value=Stable)
public void setEmbedHostDomains(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public String getFeedbackUrl()
If no URL is specified, no Send Feedback link is displayed.
@Stability(value=Stable)
public void setFeedbackUrl(@Nullable
String value)
If no URL is specified, no Send Feedback link is displayed.
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getRedirectUrl()
@Stability(value=Stable)
public void setRedirectUrl(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getStorageConnectors()
@Stability(value=Stable)
public void setStorageConnectors(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setStorageConnectors(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getStreamingExperienceSettings()
@Stability(value=Stable)
public void setStreamingExperienceSettings(@Nullable
CfnStack.StreamingExperienceSettingsProperty value)
@Stability(value=Stable)
public void setStreamingExperienceSettings(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getUserSettings()
By default, these actions are enabled.
@Stability(value=Stable)
public void setUserSettings(@Nullable
IResolvable value)
By default, these actions are enabled.
Copyright © 2022. All rights reserved.