ValidationSpecificationProperty Struct
Specifies batch transform jobs that SageMaker runs to validate your model package.
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
validationProfilesIResolvable | IResolvable | CfnModelPackage.ValidationProfileProperty[]validation_profilestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ValidationProfileProperty]]]validationProfilesIResolvableValidationProfilesIResolvableValidationProfilesinterface{}required#An array of `ModelPackageValidationProfile` objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.
validationRolestringvalidation_rolestrvalidationRoleStringValidationRolestringValidationRole*stringrequired#The IAM roles to be used for the validation of the model package.