Interface CfnModelPackage.ModelPackageContainerDefinitionProperty

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

@Stability(Stable) public static interface CfnModelPackage.ModelPackageContainerDefinitionProperty extends software.amazon.jsii.JsiiSerializable
Describes the Docker container for the 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;
 ModelPackageContainerDefinitionProperty modelPackageContainerDefinitionProperty = 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();
 

See Also: