Show / Hide Table of Contents

Class EndpointConfiguration

Provides a SageMaker endpoint configuration resource.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var ec = new Aws.Sagemaker.EndpointConfiguration("ec", new Aws.Sagemaker.EndpointConfigurationArgs
    {
        ProductionVariants = 
        {
            new Aws.Sagemaker.Inputs.EndpointConfigurationProductionVariantArgs
            {
                InitialInstanceCount = 1,
                InstanceType = "ml.t2.medium",
                ModelName = aws_sagemaker_model.M.Name,
                VariantName = "variant-1",
            },
        },
        Tags = 
        {
            { "Name", "foo" },
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
EndpointConfiguration
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Sagemaker
Assembly: Pulumi.Aws.dll
Syntax
public class EndpointConfiguration : CustomResource

Constructors

View Source

EndpointConfiguration(String, EndpointConfigurationArgs, CustomResourceOptions)

Create a EndpointConfiguration resource with the given unique name, arguments, and options.

Declaration
public EndpointConfiguration(string name, EndpointConfigurationArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

EndpointConfigurationArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Arn

The Amazon Resource Name (ARN) assigned by AWS to this endpoint configuration.

Declaration
public Output<string> Arn { get; }
Property Value
Type Description
Output<System.String>
View Source

KmsKeyArn

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

Declaration
public Output<string> KmsKeyArn { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of the endpoint configuration. If omitted, this provider will assign a random, unique name.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

ProductionVariants

Fields are documented below.

Declaration
public Output<ImmutableArray<EndpointConfigurationProductionVariant>> ProductionVariants { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<EndpointConfigurationProductionVariant>>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>

Methods

View Source

Get(String, Input<String>, EndpointConfigurationState, CustomResourceOptions)

Get an existing EndpointConfiguration resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static EndpointConfiguration Get(string name, Input<string> id, EndpointConfigurationState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

EndpointConfigurationState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
EndpointConfiguration
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.