interface ValidationSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnModelPackagePropsMixin.ValidationSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnModelPackagePropsMixin_ValidationSpecificationProperty |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnModelPackagePropsMixin.ValidationSpecificationProperty |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnModelPackagePropsMixin.ValidationSpecificationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnModelPackagePropsMixin » 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 { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
const validationSpecificationProperty: sagemaker_mixins.CfnModelPackagePropsMixin.ValidationSpecificationProperty = {
validationProfiles: [{
profileName: 'profileName',
transformJobDefinition: {
batchStrategy: 'batchStrategy',
environment: {
environmentKey: 'environment',
},
maxConcurrentTransforms: 123,
maxPayloadInMb: 123,
transformInput: {
compressionType: 'compressionType',
contentType: 'contentType',
dataSource: {
s3DataSource: {
s3DataType: 's3DataType',
s3Uri: 's3Uri',
},
},
splitType: 'splitType',
},
transformOutput: {
accept: 'accept',
assembleWith: 'assembleWith',
kmsKeyId: 'kmsKeyId',
s3OutputPath: 's3OutputPath',
},
transformResources: {
instanceCount: 123,
instanceType: 'instanceType',
volumeKmsKeyId: 'volumeKmsKeyId',
},
},
}],
validationRole: 'validationRole',
};
Properties
| Name | Type | Description |
|---|---|---|
| validation | IResolvable | (IResolvable | Validation)[] | An array of ModelPackageValidationProfile objects, each of which specifies a batch transform job that SageMaker runs to validate your model package. |
| validation | string | The IAM roles to be used for the validation of the model package. |
validationProfiles?
Type:
IResolvable | (IResolvable | Validation)[]
(optional)
An array of ModelPackageValidationProfile objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.
validationRole?
Type:
string
(optional)
The IAM roles to be used for the validation of the model package.

.NET
Go
Java
Python
TypeScript