interface CfnTaskProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoTSiteWise.CfnTaskProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotsitewise#CfnTaskProps |
Java | software.amazon.awscdk.services.iotsitewise.CfnTaskProps |
Python | aws_cdk.aws_iotsitewise.CfnTaskProps |
TypeScript | aws-cdk-lib » aws_iotsitewise » CfnTaskProps |
Properties for defining a CfnTask.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-task.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotsitewise as iotsitewise } from 'aws-cdk-lib';
const cfnTaskProps: iotsitewise.CfnTaskProps = {
taskConfiguration: {
containerTaskConfiguration: {
ecrUri: 'ecrUri',
processingType: 'processingType',
processingUnit: 'processingUnit',
taskExecutionRole: 'taskExecutionRole',
// the properties below are optional
command: ['command'],
environmentVariables: {
environmentVariablesKey: 'environmentVariables',
},
timeoutSeconds: 123,
},
},
taskName: 'taskName',
workspaceName: 'workspaceName',
// the properties below are optional
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| task | IResolvable | Task | The task execution configuration. |
| task | string | The name of the task. |
| workspace | string | The name of the workspace. |
| description? | string | A description of the task. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
taskConfiguration
Type:
IResolvable | Task
The task execution configuration.
taskName
Type:
string
The name of the task.
Must be unique within the workspace.
workspaceName
Type:
string
The name of the workspace.
description?
Type:
string
(optional)
A description of the task.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.

.NET
Go
Java
Python
TypeScript