Interface SageMakerCreateEndpointConfigProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
All Known Implementing Classes:
SageMakerCreateEndpointConfigProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:14.623Z") @Stability(Stable) public interface SageMakerCreateEndpointConfigProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
Properties for creating an Amazon SageMaker endpoint configuration.

Example:

 SageMakerCreateEndpointConfig.Builder.create(this, "SagemakerEndpointConfig")
         .endpointConfigName("MyEndpointConfig")
         .productionVariants(List.of(ProductionVariant.builder()
                 .initialInstanceCount(2)
                 .instanceType(InstanceType.of(InstanceClass.M5, InstanceSize.XLARGE))
                 .modelName("MyModel")
                 .variantName("awesome-variant")
                 .build()))
         .build();
 

See Also:
  • Method Details

    • getEndpointConfigName

      @Stability(Stable) @NotNull String getEndpointConfigName()
      The name of the endpoint configuration.
    • getProductionVariants

      @Stability(Stable) @NotNull List<ProductionVariant> getProductionVariants()
      An list of ProductionVariant objects, one for each model that you want to host at this endpoint.

      Identifies a model that you want to host and the resources to deploy for hosting it. If you are deploying multiple models, tell Amazon SageMaker how to distribute traffic among the models by specifying variant weights.

    • getKmsKey

      @Stability(Stable) @Nullable default IKey getKmsKey()
      AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.

      Default: - None

    • getTags

      @Stability(Stable) @Nullable default TaskInput getTags()
      Tags to be applied to the endpoint configuration.

      Default: - No tags

    • builder

      @Stability(Stable) static SageMakerCreateEndpointConfigProps.Builder builder()
      Returns:
      a SageMakerCreateEndpointConfigProps.Builder of SageMakerCreateEndpointConfigProps