CfnStackPropsMixin
- class aws_cdk.mixins_preview.aws_appstream.mixins.CfnStackPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::AppStream::Stackresource 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.- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-stack.html
- CloudformationResource:
AWS::AppStream::Stack
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_appstream import mixins as appstream_mixins cfn_stack_props_mixin = appstream_mixins.CfnStackPropsMixin(appstream_mixins.CfnStackMixinProps( access_endpoints=[appstream_mixins.CfnStackPropsMixin.AccessEndpointProperty( endpoint_type="endpointType", vpce_id="vpceId" )], application_settings=appstream_mixins.CfnStackPropsMixin.ApplicationSettingsProperty( enabled=False, settings_group="settingsGroup" ), attributes_to_delete=["attributesToDelete"], delete_storage_connectors=False, description="description", display_name="displayName", embed_host_domains=["embedHostDomains"], feedback_url="feedbackUrl", name="name", redirect_url="redirectUrl", storage_connectors=[appstream_mixins.CfnStackPropsMixin.StorageConnectorProperty( connector_type="connectorType", domains=["domains"], resource_identifier="resourceIdentifier" )], streaming_experience_settings=appstream_mixins.CfnStackPropsMixin.StreamingExperienceSettingsProperty( preferred_protocol="preferredProtocol" ), tags=[CfnTag( key="key", value="value" )], user_settings=[appstream_mixins.CfnStackPropsMixin.UserSettingProperty( action="action", maximum_length=123, permission="permission" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::AppStream::Stack.- Parameters:
props (
Union[CfnStackMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['accessEndpoints', 'applicationSettings', 'attributesToDelete', 'deleteStorageConnectors', 'description', 'displayName', 'embedHostDomains', 'feedbackUrl', 'name', 'redirectUrl', 'storageConnectors', 'streamingExperienceSettings', 'tags', 'userSettings']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
AccessEndpointProperty
- class CfnStackPropsMixin.AccessEndpointProperty(*, endpoint_type=None, vpce_id=None)
Bases:
objectDescribes an interface VPC endpoint (interface endpoint) that lets you create a private connection between the virtual private cloud (VPC) that you specify and WorkSpaces Applications.
When you specify an interface endpoint for a stack, users of the stack can connect to WorkSpaces Applications only through that endpoint. When you specify an interface endpoint for an image builder, administrators can connect to the image builder only through that endpoint.
- Parameters:
endpoint_type (
Optional[str]) – The type of interface endpoint.vpce_id (
Optional[str]) – The identifier (ID) of the VPC in which the interface endpoint is used.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_appstream import mixins as appstream_mixins access_endpoint_property = appstream_mixins.CfnStackPropsMixin.AccessEndpointProperty( endpoint_type="endpointType", vpce_id="vpceId" )
Attributes
- endpoint_type
The type of interface endpoint.
- vpce_id
The identifier (ID) of the VPC in which the interface endpoint is used.
ApplicationSettingsProperty
- class CfnStackPropsMixin.ApplicationSettingsProperty(*, enabled=None, settings_group=None)
Bases:
objectThe persistent application settings for users of a stack.
- Parameters:
enabled (
Union[bool,IResolvable,None]) – Enables or disables persistent application settings for users during their streaming sessions.settings_group (
Optional[str]) – The path prefix for the S3 bucket where users’ persistent application settings are stored. You can allow the same persistent application settings to be used across multiple stacks by specifying the same settings group for each stack.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_appstream import mixins as appstream_mixins application_settings_property = appstream_mixins.CfnStackPropsMixin.ApplicationSettingsProperty( enabled=False, settings_group="settingsGroup" )
Attributes
- enabled
Enables or disables persistent application settings for users during their streaming sessions.
- settings_group
The path prefix for the S3 bucket where users’ persistent application settings are stored.
You can allow the same persistent application settings to be used across multiple stacks by specifying the same settings group for each stack.
StorageConnectorProperty
- class CfnStackPropsMixin.StorageConnectorProperty(*, connector_type=None, domains=None, resource_identifier=None)
Bases:
objectA connector that enables persistent storage for users.
- Parameters:
connector_type (
Optional[str]) – The type of storage connector.domains (
Optional[Sequence[str]]) – The names of the domains for the account.resource_identifier (
Optional[str]) – The ARN of the storage connector.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_appstream import mixins as appstream_mixins storage_connector_property = appstream_mixins.CfnStackPropsMixin.StorageConnectorProperty( connector_type="connectorType", domains=["domains"], resource_identifier="resourceIdentifier" )
Attributes
- connector_type
The type of storage connector.
- domains
The names of the domains for the account.
- resource_identifier
The ARN of the storage connector.
StreamingExperienceSettingsProperty
- class CfnStackPropsMixin.StreamingExperienceSettingsProperty(*, preferred_protocol=None)
Bases:
objectThe 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:
preferred_protocol (
Optional[str]) – The preferred protocol that you want to use while streaming your application.- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_appstream import mixins as appstream_mixins streaming_experience_settings_property = appstream_mixins.CfnStackPropsMixin.StreamingExperienceSettingsProperty( preferred_protocol="preferredProtocol" )
Attributes
- preferred_protocol
The preferred protocol that you want to use while streaming your application.
UserSettingProperty
- class CfnStackPropsMixin.UserSettingProperty(*, action=None, maximum_length=None, permission=None)
Bases:
objectSpecifies an action and whether the action is enabled or disabled for users during their streaming sessions.
- Parameters:
action (
Optional[str]) – The action that is enabled or disabled.maximum_length (
Union[int,float,None]) – Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session. This can be specified only for theCLIPBOARD_COPY_FROM_LOCAL_DEVICEandCLIPBOARD_COPY_TO_LOCAL_DEVICEactions. This defaults to 20,971,520 (20 MB) when unspecified and the permission isENABLED. This can’t be specified when the permission isDISABLED. The value can be between 1 and 20,971,520 (20 MB).permission (
Optional[str]) – Indicates whether the action is enabled or disabled.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_appstream import mixins as appstream_mixins user_setting_property = appstream_mixins.CfnStackPropsMixin.UserSettingProperty( action="action", maximum_length=123, permission="permission" )
Attributes
- action
The action that is enabled or disabled.
- maximum_length
Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.
This can be specified only for the
CLIPBOARD_COPY_FROM_LOCAL_DEVICEandCLIPBOARD_COPY_TO_LOCAL_DEVICEactions.This defaults to 20,971,520 (20 MB) when unspecified and the permission is
ENABLED. This can’t be specified when the permission isDISABLED.The value can be between 1 and 20,971,520 (20 MB).
- permission
Indicates whether the action is enabled or disabled.