interface ContainerTaskConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.IoTSiteWise.CfnTaskPropsMixin.ContainerTaskConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsiotsitewise#CfnTaskPropsMixin_ContainerTaskConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.CfnTaskPropsMixin.ContainerTaskConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_iotsitewise.CfnTaskPropsMixin.ContainerTaskConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_iotsitewise » CfnTaskPropsMixin » ContainerTaskConfigurationProperty |
Configuration for running a custom container image on managed compute.
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/cfn-property-mixins';
const containerTaskConfigurationProperty: iotsitewise.CfnTaskPropsMixin.ContainerTaskConfigurationProperty = {
command: ['command'],
ecrUri: 'ecrUri',
environmentVariables: {
environmentVariablesKey: 'environmentVariables',
},
processingType: 'processingType',
processingUnit: 'processingUnit',
taskExecutionRole: 'taskExecutionRole',
timeoutSeconds: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| command? | string[] | The command to execute in the container. |
| ecr | string | The Amazon ECR image URI for the task container. |
| environment | IResolvable | { [string]: string } | A map of environment variable key-value pairs. |
| processing | string | The processing type for compute resources. |
| processing | string | The processing unit allocation that determines vCPU, memory, and GPU resources. |
| task | string | The ARN of the IAM role that grants the containerized workload permissions to access AWS resources. |
| timeout | number | The timeout in seconds for task execution. |
command?
Type:
string[]
(optional)
The command to execute in the container.
ecrUri?
Type:
string
(optional)
The Amazon ECR image URI for the task container.
environmentVariables?
Type:
IResolvable | { [string]: string }
(optional)
A map of environment variable key-value pairs.
processingType?
Type:
string
(optional)
The processing type for compute resources.
processingUnit?
Type:
string
(optional)
The processing unit allocation that determines vCPU, memory, and GPU resources.
taskExecutionRole?
Type:
string
(optional)
The ARN of the IAM role that grants the containerized workload permissions to access AWS resources.
timeoutSeconds?
Type:
number
(optional)
The timeout in seconds for task execution.
Default: 3600 (1 hour).

.NET
Go
Java
Python
TypeScript