> **Experimental**
>
> `@aws-cdk/aws-sagemaker-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# EndpointConfigProps

Construction properties for a SageMaker EndpointConfig.

Extends: EndpointConfigProps
Used as props by: EndpointConfig

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/endpoint-config.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-sagemaker-alpha/lib/endpoint-config.ts#L184)

## 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

- `encryptionKey`: [IKeyRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_kms.IKeyRef.html) = none — Optional KMS encryption key associated with this stream.

- `endpointConfigName`: string — Name of the endpoint configuration.

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

- `instanceProductionVariants`: [InstanceProductionVariantProps](/cdk/api/v2/docs/@aws-cdk_aws-sagemaker-alpha.InstanceProductionVariantProps.html)[] = 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.

- `serverlessProductionVariant`: [ServerlessProductionVariantProps](/cdk/api/v2/docs/@aws-cdk_aws-sagemaker-alpha.ServerlessProductionVariantProps.html) = 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.
