# ProcessingInputsObjectProperty

The inputs for a processing job.

The processing input must specify exactly one of either `S3Input` or `DatasetDefinition` types.

- Source: Generated code
- Type last changed: v2.211.0 · 13 Aug 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const processingInputsObjectProperty: sagemaker.CfnProcessingJob.ProcessingInputsObjectProperty = {
  inputName: 'inputName',

  // the properties below are optional
  appManaged: false,
  datasetDefinition: {
    athenaDatasetDefinition: {
      catalog: 'catalog',
      database: 'database',
      outputFormat: 'outputFormat',
      outputS3Uri: 'outputS3Uri',
      queryString: 'queryString',

      // the properties below are optional
      kmsKeyId: 'kmsKeyId',
      outputCompression: 'outputCompression',
      workGroup: 'workGroup',
    },
    dataDistributionType: 'dataDistributionType',
    inputMode: 'inputMode',
    localPath: 'localPath',
    redshiftDatasetDefinition: {
      clusterId: 'clusterId',
      clusterRoleArn: 'clusterRoleArn',
      database: 'database',
      dbUser: 'dbUser',
      outputFormat: 'outputFormat',
      outputS3Uri: 'outputS3Uri',
      queryString: 'queryString',

      // the properties below are optional
      kmsKeyId: 'kmsKeyId',
      outputCompression: 'outputCompression',
    },
  },
  s3Input: {
    s3DataType: 's3DataType',
    s3Uri: 's3Uri',

    // the properties below are optional
    localPath: 'localPath',
    s3CompressionType: 's3CompressionType',
    s3DataDistributionType: 's3DataDistributionType',
    s3InputMode: 's3InputMode',
  },
};
```

## Properties

- `appManaged`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — When `True` , input operations such as data download are managed natively by the processing job application.

  When `False` (default), input operations are managed by Amazon SageMaker.

- `datasetDefinition`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnProcessingJob.DatasetDefinitionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnProcessingJob.DatasetDefinitionProperty.html) — Configuration for Dataset Definition inputs.

  The Dataset Definition input must specify exactly one of either `AthenaDatasetDefinition` or `RedshiftDatasetDefinition` types.

- `inputName`: string (required) — The name for the processing job input.

- `s3Input`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnProcessingJob.S3InputProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnProcessingJob.S3InputProperty.html) — Configuration for downloading input data from Amazon S3 into the processing container.
