Interface ContainerDefinitionOptions

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:47.907Z") @Stability(Stable) public interface ContainerDefinitionOptions extends
Properties to define a ContainerDefinition.


 SageMakerCreateModel.Builder.create(this, "Sagemaker")

See Also:
  • Method Details

    • getContainerHostName

      @Stability(Stable) @Nullable default String getContainerHostName()
      This parameter is ignored for models that contain only a PrimaryContainer.

      When a ContainerDefinition is part of an inference pipeline, the value of the parameter uniquely identifies the container for the purposes of logging and metrics.

      Default: - None

    • getEnvironmentVariables

      @Stability(Stable) @Nullable default TaskInput getEnvironmentVariables()
      The environment variables to set in the Docker container.

      Default: - No variables

    • getImage

      @Stability(Stable) @Nullable default DockerImage getImage()
      The Amazon EC2 Container Registry (Amazon ECR) path where inference code is stored.

      Default: - None

    • getMode

      @Stability(Stable) @Nullable default Mode getMode()
      Defines how many models the container hosts.

      Default: - Mode.SINGLE_MODEL

    • getModelPackageName

      @Stability(Stable) @Nullable default String getModelPackageName()
      The name or Amazon Resource Name (ARN) of the model package to use to create the model.

      Default: - None

    • getModelS3Location

      @Stability(Stable) @Nullable default S3Location getModelS3Location()
      The S3 path where the model artifacts, which result from model training, are stored.

      This path must point to a single gzip compressed tar archive (.tar.gz suffix). The S3 path is required for Amazon SageMaker built-in algorithms, but not if you use your own algorithms.

      Default: - None

    • builder

      @Stability(Stable) static ContainerDefinitionOptions.Builder builder()
      a ContainerDefinitionOptions.Builder of ContainerDefinitionOptions