@aws-cdk_aws-sagemaker-alpha.EndpointConfigProps

interface EndpointConfigProps ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.Alpha.EndpointConfigProps
Gogithub.com/aws/aws-cdk-go/awscdksagemakeralpha/v2#EndpointConfigProps
Javasoftware.amazon.awscdk.services.sagemaker.alpha.EndpointConfigProps
Pythonaws_cdk.aws_sagemaker_alpha.EndpointConfigProps
TypeScript (source)@aws-cdk/aws-sagemaker-alpha ยป EndpointConfigProps

Construction properties for a SageMaker EndpointConfig.

Example

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

NameTypeDescription
encryptionKey?๐Ÿ”นIKeyOptional KMS encryption key associated with this stream.
endpointConfigName?๐Ÿ”นstringName of the endpoint configuration.
instanceProductionVariants?๐Ÿ”นInstanceProductionVariantProps[]A list of instance production variants.

encryptionKey?๐Ÿ”น

Type: IKey (optional, default: none)

Optional KMS encryption key associated with this stream.


endpointConfigName?๐Ÿ”น

Type: string (optional, default: AWS CloudFormation generates a unique physical ID and uses that ID for the endpoint configuration's name.)

Name of the endpoint configuration.


instanceProductionVariants?๐Ÿ”น

Type: InstanceProductionVariantProps[] (optional, default: none)

A list of instance production variants.

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