aws logo
AWS Classic v5.41.0, May 15 23

aws.sagemaker.Endpoint

Explore with Pulumi AI

Provides a SageMaker Endpoint resource.

Example Usage

Basic usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var endpoint = new Aws.Sagemaker.Endpoint("endpoint", new()
    {
        EndpointConfigName = aws_sagemaker_endpoint_configuration.Ec.Name,
        Tags = 
        {
            { "Name", "foo" },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/sagemaker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sagemaker.NewEndpoint(ctx, "endpoint", &sagemaker.EndpointArgs{
			EndpointConfigName: pulumi.Any(aws_sagemaker_endpoint_configuration.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 endpoint = new Endpoint("endpoint", EndpointArgs.builder()        
            .endpointConfigName(aws_sagemaker_endpoint_configuration.ec().name())
            .tags(Map.of("Name", "foo"))
            .build());

    }
}
import pulumi
import pulumi_aws as aws

endpoint = aws.sagemaker.Endpoint("endpoint",
    endpoint_config_name=aws_sagemaker_endpoint_configuration["ec"]["name"],
    tags={
        "Name": "foo",
    })
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const endpoint = new aws.sagemaker.Endpoint("endpoint", {
    endpointConfigName: aws_sagemaker_endpoint_configuration.ec.name,
    tags: {
        Name: "foo",
    },
});
resources:
  endpoint:
    type: aws:sagemaker:Endpoint
    properties:
      endpointConfigName: ${aws_sagemaker_endpoint_configuration.ec.name}
      tags:
        Name: foo

Create Endpoint Resource

new Endpoint(name: string, args: EndpointArgs, opts?: CustomResourceOptions);
@overload
def Endpoint(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             deployment_config: Optional[EndpointDeploymentConfigArgs] = None,
             endpoint_config_name: Optional[str] = None,
             name: Optional[str] = None,
             tags: Optional[Mapping[str, str]] = None)
@overload
def Endpoint(resource_name: str,
             args: EndpointArgs,
             opts: Optional[ResourceOptions] = None)
func NewEndpoint(ctx *Context, name string, args EndpointArgs, opts ...ResourceOption) (*Endpoint, error)
public Endpoint(string name, EndpointArgs args, CustomResourceOptions? opts = null)
public Endpoint(String name, EndpointArgs args)
public Endpoint(String name, EndpointArgs args, CustomResourceOptions options)
type: aws:sagemaker:Endpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args EndpointArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args EndpointArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EndpointArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Endpoint Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Endpoint resource accepts the following input properties:

EndpointConfigName string

The name of the endpoint configuration to use.

DeploymentConfig Pulumi.Aws.Sagemaker.Inputs.EndpointDeploymentConfigArgs

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

Name string

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

Tags Dictionary<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.

EndpointConfigName string

The name of the endpoint configuration to use.

DeploymentConfig EndpointDeploymentConfigArgs

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

Name string

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

Tags 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.

endpointConfigName String

The name of the endpoint configuration to use.

deploymentConfig EndpointDeploymentConfigArgs

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

name String

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

tags 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.

endpointConfigName string

The name of the endpoint configuration to use.

deploymentConfig EndpointDeploymentConfigArgs

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

name string

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

tags {[key: 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.

endpoint_config_name str

The name of the endpoint configuration to use.

deployment_config EndpointDeploymentConfigArgs

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

name str

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

tags Mapping[str, str]

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.

endpointConfigName String

The name of the endpoint configuration to use.

deploymentConfig Property Map

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

name String

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

tags Map<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.

Outputs

All input properties are implicitly available as output properties. Additionally, the Endpoint resource produces the following output properties:

Arn string

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

Id string

The provider-assigned unique ID for this managed resource.

TagsAll Dictionary<string, string>

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

Arn string

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

Id string

The provider-assigned unique ID for this managed resource.

TagsAll map[string]string

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

arn String

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

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String,String>

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

arn string

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

id string

The provider-assigned unique ID for this managed resource.

tagsAll {[key: string]: string}

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

arn str

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

id str

The provider-assigned unique ID for this managed resource.

tags_all Mapping[str, str]

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

arn String

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

id String

The provider-assigned unique ID for this managed resource.

tagsAll Map<String>

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

Look up Existing Endpoint Resource

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

public static get(name: string, id: Input<ID>, state?: EndpointState, opts?: CustomResourceOptions): Endpoint
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        deployment_config: Optional[EndpointDeploymentConfigArgs] = None,
        endpoint_config_name: Optional[str] = None,
        name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None) -> Endpoint
func GetEndpoint(ctx *Context, name string, id IDInput, state *EndpointState, opts ...ResourceOption) (*Endpoint, error)
public static Endpoint Get(string name, Input<string> id, EndpointState? state, CustomResourceOptions? opts = null)
public static Endpoint get(String name, Output<String> id, EndpointState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string

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

DeploymentConfig Pulumi.Aws.Sagemaker.Inputs.EndpointDeploymentConfigArgs

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

EndpointConfigName string

The name of the endpoint configuration to use.

Name string

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

Tags Dictionary<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.

TagsAll Dictionary<string, string>

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

Arn string

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

DeploymentConfig EndpointDeploymentConfigArgs

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

EndpointConfigName string

The name of the endpoint configuration to use.

Name string

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

Tags 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.

TagsAll map[string]string

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

arn String

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

deploymentConfig EndpointDeploymentConfigArgs

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

endpointConfigName String

The name of the endpoint configuration to use.

name String

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

tags 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.

tagsAll Map<String,String>

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

arn string

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

deploymentConfig EndpointDeploymentConfigArgs

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

endpointConfigName string

The name of the endpoint configuration to use.

name string

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

tags {[key: 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.

tagsAll {[key: string]: string}

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

arn str

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

deployment_config EndpointDeploymentConfigArgs

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

endpoint_config_name str

The name of the endpoint configuration to use.

name str

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

tags Mapping[str, str]

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.

tags_all Mapping[str, str]

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

arn String

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

deploymentConfig Property Map

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

endpointConfigName String

The name of the endpoint configuration to use.

name String

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

tags Map<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.

tagsAll Map<String>

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

Supporting Types

EndpointDeploymentConfig

BlueGreenUpdatePolicy Pulumi.Aws.Sagemaker.Inputs.EndpointDeploymentConfigBlueGreenUpdatePolicy

Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. See Blue Green Update Config.

AutoRollbackConfiguration Pulumi.Aws.Sagemaker.Inputs.EndpointDeploymentConfigAutoRollbackConfiguration

Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.

BlueGreenUpdatePolicy EndpointDeploymentConfigBlueGreenUpdatePolicy

Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. See Blue Green Update Config.

AutoRollbackConfiguration EndpointDeploymentConfigAutoRollbackConfiguration

Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.

blueGreenUpdatePolicy EndpointDeploymentConfigBlueGreenUpdatePolicy

Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. See Blue Green Update Config.

autoRollbackConfiguration EndpointDeploymentConfigAutoRollbackConfiguration

Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.

blueGreenUpdatePolicy EndpointDeploymentConfigBlueGreenUpdatePolicy

Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. See Blue Green Update Config.

autoRollbackConfiguration EndpointDeploymentConfigAutoRollbackConfiguration

Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.

blue_green_update_policy EndpointDeploymentConfigBlueGreenUpdatePolicy

Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. See Blue Green Update Config.

auto_rollback_configuration EndpointDeploymentConfigAutoRollbackConfiguration

Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.

blueGreenUpdatePolicy Property Map

Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. See Blue Green Update Config.

autoRollbackConfiguration Property Map

Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.

EndpointDeploymentConfigAutoRollbackConfiguration

Alarms List<Pulumi.Aws.Sagemaker.Inputs.EndpointDeploymentConfigAutoRollbackConfigurationAlarm>

List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment. See Alarms.

Alarms []EndpointDeploymentConfigAutoRollbackConfigurationAlarm

List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment. See Alarms.

alarms List<EndpointDeploymentConfigAutoRollbackConfigurationAlarm>

List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment. See Alarms.

alarms EndpointDeploymentConfigAutoRollbackConfigurationAlarm[]

List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment. See Alarms.

alarms Sequence[EndpointDeploymentConfigAutoRollbackConfigurationAlarm]

List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment. See Alarms.

alarms List<Property Map>

List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment. See Alarms.

EndpointDeploymentConfigAutoRollbackConfigurationAlarm

AlarmName string

The name of a CloudWatch alarm in your account.

AlarmName string

The name of a CloudWatch alarm in your account.

alarmName String

The name of a CloudWatch alarm in your account.

alarmName string

The name of a CloudWatch alarm in your account.

alarm_name str

The name of a CloudWatch alarm in your account.

alarmName String

The name of a CloudWatch alarm in your account.

EndpointDeploymentConfigBlueGreenUpdatePolicy

TrafficRoutingConfiguration Pulumi.Aws.Sagemaker.Inputs.EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfiguration

Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. See Traffic Routing Configuration.

MaximumExecutionTimeoutInSeconds int

Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in termination_wait_in_seconds and wait_interval_in_seconds. Valid values are between 600 and 14400.

TerminationWaitInSeconds int

Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0. Valid values are between 0 and 3600.

TrafficRoutingConfiguration EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfiguration

Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. See Traffic Routing Configuration.

MaximumExecutionTimeoutInSeconds int

Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in termination_wait_in_seconds and wait_interval_in_seconds. Valid values are between 600 and 14400.

TerminationWaitInSeconds int

Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0. Valid values are between 0 and 3600.

trafficRoutingConfiguration EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfiguration

Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. See Traffic Routing Configuration.

maximumExecutionTimeoutInSeconds Integer

Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in termination_wait_in_seconds and wait_interval_in_seconds. Valid values are between 600 and 14400.

terminationWaitInSeconds Integer

Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0. Valid values are between 0 and 3600.

trafficRoutingConfiguration EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfiguration

Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. See Traffic Routing Configuration.

maximumExecutionTimeoutInSeconds number

Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in termination_wait_in_seconds and wait_interval_in_seconds. Valid values are between 600 and 14400.

terminationWaitInSeconds number

Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0. Valid values are between 0 and 3600.

traffic_routing_configuration EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfiguration

Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. See Traffic Routing Configuration.

maximum_execution_timeout_in_seconds int

Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in termination_wait_in_seconds and wait_interval_in_seconds. Valid values are between 600 and 14400.

termination_wait_in_seconds int

Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0. Valid values are between 0 and 3600.

trafficRoutingConfiguration Property Map

Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. See Traffic Routing Configuration.

maximumExecutionTimeoutInSeconds Number

Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in termination_wait_in_seconds and wait_interval_in_seconds. Valid values are between 600 and 14400.

terminationWaitInSeconds Number

Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0. Valid values are between 0 and 3600.

EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfiguration

Type string

Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR.

WaitIntervalInSeconds int

The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0 and 3600.

CanarySize Pulumi.Aws.Sagemaker.Inputs.EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationCanarySize

Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count. See Canary Size.

LinearStepSize Pulumi.Aws.Sagemaker.Inputs.EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationLinearStepSize

Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count. See Linear Step Size.

Type string

Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR.

WaitIntervalInSeconds int

The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0 and 3600.

CanarySize EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationCanarySize

Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count. See Canary Size.

LinearStepSize EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationLinearStepSize

Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count. See Linear Step Size.

type String

Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR.

waitIntervalInSeconds Integer

The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0 and 3600.

canarySize EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationCanarySize

Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count. See Canary Size.

linearStepSize EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationLinearStepSize

Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count. See Linear Step Size.

type string

Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR.

waitIntervalInSeconds number

The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0 and 3600.

canarySize EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationCanarySize

Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count. See Canary Size.

linearStepSize EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationLinearStepSize

Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count. See Linear Step Size.

type str

Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR.

wait_interval_in_seconds int

The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0 and 3600.

canary_size EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationCanarySize

Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count. See Canary Size.

linear_step_size EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationLinearStepSize

Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count. See Linear Step Size.

type String

Traffic routing strategy type. Valid values are: ALL_AT_ONCE, CANARY, and LINEAR.

waitIntervalInSeconds Number

The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0 and 3600.

canarySize Property Map

Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than or equal to 50% of the variant's total instance count. See Canary Size.

linearStepSize Property Map

Batch size for each step to turn on traffic on the new endpoint fleet. Value must be 10-50% of the variant's total instance count. See Linear Step Size.

EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationCanarySize

Type string

Specifies the endpoint capacity type. Valid values are: INSTANCE_COUNT, or CAPACITY_PERCENT.

Value int

Defines the capacity size, either as a number of instances or a capacity percentage.

Type string

Specifies the endpoint capacity type. Valid values are: INSTANCE_COUNT, or CAPACITY_PERCENT.

Value int

Defines the capacity size, either as a number of instances or a capacity percentage.

type String

Specifies the endpoint capacity type. Valid values are: INSTANCE_COUNT, or CAPACITY_PERCENT.

value Integer

Defines the capacity size, either as a number of instances or a capacity percentage.

type string

Specifies the endpoint capacity type. Valid values are: INSTANCE_COUNT, or CAPACITY_PERCENT.

value number

Defines the capacity size, either as a number of instances or a capacity percentage.

type str

Specifies the endpoint capacity type. Valid values are: INSTANCE_COUNT, or CAPACITY_PERCENT.

value int

Defines the capacity size, either as a number of instances or a capacity percentage.

type String

Specifies the endpoint capacity type. Valid values are: INSTANCE_COUNT, or CAPACITY_PERCENT.

value Number

Defines the capacity size, either as a number of instances or a capacity percentage.

EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationLinearStepSize

Type string

Specifies the endpoint capacity type. Valid values are: INSTANCE_COUNT, or CAPACITY_PERCENT.

Value int

Defines the capacity size, either as a number of instances or a capacity percentage.

Type string

Specifies the endpoint capacity type. Valid values are: INSTANCE_COUNT, or CAPACITY_PERCENT.

Value int

Defines the capacity size, either as a number of instances or a capacity percentage.

type String

Specifies the endpoint capacity type. Valid values are: INSTANCE_COUNT, or CAPACITY_PERCENT.

value Integer

Defines the capacity size, either as a number of instances or a capacity percentage.

type string

Specifies the endpoint capacity type. Valid values are: INSTANCE_COUNT, or CAPACITY_PERCENT.

value number

Defines the capacity size, either as a number of instances or a capacity percentage.

type str

Specifies the endpoint capacity type. Valid values are: INSTANCE_COUNT, or CAPACITY_PERCENT.

value int

Defines the capacity size, either as a number of instances or a capacity percentage.

type String

Specifies the endpoint capacity type. Valid values are: INSTANCE_COUNT, or CAPACITY_PERCENT.

value Number

Defines the capacity size, either as a number of instances or a capacity percentage.

Import

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

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

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.