CfnTaskMixinProps
- class aws_cdk.cfn_property_mixins.aws_iotsitewise.CfnTaskMixinProps(*, description=None, tags=None, task_configuration=None, task_name=None, workspace_name=None)
Bases:
objectProperties for CfnTaskPropsMixin.
- Parameters:
description (
Optional[str]) – A description of the task.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to this resource.task_configuration (
Union[IResolvable,TaskConfigurationProperty,Dict[str,Any],None]) – The task execution configuration.task_name (
Optional[str]) – The name of the task. Must be unique within the workspace.workspace_name (
Optional[str]) – The name of the workspace.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-task.html
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_iotsitewise as iotsitewise cfn_task_mixin_props = iotsitewise.CfnTaskMixinProps( description="description", tags=[CfnTag( key="key", value="value" )], task_configuration=iotsitewise.CfnTaskPropsMixin.TaskConfigurationProperty( container_task_configuration=iotsitewise.CfnTaskPropsMixin.ContainerTaskConfigurationProperty( command=["command"], ecr_uri="ecrUri", environment_variables={ "environment_variables_key": "environmentVariables" }, processing_type="processingType", processing_unit="processingUnit", task_execution_role="taskExecutionRole", timeout_seconds=123 ) ), task_name="taskName", workspace_name="workspaceName" )
Attributes
- description
A description of the task.
- tags
An array of key-value pairs to apply to this resource.
- task_configuration
The task execution configuration.
- task_name
The name of the task.
Must be unique within the workspace.
- workspace_name
The name of the workspace.