CfnApplicationPropsMixin

class aws_cdk.mixins_preview.aws_appstream.mixins.CfnApplicationPropsMixin(props, *, strategy=None)

Bases: Mixin

This resource creates an application.

Applications store the details about how to launch applications on streaming instances. This is only supported for Elastic fleets.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appstream-application.html

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:

IConstruct

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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

S3LocationProperty

class CfnApplicationPropsMixin.S3LocationProperty(*, s3_bucket=None, s3_key=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-application-s3location.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-application-s3location.html#cfn-appstream-application-s3location-s3bucket

s3_key

The S3 key of the S3 object.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appstream-application-s3location.html#cfn-appstream-application-s3location-s3key