Class EndpointConfig
(experimental) Defines a SageMaker EndpointConfig.
Inherited Members
Namespace: Amazon.CDK.AWS.Sagemaker.Alpha
Assembly: Amazon.CDK.AWS.Sagemaker.Alpha.dll
Syntax (csharp)
public class EndpointConfig : Resource, IEndpointConfig, IResource, IConstruct, IDependable
Syntax (vb)
Public Class EndpointConfig Inherits Resource Implements IEndpointConfig, IResource, IConstruct, IDependable
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
EndpointConfig(Construct, string, IEndpointConfigProps?) | (experimental) Defines a SageMaker EndpointConfig. |
Properties
EndpointConfigArn | (experimental) The ARN of the endpoint configuration. |
EndpointConfigName | (experimental) The name of the endpoint configuration. |
PROPERTY_INJECTION_ID | (experimental) Uniquely identifies this class. |
Methods
AddInstanceProductionVariant(IInstanceProductionVariantProps) | (experimental) Add production variant to the endpoint configuration. |
FromEndpointConfigArn(Construct, string, string) | (experimental) Imports an EndpointConfig defined either outside the CDK or in a different CDK stack. |
FromEndpointConfigName(Construct, string, string) | (experimental) Imports an EndpointConfig defined either outside the CDK or in a different CDK stack. |
Constructors
EndpointConfig(Construct, string, IEndpointConfigProps?)
(experimental) Defines a SageMaker EndpointConfig.
public EndpointConfig(Construct scope, string id, IEndpointConfigProps? props = null)
Parameters
- scope Construct
- id string
- props IEndpointConfigProps
Remarks
Stability: Experimental
Properties
EndpointConfigArn
(experimental) The ARN of the endpoint configuration.
public virtual string EndpointConfigArn { get; }
Property Value
Remarks
Stability: Experimental
EndpointConfigName
(experimental) The name of the endpoint configuration.
public virtual string EndpointConfigName { get; }
Property Value
Remarks
Stability: Experimental
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
Stability: Experimental
Methods
AddInstanceProductionVariant(IInstanceProductionVariantProps)
(experimental) Add production variant to the endpoint configuration.
public virtual void AddInstanceProductionVariant(IInstanceProductionVariantProps props)
Parameters
- props IInstanceProductionVariantProps
The properties of a production variant to add.
Remarks
Stability: Experimental
FromEndpointConfigArn(Construct, string, string)
(experimental) Imports an EndpointConfig defined either outside the CDK or in a different CDK stack.
public static IEndpointConfig FromEndpointConfigArn(Construct scope, string id, string endpointConfigArn)
Parameters
- scope Construct
the Construct scope.
- id string
the resource id.
- endpointConfigArn string
the ARN of the endpoint configuration.
Returns
Remarks
Stability: Experimental
FromEndpointConfigName(Construct, string, string)
(experimental) Imports an EndpointConfig defined either outside the CDK or in a different CDK stack.
public static IEndpointConfig FromEndpointConfigName(Construct scope, string id, string endpointConfigName)
Parameters
- scope Construct
the Construct scope.
- id string
the resource id.
- endpointConfigName string
the name of the endpoint configuration.
Returns
Remarks
Stability: Experimental