Interface EndpointConfigProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
EndpointConfigProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-17T05:10:20.167Z") @Stability(Experimental) public interface EndpointConfigProps extends software.amazon.jsii.JsiiSerializable
(experimental) Construction properties for a SageMaker EndpointConfig.

Example:

 import software.amazon.awscdk.services.sagemaker.alpha.*;
 Model modelA;
 Model modelB;
 EndpointConfig endpointConfig = EndpointConfig.Builder.create(this, "EndpointConfig")
         .instanceProductionVariants(List.of(InstanceProductionVariantProps.builder()
                 .model(modelA)
                 .variantName("modelA")
                 .initialVariantWeight(2)
                 .build(), InstanceProductionVariantProps.builder()
                 .model(modelB)
                 .variantName("variantB")
                 .initialVariantWeight(1)
                 .build()))
         .build();
 
  • Method Details

    • getEncryptionKey

      @Stability(Experimental) @Nullable default IKey getEncryptionKey()
      (experimental) Optional KMS encryption key associated with this stream.

      Default: - none

    • getEndpointConfigName

      @Stability(Experimental) @Nullable default String getEndpointConfigName()
      (experimental) Name of the endpoint configuration.

      Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the endpoint configuration's name.

    • getInstanceProductionVariants

      @Stability(Experimental) @Nullable default List<InstanceProductionVariantProps> getInstanceProductionVariants()
      (experimental) A list of instance production variants.

      You can always add more variants later by calling EndpointConfig#addInstanceProductionVariant.

      Default: - none

    • builder

      @Stability(Experimental) static EndpointConfigProps.Builder builder()
      Returns:
      a EndpointConfigProps.Builder of EndpointConfigProps