Show / Hide Table of Contents

Class EndpointConfig

(experimental) Defines a SageMaker EndpointConfig.

Inheritance
object
Resource
EndpointConfig
Implements
IEndpointConfig
IResource
IConstruct
IDependable
Inherited Members
Resource.IsOwnedResource(IConstruct)
Resource.IsResource(IConstruct)
Resource.ApplyRemovalPolicy(RemovalPolicy)
Resource.GeneratePhysicalName()
Resource.GetResourceArnAttribute(string, IArnComponents)
Resource.GetResourceNameAttribute(string)
Resource.Env
Resource.PhysicalName
Resource.Stack
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

string

Remarks

Stability: Experimental

EndpointConfigName

(experimental) The name of the endpoint configuration.

public virtual string EndpointConfigName { get; }
Property Value

string

Remarks

Stability: Experimental

PROPERTY_INJECTION_ID

(experimental) Uniquely identifies this class.

public static string PROPERTY_INJECTION_ID { get; }
Property Value

string

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

IEndpointConfig

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

IEndpointConfig

Remarks

Stability: Experimental

Implements

IEndpointConfig
IResource
Constructs.IConstruct
Constructs.IDependable
Back to top Generated by DocFX