public static interface CfnModelPackage.ValidationSpecificationProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sagemaker.*; ValidationSpecificationProperty validationSpecificationProperty = ValidationSpecificationProperty.builder() .validationProfiles(List.of(ValidationProfileProperty.builder() .profileName("profileName") .transformJobDefinition(TransformJobDefinitionProperty.builder() .transformInput(TransformInputProperty.builder() .dataSource(DataSourceProperty.builder() .s3DataSource(S3DataSourceProperty.builder() .s3DataType("s3DataType") .s3Uri("s3Uri") .build()) .build()) // the properties below are optional .compressionType("compressionType") .contentType("contentType") .splitType("splitType") .build()) .transformOutput(TransformOutputProperty.builder() .s3OutputPath("s3OutputPath") // the properties below are optional .accept("accept") .assembleWith("assembleWith") .kmsKeyId("kmsKeyId") .build()) .transformResources(TransformResourcesProperty.builder() .instanceCount(123) .instanceType("instanceType") // the properties below are optional .volumeKmsKeyId("volumeKmsKeyId") .build()) // the properties below are optional .batchStrategy("batchStrategy") .environment(Map.of( "environmentKey", "environment")) .maxConcurrentTransforms(123) .maxPayloadInMb(123) .build()) .build())) .validationRole("validationRole") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnModelPackage.ValidationSpecificationProperty.Builder
A builder for
CfnModelPackage.ValidationSpecificationProperty |
static class |
CfnModelPackage.ValidationSpecificationProperty.Jsii$Proxy
An implementation for
CfnModelPackage.ValidationSpecificationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnModelPackage.ValidationSpecificationProperty.Builder |
builder() |
java.lang.Object |
getValidationProfiles()
An array of `ModelPackageValidationProfile` objects, each of which specifies a batch transform job that SageMaker runs to validate your model package.
|
java.lang.String |
getValidationRole()
The IAM roles to be used for the validation of the model package.
|
java.lang.Object getValidationProfiles()
java.lang.String getValidationRole()
static CfnModelPackage.ValidationSpecificationProperty.Builder builder()