Class EndpointConfigProps
(experimental) Construction properties for a SageMaker EndpointConfig.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Sagemaker.Alpha
Assembly: Amazon.CDK.AWS.Sagemaker.Alpha.dll
Syntax (csharp)
public class EndpointConfigProps : Object, IEndpointConfigProps
Syntax (vb)
Public Class EndpointConfigProps
Inherits Object
Implements 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
Constructors
EndpointConfigProps() |
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. |
Constructors
EndpointConfigProps()
public EndpointConfigProps()
Properties
EncryptionKey
(experimental) Optional KMS encryption key associated with this stream.
public IKey EncryptionKey { get; set; }
Property Value
Remarks
Default: - none
Stability: Experimental
EndpointConfigName
(experimental) Name of the endpoint configuration.
public string EndpointConfigName { get; set; }
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.
public IInstanceProductionVariantProps[] InstanceProductionVariants { get; set; }
Property Value
IInstanceProductionVariantProps[]
Remarks
You can always add more variants later by calling
EndpointConfig#addInstanceProductionVariant
.
Default: - none
Stability: Experimental