Class CfnModelPackage.ValidationSpecificationProperty
Specifies batch transform jobs that SageMaker runs to validate your model package.
Inheritance
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ValidationSpecificationProperty : Object, CfnModelPackage.IValidationSpecificationProperty
Syntax (vb)
Public Class ValidationSpecificationProperty
Inherits Object
Implements CfnModelPackage.IValidationSpecificationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var validationSpecificationProperty = new ValidationSpecificationProperty {
ValidationProfiles = new [] { new ValidationProfileProperty {
ProfileName = "profileName",
TransformJobDefinition = new TransformJobDefinitionProperty {
TransformInput = new TransformInputProperty {
DataSource = new DataSourceProperty {
S3DataSource = new S3DataSourceProperty {
S3DataType = "s3DataType",
S3Uri = "s3Uri"
}
},
// the properties below are optional
CompressionType = "compressionType",
ContentType = "contentType",
SplitType = "splitType"
},
TransformOutput = new TransformOutputProperty {
S3OutputPath = "s3OutputPath",
// the properties below are optional
Accept = "accept",
AssembleWith = "assembleWith",
KmsKeyId = "kmsKeyId"
},
TransformResources = new TransformResourcesProperty {
InstanceCount = 123,
InstanceType = "instanceType",
// the properties below are optional
VolumeKmsKeyId = "volumeKmsKeyId"
},
// the properties below are optional
BatchStrategy = "batchStrategy",
Environment = new Dictionary<string, string> {
{ "environmentKey", "environment" }
},
MaxConcurrentTransforms = 123,
MaxPayloadInMb = 123
}
} },
ValidationRole = "validationRole"
};
Synopsis
Constructors
Validation |
Properties
Validation |
An array of |
Validation |
The IAM roles to be used for the validation of the model package. |
Constructors
ValidationSpecificationProperty()
public ValidationSpecificationProperty()
Properties
ValidationProfiles
An array of ModelPackageValidationProfile
objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.
public object ValidationProfiles { get; set; }
Property Value
System.
Remarks
ValidationRole
The IAM roles to be used for the validation of the model package.
public string ValidationRole { get; set; }
Property Value
System.