CfnRobotApplicationPropsMixin

class aws_cdk.mixins_preview.aws_robomaker.mixins.CfnRobotApplicationPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::RoboMaker::RobotApplication resource creates an AWS RoboMaker robot application.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-robomaker-robotapplication.html

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:

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 = ['currentRevisionId', 'environment', 'name', 'robotSoftwareSuite', 'sources', 'tags']

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

RobotSoftwareSuiteProperty

class CfnRobotApplicationPropsMixin.RobotSoftwareSuiteProperty(*, name=None, version=None)

Bases: object

Information about a robot software suite.

Parameters:
  • name (Optional[str]) – The name of the robot software suite. General is the only supported value.

  • version (Optional[str]) – The version of the robot software suite. Not applicable for General software suite.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-robotapplication-robotsoftwaresuite.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_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.

General is the only supported value.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-robotapplication-robotsoftwaresuite.html#cfn-robomaker-robotapplication-robotsoftwaresuite-name

version

The version of the robot software suite.

Not applicable for General software suite.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-robotapplication-robotsoftwaresuite.html#cfn-robomaker-robotapplication-robotsoftwaresuite-version

SourceConfigProperty

class CfnRobotApplicationPropsMixin.SourceConfigProperty(*, architecture=None, s3_bucket=None, s3_key=None)

Bases: object

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

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-robotapplication-sourceconfig.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_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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-robotapplication-sourceconfig.html#cfn-robomaker-robotapplication-sourceconfig-architecture

s3_bucket

The Amazon S3 bucket name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-robotapplication-sourceconfig.html#cfn-robomaker-robotapplication-sourceconfig-s3bucket

s3_key

The s3 object key.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-robomaker-robotapplication-sourceconfig.html#cfn-robomaker-robotapplication-sourceconfig-s3key