# ValidationSpecificationProperty

Specifies batch transform jobs that SageMaker runs to validate your model package.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 validationSpecificationProperty: sagemaker.CfnModelPackage.ValidationSpecificationProperty = {
  validationProfiles: [{
    profileName: 'profileName',
    transformJobDefinition: {
      transformInput: {
        dataSource: {
          s3DataSource: {
            s3DataType: 's3DataType',
            s3Uri: 's3Uri',
          },
        },

        // the properties below are optional
        compressionType: 'compressionType',
        contentType: 'contentType',
        splitType: 'splitType',
      },
      transformOutput: {
        s3OutputPath: 's3OutputPath',

        // the properties below are optional
        accept: 'accept',
        assembleWith: 'assembleWith',
        kmsKeyId: 'kmsKeyId',
      },
      transformResources: {
        instanceCount: 123,
        instanceType: 'instanceType',

        // the properties below are optional
        volumeKmsKeyId: 'volumeKmsKeyId',
      },

      // the properties below are optional
      batchStrategy: 'batchStrategy',
      environment: {
        environmentKey: 'environment',
      },
      maxConcurrentTransforms: 123,
      maxPayloadInMb: 123,
    },
  }],
  validationRole: 'validationRole',
};
```

## Properties

- `validationProfiles`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnModelPackage.ValidationProfileProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnModelPackage.ValidationProfileProperty.html)[] (required) — An array of `ModelPackageValidationProfile` objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.

- `validationRole`: string (required) — The IAM roles to be used for the validation of the model package.
