Endpoint

class Endpoint : KotlinCustomResource

Provides a SageMaker AI Endpoint resource.

Example Usage

Basic usage:

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const e = new aws.sagemaker.Endpoint("e", {
name: "my-endpoint",
endpointConfigName: ec.name,
tags: {
Name: "foo",
},
});
import pulumi
import pulumi_aws as aws
e = aws.sagemaker.Endpoint("e",
name="my-endpoint",
endpoint_config_name=ec["name"],
tags={
"Name": "foo",
})
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var e = new Aws.Sagemaker.Endpoint("e", new()
{
Name = "my-endpoint",
EndpointConfigName = ec.Name,
Tags =
{
{ "Name", "foo" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sagemaker"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sagemaker.NewEndpoint(ctx, "e", &sagemaker.EndpointArgs{
Name: pulumi.String("my-endpoint"),
EndpointConfigName: pulumi.Any(ec.Name),
Tags: pulumi.StringMap{
"Name": pulumi.String("foo"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sagemaker.Endpoint;
import com.pulumi.aws.sagemaker.EndpointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var e = new Endpoint("e", EndpointArgs.builder()
.name("my-endpoint")
.endpointConfigName(ec.name())
.tags(Map.of("Name", "foo"))
.build());
}
}
resources:
e:
type: aws:sagemaker:Endpoint
properties:
name: my-endpoint
endpointConfigName: ${ec.name}
tags:
Name: foo

Import

Using pulumi import, import endpoints using the name. For example:

$ pulumi import aws:sagemaker/endpoint:Endpoint test_endpoint my-endpoint

Properties

Link copied to clipboard
val arn: Output<String>

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

Link copied to clipboard

The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. See Deployment Config.

Link copied to clipboard

The name of the endpoint configuration to use.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

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

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>