TaskConfigurationProperty Struct
The task execution configuration.
Example
ts
// 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 taskConfigurationProperty: iotsitewise.CfnTask.TaskConfigurationProperty = {
containerTaskConfiguration: {
ecrUri: 'ecrUri',
processingType: 'processingType',
processingUnit: 'processingUnit',
taskExecutionRole: 'taskExecutionRole',
// the properties below are optional
command: ['command'],
environmentVariables: {
environmentVariablesKey: 'environmentVariables',
},
ephemeralStorageConfiguration: {
storageClass: 'storageClass',
storageSizeInGiB: 123,
},
mounts: [{
name: 'name',
relativePath: 'relativePath',
source: {
s3AccessPoint: {
accessPointArn: 'accessPointArn',
// the properties below are optional
prefix: 'prefix',
},
},
storageType: 'storageType',
}],
timeoutSeconds: 123,
},
};
Properties
containerTaskConfigurationIResolvable | CfnTask.ContainerTaskConfigurationPropertycontainer_task_configurationtyping.Union[IResolvable, ContainerTaskConfigurationProperty]containerTaskConfigurationIResolvableContainerTaskConfigurationIResolvableContainerTaskConfigurationinterface{}required#Configuration for running a custom container image on managed compute.