Interface ISageMakerCreateEndpointConfigProps
Properties for creating an Amazon SageMaker endpoint configuration.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISageMakerCreateEndpointConfigProps : ITaskStateBaseProps
Syntax (vb)
Public Interface ISageMakerCreateEndpointConfigProps
Inherits ITaskStateBaseProps
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-sagemaker.html
ExampleMetadata: infused
Examples
new SageMakerCreateEndpointConfig(this, "SagemakerEndpointConfig", new SageMakerCreateEndpointConfigProps {
EndpointConfigName = "MyEndpointConfig",
ProductionVariants = new [] { new ProductionVariant {
InitialInstanceCount = 2,
InstanceType = InstanceType.Of(InstanceClass.M5, InstanceSize.XLARGE),
ModelName = "MyModel",
VariantName = "awesome-variant"
} }
});
Synopsis
Properties
EndpointConfigName | The name of the endpoint configuration. |
KmsKey | AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. |
ProductionVariants | An list of ProductionVariant objects, one for each model that you want to host at this endpoint. |
Tags | Tags to be applied to the endpoint configuration. |
Properties
EndpointConfigName
The name of the endpoint configuration.
string EndpointConfigName { get; }
Property Value
System.String
KmsKey
AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
virtual IKey KmsKey { get; }
Property Value
Remarks
Default: - None
ProductionVariants
An list of ProductionVariant objects, one for each model that you want to host at this endpoint.
IProductionVariant[] ProductionVariants { get; }
Property Value
Remarks
Identifies a model that you want to host and the resources to deploy for hosting it. If you are deploying multiple models, tell Amazon SageMaker how to distribute traffic among the models by specifying variant weights.
Tags
Tags to be applied to the endpoint configuration.
virtual TaskInput Tags { get; }
Property Value
Remarks
Default: - No tags