Show / Hide Table of Contents

Class CfnEndpointConfig

A CloudFormation AWS::SageMaker::EndpointConfig.

Inheritance
System.Object
Construct
CfnElement
CfnRefElement
CfnResource
CfnEndpointConfig
Implements
IConstruct
Constructs.IConstruct
IDependable
IInspectable
Inherited Members
CfnResource.IsCfnResource(IConstruct)
CfnResource.AddDeletionOverride(String)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(String, Object)
CfnResource.AddOverride(String, Object)
CfnResource.AddPropertyDeletionOverride(String)
CfnResource.AddPropertyOverride(String, Object)
CfnResource.ApplyRemovalPolicy(Nullable<RemovalPolicy>, IRemovalPolicyOptions)
CfnResource.GetAtt(String)
CfnResource.GetMetadata(String)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(Object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnRefElement.Ref
CfnElement.IsCfnElement(Object)
CfnElement.OverrideLogicalId(String)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Construct.IsConstruct(Object)
Construct.OnPrepare()
Construct.OnSynthesize(ISynthesisSession)
Construct.OnValidate()
Construct.Prepare()
Construct.Synthesize(ISynthesisSession)
Construct.Validate()
Construct.Node
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class CfnEndpointConfig : CfnResource, IConstruct, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnEndpointConfig
    Inherits CfnResource
    Implements IConstruct, IConstruct, IDependable, IInspectable
Remarks

The AWS::SageMaker::EndpointConfig resource creates a configuration for an Amazon SageMaker endpoint. For more information, see CreateEndpointConfig in the SageMaker Developer Guide .

CloudformationResource: AWS::SageMaker::EndpointConfig

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;

CfnEndpointConfig cfnEndpointConfig = new CfnEndpointConfig(this, "MyCfnEndpointConfig", new CfnEndpointConfigProps {
    ProductionVariants = new [] { new ProductionVariantProperty {
        InitialVariantWeight = 123,
        ModelName = "modelName",
        VariantName = "variantName",

        // the properties below are optional
        AcceleratorType = "acceleratorType",
        InitialInstanceCount = 123,
        InstanceType = "instanceType",
        ServerlessConfig = new ServerlessConfigProperty {
            MaxConcurrency = 123,
            MemorySizeInMb = 123
        }
    } },

    // the properties below are optional
    AsyncInferenceConfig = new AsyncInferenceConfigProperty {
        OutputConfig = new AsyncInferenceOutputConfigProperty {
            S3OutputPath = "s3OutputPath",

            // the properties below are optional
            KmsKeyId = "kmsKeyId",
            NotificationConfig = new AsyncInferenceNotificationConfigProperty {
                ErrorTopic = "errorTopic",
                SuccessTopic = "successTopic"
            }
        },

        // the properties below are optional
        ClientConfig = new AsyncInferenceClientConfigProperty {
            MaxConcurrentInvocationsPerInstance = 123
        }
    },
    DataCaptureConfig = new DataCaptureConfigProperty {
        CaptureOptions = new [] { new CaptureOptionProperty {
            CaptureMode = "captureMode"
        } },
        DestinationS3Uri = "destinationS3Uri",
        InitialSamplingPercentage = 123,

        // the properties below are optional
        CaptureContentTypeHeader = new CaptureContentTypeHeaderProperty {
            CsvContentTypes = new [] { "csvContentTypes" },
            JsonContentTypes = new [] { "jsonContentTypes" }
        },
        EnableCapture = false,
        KmsKeyId = "kmsKeyId"
    },
    EndpointConfigName = "endpointConfigName",
    KmsKeyId = "kmsKeyId",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
});

Synopsis

Constructors

CfnEndpointConfig(Construct, String, ICfnEndpointConfigProps)

Create a new AWS::SageMaker::EndpointConfig.

CfnEndpointConfig(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

CfnEndpointConfig(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

Properties

AsyncInferenceConfig

Specifies configuration for how an endpoint performs asynchronous inference.

AttrEndpointConfigName

The name of the endpoint configuration, such as MyEndpointConfiguration .

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties
DataCaptureConfig

Specifies how to capture endpoint data for model monitor.

EndpointConfigName

The name of the endpoint configuration.

KmsKeyId

The Amazon Resource Name (ARN) of an 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

A list of ProductionVariant objects, one for each model that you want to host at this endpoint.

Tags

A list of key-value pairs to apply to this resource.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<String, Object>)

Constructors

CfnEndpointConfig(Construct, String, ICfnEndpointConfigProps)

Create a new AWS::SageMaker::EndpointConfig.

public CfnEndpointConfig(Construct scope, string id, ICfnEndpointConfigProps props)
Parameters
scope Construct
  • scope in which this resource is defined.
id System.String
  • scoped id of the resource.
props ICfnEndpointConfigProps
  • resource properties.

CfnEndpointConfig(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected CfnEndpointConfig(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

CfnEndpointConfig(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected CfnEndpointConfig(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

Properties

AsyncInferenceConfig

Specifies configuration for how an endpoint performs asynchronous inference.

public virtual object AsyncInferenceConfig { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-asyncinferenceconfig

AttrEndpointConfigName

The name of the endpoint configuration, such as MyEndpointConfiguration .

public virtual string AttrEndpointConfigName { get; }
Property Value

System.String

Remarks

CloudformationAttribute: EndpointConfigName

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

System.String

CfnProperties

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

System.Collections.Generic.IDictionary<System.String, System.Object>

Overrides
CfnResource.CfnProperties

DataCaptureConfig

Specifies how to capture endpoint data for model monitor.

public virtual object DataCaptureConfig { get; set; }
Property Value

System.Object

Remarks

The data capture configuration applies to all production variants hosted at the endpoint.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-datacaptureconfig

EndpointConfigName

The name of the endpoint configuration.

public virtual string EndpointConfigName { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-endpointconfigname

KmsKeyId

The Amazon Resource Name (ARN) of an 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.

public virtual string KmsKeyId { get; set; }
Property Value

System.String

Remarks

    The KMS key policy must grant permission to the IAM role that you specify in your CreateEndpoint , UpdateEndpoint requests. For more information, refer to the AWS Key Management Service section Using Key Policies in AWS KMS

    Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can&apos;t request a <code>KmsKeyId</code> when using an instance type with local storage. If any of the models that you specify in the <code>ProductionVariants</code> parameter use nitro-based instances with local storage, do not specify a value for the <code>KmsKeyId</code> parameter. If you specify a value for <code>KmsKeyId</code> when using any nitro-based instances with local storage, the call to <code>CreateEndpointConfig</code> fails.
    

    For a list of instance types that support local instance storage, see Instance Store Volumes .

    For more information about local instance storage encryption, see SSD Instance Store Volumes .

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-kmskeyid

    ProductionVariants

    A list of ProductionVariant objects, one for each model that you want to host at this endpoint.

    public virtual object ProductionVariants { get; set; }
    Property Value

    System.Object

    Remarks

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-productionvariants

    Tags

    A list of key-value pairs to apply to this resource.

    public virtual TagManager Tags { get; }
    Property Value

    TagManager

    Remarks

    For more information, see Resource Tag and Using Cost Allocation Tags .

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-tags

    Methods

    Inspect(TreeInspector)

    Examines the CloudFormation resource and discloses attributes.

    public virtual void Inspect(TreeInspector inspector)
    Parameters
    inspector TreeInspector
    • tree inspector to collect and process attributes.

    RenderProperties(IDictionary<String, Object>)

    protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
    Parameters
    props System.Collections.Generic.IDictionary<System.String, System.Object>
    Returns

    System.Collections.Generic.IDictionary<System.String, System.Object>

    Overrides
    CfnResource.RenderProperties(IDictionary<String, Object>)

    Implements

    IConstruct
    Constructs.IConstruct
    IDependable
    IInspectable
    Back to top Generated by DocFX