CfnApplicationPropsMixin
- class aws_cdk.mixins_preview.aws_appstream.mixins.CfnApplicationPropsMixin(props, *, strategy=None)
Bases:
MixinThis resource creates an application.
Applications store the details about how to launch applications on streaming instances. This is only supported for Elastic fleets.
- See:
- CloudformationResource:
AWS::AppStream::Application
- 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_application_props_mixin = appstream_mixins.CfnApplicationPropsMixin(appstream_mixins.CfnApplicationMixinProps( app_block_arn="appBlockArn", attributes_to_delete=["attributesToDelete"], description="description", display_name="displayName", icon_s3_location=appstream_mixins.CfnApplicationPropsMixin.S3LocationProperty( s3_bucket="s3Bucket", s3_key="s3Key" ), instance_families=["instanceFamilies"], launch_parameters="launchParameters", launch_path="launchPath", name="name", platforms=["platforms"], tags=[CfnTag( key="key", value="value" )], working_directory="workingDirectory" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::AppStream::Application.- Parameters:
props (
Union[CfnApplicationMixinProps,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 = ['appBlockArn', 'attributesToDelete', 'description', 'displayName', 'iconS3Location', 'instanceFamilies', 'launchParameters', 'launchPath', 'name', 'platforms', 'tags', 'workingDirectory']
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
S3LocationProperty
- class CfnApplicationPropsMixin.S3LocationProperty(*, s3_bucket=None, s3_key=None)
Bases:
objectThe S3 location of the application icon.
- Parameters:
s3_bucket (
Optional[str]) – The S3 bucket of the S3 object.s3_key (
Optional[str]) – The S3 key of the S3 object.
- 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 s3_location_property = appstream_mixins.CfnApplicationPropsMixin.S3LocationProperty( s3_bucket="s3Bucket", s3_key="s3Key" )
Attributes
- s3_bucket
The S3 bucket of the S3 object.
- s3_key
The S3 key of the S3 object.