Interface IEndpointConfigProps
(experimental) Construction properties for a SageMaker EndpointConfig.
Namespace: Amazon.CDK.AWS.Sagemaker.Alpha
Assembly: Amazon.CDK.AWS.Sagemaker.Alpha.dll
Syntax (csharp)
public interface IEndpointConfigProps
Syntax (vb)
Public Interface IEndpointConfigProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.Sagemaker.Alpha;
Model modelA;
Model modelB;
var endpointConfig = new EndpointConfig(this, "EndpointConfig", new EndpointConfigProps {
InstanceProductionVariants = new [] { new InstanceProductionVariantProps {
Model = modelA,
VariantName = "modelA",
InitialVariantWeight = 2
}, new InstanceProductionVariantProps {
Model = modelB,
VariantName = "variantB",
InitialVariantWeight = 1
} }
});
Synopsis
Properties
EncryptionKey | (experimental) Optional KMS encryption key associated with this stream. |
EndpointConfigName | (experimental) Name of the endpoint configuration. |
InstanceProductionVariants | (experimental) A list of instance production variants. |
Properties
EncryptionKey
(experimental) Optional KMS encryption key associated with this stream.
virtual IKey EncryptionKey { get; }
Property Value
Remarks
Default: - none
Stability: Experimental
EndpointConfigName
(experimental) Name of the endpoint configuration.
virtual string EndpointConfigName { get; }
Property Value
System.String
Remarks
Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the endpoint configuration's name.
Stability: Experimental
InstanceProductionVariants
(experimental) A list of instance production variants.
virtual IInstanceProductionVariantProps[] InstanceProductionVariants { get; }
Property Value
IInstanceProductionVariantProps[]
Remarks
You can always add more variants later by calling
EndpointConfig#addInstanceProductionVariant
.
Default: - none
Stability: Experimental