CfnRobotPropsMixin
- class aws_cdk.mixins_preview.aws_robomaker.mixins.CfnRobotPropsMixin(props, *, strategy=None)
Bases:
MixinThe following resource is now deprecated.
This resource can no longer be provisioned via stack create or update operations, and should not be included in your stack templates. .. epigraph:
We recommend migrating to AWS IoT Greengrass Version 2. For more information, see `Support Changes: May 2, 2022 <https://docs.aws.amazon.com/robomaker/latest/dg/chapter-support-policy.html#software-support-policy-may2022>`_ in the *AWS RoboMaker Developer Guide* .
The
AWS::RoboMaker::RobotApplicationresource creates an AWS RoboMaker robot.- see:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robot.html
- cloudformationResource:
AWS::RoboMaker::Robot
- 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_robomaker import mixins as robomaker_mixins cfn_robot_props_mixin = robomaker_mixins.CfnRobotPropsMixin(robomaker_mixins.CfnRobotMixinProps( architecture="architecture", fleet="fleet", greengrass_group_id="greengrassGroupId", name="name", tags={ "tags_key": "tags" } ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::RoboMaker::Robot.- Parameters:
props (
Union[CfnRobotMixinProps,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 = ['architecture', 'fleet', 'greengrassGroupId', 'name', '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