CfnApplicationPropsMixin
- class aws_cdk.mixins_preview.aws_gameliftstreams.mixins.CfnApplicationPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::GameLiftStreams::Applicationresource defines an Amazon GameLift Streams application.An application specifies the content that you want to stream, such as a game or other software, and its runtime environment (Microsoft Windows, Ubuntu, or Proton).
Before you create an Amazon GameLift Streams application, upload your uncompressed game files (do not upload a .zip file) to an Amazon Simple Storage Service (Amazon S3) standard bucket.
- See:
- CloudformationResource:
AWS::GameLiftStreams::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_gameliftstreams import mixins as gameliftstreams_mixins cfn_application_props_mixin = gameliftstreams_mixins.CfnApplicationPropsMixin(gameliftstreams_mixins.CfnApplicationMixinProps( application_log_output_uri="applicationLogOutputUri", application_log_paths=["applicationLogPaths"], application_source_uri="applicationSourceUri", description="description", executable_path="executablePath", runtime_environment=gameliftstreams_mixins.CfnApplicationPropsMixin.RuntimeEnvironmentProperty( type="type", version="version" ), tags={ "tags_key": "tags" } ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::GameLiftStreams::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 = ['applicationLogOutputUri', 'applicationLogPaths', 'applicationSourceUri', 'description', 'executablePath', 'runtimeEnvironment', 'tags']
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
RuntimeEnvironmentProperty
- class CfnApplicationPropsMixin.RuntimeEnvironmentProperty(*, type=None, version=None)
Bases:
objectConfiguration settings that identify the operating system for an application resource.
This can also include a compatibility layer and other drivers.
A runtime environment can be one of the following:
For Linux applications
Ubuntu 22.04 LTS (
Type=UBUNTU, Version=22_04_LTS)For Windows applications
Microsoft Windows Server 2022 Base (
Type=WINDOWS, Version=2022)Proton 9.0-2 (
Type=PROTON, Version=20250516)Proton 8.0-5 (
Type=PROTON, Version=20241007)Proton 8.0-2c (
Type=PROTON, Version=20230704)
- Parameters:
type (
Optional[str]) – The operating system and other drivers. For Proton, this also includes the Proton compatibility layer.version (
Optional[str]) – Versioned container environment for the application operating system.
- 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_gameliftstreams import mixins as gameliftstreams_mixins runtime_environment_property = gameliftstreams_mixins.CfnApplicationPropsMixin.RuntimeEnvironmentProperty( type="type", version="version" )
Attributes
- type
The operating system and other drivers.
For Proton, this also includes the Proton compatibility layer.
- version
Versioned container environment for the application operating system.