CfnEnvironmentPropsMixin
- class aws_cdk.mixins_preview.aws_workspacesthinclient.mixins.CfnEnvironmentPropsMixin(props, *, strategy=None)
Bases:
MixinDescribes an environment.
- See:
- CloudformationResource:
AWS::WorkSpacesThinClient::Environment
- 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_workspacesthinclient import mixins as workspacesthinclient_mixins cfn_environment_props_mixin = workspacesthinclient_mixins.CfnEnvironmentPropsMixin(workspacesthinclient_mixins.CfnEnvironmentMixinProps( desired_software_set_id="desiredSoftwareSetId", desktop_arn="desktopArn", desktop_endpoint="desktopEndpoint", device_creation_tags=[CfnTag( key="key", value="value" )], kms_key_arn="kmsKeyArn", maintenance_window=workspacesthinclient_mixins.CfnEnvironmentPropsMixin.MaintenanceWindowProperty( apply_time_of="applyTimeOf", days_of_the_week=["daysOfTheWeek"], end_time_hour=123, end_time_minute=123, start_time_hour=123, start_time_minute=123, type="type" ), name="name", software_set_update_mode="softwareSetUpdateMode", software_set_update_schedule="softwareSetUpdateSchedule", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::WorkSpacesThinClient::Environment.- Parameters:
props (
Union[CfnEnvironmentMixinProps,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 = ['desiredSoftwareSetId', 'desktopArn', 'desktopEndpoint', 'deviceCreationTags', 'kmsKeyArn', 'maintenanceWindow', 'name', 'softwareSetUpdateMode', 'softwareSetUpdateSchedule', '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
MaintenanceWindowProperty
- class CfnEnvironmentPropsMixin.MaintenanceWindowProperty(*, apply_time_of=None, days_of_the_week=None, end_time_hour=None, end_time_minute=None, start_time_hour=None, start_time_minute=None, type=None)
Bases:
objectDescribes the maintenance window for a thin client device.
- Parameters:
apply_time_of (
Optional[str]) – The option to set the maintenance window during the device local time or Universal Coordinated Time (UTC).days_of_the_week (
Optional[Sequence[str]]) – The days of the week during which the maintenance window is open.end_time_hour (
Union[int,float,None]) – The hour for the maintenance window end (00-23).end_time_minute (
Union[int,float,None]) – The minutes for the maintenance window end (00-59).start_time_hour (
Union[int,float,None]) – The hour for the maintenance window start (00-23).start_time_minute (
Union[int,float,None]) – The minutes past the hour for the maintenance window start (00-59).type (
Optional[str]) – An option to select the default or custom maintenance window.
- 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_workspacesthinclient import mixins as workspacesthinclient_mixins maintenance_window_property = workspacesthinclient_mixins.CfnEnvironmentPropsMixin.MaintenanceWindowProperty( apply_time_of="applyTimeOf", days_of_the_week=["daysOfTheWeek"], end_time_hour=123, end_time_minute=123, start_time_hour=123, start_time_minute=123, type="type" )
Attributes
- apply_time_of
The option to set the maintenance window during the device local time or Universal Coordinated Time (UTC).
- days_of_the_week
The days of the week during which the maintenance window is open.
- end_time_hour
The hour for the maintenance window end (
00-23).
- end_time_minute
The minutes for the maintenance window end (
00-59).
- start_time_hour
The hour for the maintenance window start (
00-23).
- start_time_minute
The minutes past the hour for the maintenance window start (
00-59).
- type
An option to select the default or custom maintenance window.