@aws-cdk_aws-sagemaker-alpha.EndpointProps

interface EndpointProps ๐Ÿ”น

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

Construction properties for a SageMaker Endpoint.

Example

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

declare const endpointConfig: sagemaker.EndpointConfig;

const endpoint = new sagemaker.Endpoint(this, 'Endpoint', { endpointConfig });
const productionVariant = endpoint.findInstanceProductionVariant('my-variant');
productionVariant.metricModelLatency().createAlarm(this, 'ModelLatencyAlarm', {
  threshold: 100000,
  evaluationPeriods: 3,
});

Properties

NameTypeDescription
endpointConfig๐Ÿ”นIEndpointConfigThe endpoint configuration to use for this endpoint.
endpointName?๐Ÿ”นstringName of the endpoint.

endpointConfig๐Ÿ”น

Type: IEndpointConfig

The endpoint configuration to use for this endpoint.


endpointName?๐Ÿ”น

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

Name of the endpoint.