» Resource: aws_sagemaker_endpoint

Provides a SageMaker Endpoint resource.

» Example Usage

Basic usage:

resource "aws_sagemaker_endpoint" "e" {
  name                 = "my-endpoint"
  endpoint_config_name = "${aws_sagemaker_endpoint_configuration.ec.name}"

  tags = {
    Name = "foo"

» Argument Reference

The following arguments are supported:

  • endpoint_config_name - (Required) The name of the endpoint configuration to use.
  • name - (Optional) The name of the endpoint. If omitted, Terraform will assign a random, unique name.
  • tags - (Optional) A mapping of tags to assign to the resource.

» Attributes Reference

The following attributes are exported:

  • arn - The Amazon Resource Name (ARN) assigned by AWS to this endpoint.
  • name - The name of the endpoint.

» Import

Endpoints can be imported using the name, e.g.

$ terraform import aws_sagemaker_endpoint.test_endpoint my-endpoint