Interface CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty.Jsii$Proxy
Enclosing class:
CfnModelPackage

@Stability(Stable) public static interface CfnModelPackage.AdditionalInferenceSpecificationDefinitionProperty extends software.amazon.jsii.JsiiSerializable
A structure of additional Inference Specification.

Additional Inference Specification specifies details about inference jobs that can be run with models based on this model package

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.*;
 Object modelInput;
 AdditionalInferenceSpecificationDefinitionProperty additionalInferenceSpecificationDefinitionProperty = AdditionalInferenceSpecificationDefinitionProperty.builder()
         .containers(List.of(ModelPackageContainerDefinitionProperty.builder()
                 .image("image")
                 // the properties below are optional
                 .containerHostname("containerHostname")
                 .environment(Map.of(
                         "environmentKey", "environment"))
                 .framework("framework")
                 .frameworkVersion("frameworkVersion")
                 .imageDigest("imageDigest")
                 .modelDataSource(ModelDataSourceProperty.builder()
                         .s3DataSource(S3ModelDataSourceProperty.builder()
                                 .compressionType("compressionType")
                                 .s3DataType("s3DataType")
                                 .s3Uri("s3Uri")
                                 // the properties below are optional
                                 .modelAccessConfig(ModelAccessConfigProperty.builder()
                                         .acceptEula(false)
                                         .build())
                                 .build())
                         .build())
                 .modelDataUrl("modelDataUrl")
                 .modelInput(modelInput)
                 .nearestModelName("nearestModelName")
                 .build()))
         .name("name")
         // the properties below are optional
         .description("description")
         .supportedContentTypes(List.of("supportedContentTypes"))
         .supportedRealtimeInferenceInstanceTypes(List.of("supportedRealtimeInferenceInstanceTypes"))
         .supportedResponseMimeTypes(List.of("supportedResponseMimeTypes"))
         .supportedTransformInstanceTypes(List.of("supportedTransformInstanceTypes"))
         .build();
 

See Also: