Skip to content
v2.274.0

Experimental

@aws-cdk/aws-sagemaker-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

EndpointConfigProps Struct ​

Construction properties for a SageMaker EndpointConfig.

Example ​

ts
import * as sagemaker from '@aws-cdk/aws-sagemaker-alpha';

declare const modelA: sagemaker.Model;
declare const modelB: sagemaker.Model;

const endpointConfig = new sagemaker.EndpointConfig(this, 'EndpointConfig', {
  instanceProductionVariants: [
    {
      model: modelA,
      variantName: 'modelA',
      initialVariantWeight: 2.0,
    },
    {
      model: modelB,
      variantName: 'variantB',
      initialVariantWeight: 1.0,
    },
  ]
});

Properties ​

encryptionKeyIKeyRefencryption_keyIKeyRefencryptionKeyIKeyRefEncryptionKeyIKeyRefEncryptionKeyIKeyRef= none#
Optional KMS encryption key associated with this stream.
endpointConfigNamestringendpoint_config_namestrendpointConfigNameStringEndpointConfigNamestringEndpointConfigName*string= AWS CloudFormation generates a u…#
Name of the endpoint configuration.
default

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

instanceProductionVariantsInstanceProductionVariantProps[]instance_production_variantstyping.List[InstanceProductionVariantProps]instanceProductionVariantsList<InstanceProductionVariantProps>InstanceProductionVariantsInstanceProductionVariantProps[]InstanceProductionVariants*[]InstanceProductionVariantProps= none#
A list of instance production variants. You can always add more variants later by calling `EndpointConfig#addInstanceProductionVariant`.

Cannot be specified if serverlessProductionVariant is specified.

serverlessProductionVariantServerlessProductionVariantPropsserverless_production_variantServerlessProductionVariantPropsserverlessProductionVariantServerlessProductionVariantPropsServerlessProductionVariantServerlessProductionVariantPropsServerlessProductionVariantServerlessProductionVariantProps= none#
A serverless production variant. Serverless endpoints automatically launch compute resources and scale them in and out depending on traffic.

Cannot be specified if instanceProductionVariants is specified.

Used as props by ​