aws-cdk-lib.aws_sagemaker.CfnModelPackage.ValidationSpecificationProperty

interface ValidationSpecificationProperty

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.CfnModelPackage.ValidationSpecificationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnModelPackage_ValidationSpecificationProperty
Javasoftware.amazon.awscdk.services.sagemaker.CfnModelPackage.ValidationSpecificationProperty
Pythonaws_cdk.aws_sagemaker.CfnModelPackage.ValidationSpecificationProperty
TypeScript aws-cdk-lib » aws_sagemaker » CfnModelPackage » ValidationSpecificationProperty

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

Example

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

NameTypeDescription
validationProfilesIResolvable | IResolvable | ValidationProfileProperty[]An array of ModelPackageValidationProfile objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.
validationRolestringThe IAM roles to be used for the validation of the model package.

validationProfiles

Type: IResolvable | IResolvable | ValidationProfileProperty[]

An array of ModelPackageValidationProfile objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.


validationRole

Type: string

The IAM roles to be used for the validation of the model package.