CfnRobotApplicationPropsMixin
- class aws_cdk.mixins_preview.aws_robomaker.mixins.CfnRobotApplicationPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::RoboMaker::RobotApplicationresource creates an AWS RoboMaker robot application.- See:
- CloudformationResource:
AWS::RoboMaker::RobotApplication
- 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_application_props_mixin = robomaker_mixins.CfnRobotApplicationPropsMixin(robomaker_mixins.CfnRobotApplicationMixinProps( current_revision_id="currentRevisionId", environment="environment", name="name", robot_software_suite=robomaker_mixins.CfnRobotApplicationPropsMixin.RobotSoftwareSuiteProperty( name="name", version="version" ), sources=[robomaker_mixins.CfnRobotApplicationPropsMixin.SourceConfigProperty( architecture="architecture", s3_bucket="s3Bucket", s3_key="s3Key" )], tags={ "tags_key": "tags" } ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::RoboMaker::RobotApplication.- Parameters:
props (
Union[CfnRobotApplicationMixinProps,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 = ['currentRevisionId', 'environment', 'name', 'robotSoftwareSuite', 'sources', '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
RobotSoftwareSuiteProperty
- class CfnRobotApplicationPropsMixin.RobotSoftwareSuiteProperty(*, name=None, version=None)
Bases:
objectInformation about a robot software suite.
- Parameters:
name (
Optional[str]) – The name of the robot software suite.Generalis the only supported value.version (
Optional[str]) – The version of the robot software suite. Not applicable for General software suite.
- 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_robomaker import mixins as robomaker_mixins robot_software_suite_property = robomaker_mixins.CfnRobotApplicationPropsMixin.RobotSoftwareSuiteProperty( name="name", version="version" )
Attributes
- name
The name of the robot software suite.
Generalis the only supported value.
- version
The version of the robot software suite.
Not applicable for General software suite.
SourceConfigProperty
- class CfnRobotApplicationPropsMixin.SourceConfigProperty(*, architecture=None, s3_bucket=None, s3_key=None)
Bases:
objectInformation about a source configuration.
- Parameters:
architecture (
Optional[str]) – The target processor architecture for the application.s3_bucket (
Optional[str]) – The Amazon S3 bucket name.s3_key (
Optional[str]) – The s3 object key.
- 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_robomaker import mixins as robomaker_mixins source_config_property = robomaker_mixins.CfnRobotApplicationPropsMixin.SourceConfigProperty( architecture="architecture", s3_bucket="s3Bucket", s3_key="s3Key" )
Attributes
- architecture
The target processor architecture for the application.
- s3_bucket
The Amazon S3 bucket name.