interface EndpointProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Sagemaker.Alpha.EndpointProps |
![]() | github.com/aws/aws-cdk-go/awscdksagemakeralpha/v2#EndpointProps |
![]() | software.amazon.awscdk.services.sagemaker.alpha.EndpointProps |
![]() | aws_cdk.aws_sagemaker_alpha.EndpointProps |
![]() | @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
Name | Type | Description |
---|---|---|
endpoint | IEndpoint | The endpoint configuration to use for this endpoint. |
endpoint | string | Name of the endpoint. |
endpointConfig
Type:
IEndpoint
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.