# TaskConfigurationProperty

The task execution configuration.

- Source: Generated code
- Type last changed: v2.269.0 · 10 Sep 2026

## 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

- `containerTaskConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTask.ContainerTaskConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_iotsitewise.CfnTask.ContainerTaskConfigurationProperty.html) (required) — Configuration for running a custom container image on managed compute.
