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" },
},
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Sagemaker
Assembly: Pulumi.Aws.dll
Syntax
public class EndpointConfiguration : CustomResource
Constructors
View SourceEndpointConfiguration(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 SourceArn
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> |
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> |
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> |
ProductionVariants
Fields are documented below.
Declaration
public Output<ImmutableArray<EndpointConfigurationProductionVariant>> ProductionVariants { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<EndpointConfigurationProductionVariant>> |
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 SourceGet(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 |