aws.sagemaker.Endpoint
Explore with Pulumi AI
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",
    })
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
	})
}
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 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
Create Endpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Endpoint(name: string, args: EndpointArgs, opts?: CustomResourceOptions);@overload
def Endpoint(resource_name: str,
             args: EndpointArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Endpoint(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             endpoint_config_name: Optional[str] = None,
             deployment_config: Optional[EndpointDeploymentConfigArgs] = None,
             name: Optional[str] = None,
             tags: Optional[Mapping[str, str]] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleendpointResourceResourceFromSagemakerendpoint = new Aws.Sagemaker.Endpoint("exampleendpointResourceResourceFromSagemakerendpoint", new()
{
    EndpointConfigName = "string",
    DeploymentConfig = new Aws.Sagemaker.Inputs.EndpointDeploymentConfigArgs
    {
        AutoRollbackConfiguration = new Aws.Sagemaker.Inputs.EndpointDeploymentConfigAutoRollbackConfigurationArgs
        {
            Alarms = new[]
            {
                new Aws.Sagemaker.Inputs.EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs
                {
                    AlarmName = "string",
                },
            },
        },
        BlueGreenUpdatePolicy = new Aws.Sagemaker.Inputs.EndpointDeploymentConfigBlueGreenUpdatePolicyArgs
        {
            TrafficRoutingConfiguration = new Aws.Sagemaker.Inputs.EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs
            {
                Type = "string",
                WaitIntervalInSeconds = 0,
                CanarySize = new Aws.Sagemaker.Inputs.EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationCanarySizeArgs
                {
                    Type = "string",
                    Value = 0,
                },
                LinearStepSize = new Aws.Sagemaker.Inputs.EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationLinearStepSizeArgs
                {
                    Type = "string",
                    Value = 0,
                },
            },
            MaximumExecutionTimeoutInSeconds = 0,
            TerminationWaitInSeconds = 0,
        },
        RollingUpdatePolicy = new Aws.Sagemaker.Inputs.EndpointDeploymentConfigRollingUpdatePolicyArgs
        {
            MaximumBatchSize = new Aws.Sagemaker.Inputs.EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSizeArgs
            {
                Type = "string",
                Value = 0,
            },
            WaitIntervalInSeconds = 0,
            MaximumExecutionTimeoutInSeconds = 0,
            RollbackMaximumBatchSize = new Aws.Sagemaker.Inputs.EndpointDeploymentConfigRollingUpdatePolicyRollbackMaximumBatchSizeArgs
            {
                Type = "string",
                Value = 0,
            },
        },
    },
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := sagemaker.NewEndpoint(ctx, "exampleendpointResourceResourceFromSagemakerendpoint", &sagemaker.EndpointArgs{
	EndpointConfigName: pulumi.String("string"),
	DeploymentConfig: &sagemaker.EndpointDeploymentConfigArgs{
		AutoRollbackConfiguration: &sagemaker.EndpointDeploymentConfigAutoRollbackConfigurationArgs{
			Alarms: sagemaker.EndpointDeploymentConfigAutoRollbackConfigurationAlarmArray{
				&sagemaker.EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs{
					AlarmName: pulumi.String("string"),
				},
			},
		},
		BlueGreenUpdatePolicy: &sagemaker.EndpointDeploymentConfigBlueGreenUpdatePolicyArgs{
			TrafficRoutingConfiguration: &sagemaker.EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs{
				Type:                  pulumi.String("string"),
				WaitIntervalInSeconds: pulumi.Int(0),
				CanarySize: &sagemaker.EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationCanarySizeArgs{
					Type:  pulumi.String("string"),
					Value: pulumi.Int(0),
				},
				LinearStepSize: &sagemaker.EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationLinearStepSizeArgs{
					Type:  pulumi.String("string"),
					Value: pulumi.Int(0),
				},
			},
			MaximumExecutionTimeoutInSeconds: pulumi.Int(0),
			TerminationWaitInSeconds:         pulumi.Int(0),
		},
		RollingUpdatePolicy: &sagemaker.EndpointDeploymentConfigRollingUpdatePolicyArgs{
			MaximumBatchSize: &sagemaker.EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSizeArgs{
				Type:  pulumi.String("string"),
				Value: pulumi.Int(0),
			},
			WaitIntervalInSeconds:            pulumi.Int(0),
			MaximumExecutionTimeoutInSeconds: pulumi.Int(0),
			RollbackMaximumBatchSize: &sagemaker.EndpointDeploymentConfigRollingUpdatePolicyRollbackMaximumBatchSizeArgs{
				Type:  pulumi.String("string"),
				Value: pulumi.Int(0),
			},
		},
	},
	Name: pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var exampleendpointResourceResourceFromSagemakerendpoint = new Endpoint("exampleendpointResourceResourceFromSagemakerendpoint", EndpointArgs.builder()
    .endpointConfigName("string")
    .deploymentConfig(EndpointDeploymentConfigArgs.builder()
        .autoRollbackConfiguration(EndpointDeploymentConfigAutoRollbackConfigurationArgs.builder()
            .alarms(EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs.builder()
                .alarmName("string")
                .build())
            .build())
        .blueGreenUpdatePolicy(EndpointDeploymentConfigBlueGreenUpdatePolicyArgs.builder()
            .trafficRoutingConfiguration(EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs.builder()
                .type("string")
                .waitIntervalInSeconds(0)
                .canarySize(EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationCanarySizeArgs.builder()
                    .type("string")
                    .value(0)
                    .build())
                .linearStepSize(EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationLinearStepSizeArgs.builder()
                    .type("string")
                    .value(0)
                    .build())
                .build())
            .maximumExecutionTimeoutInSeconds(0)
            .terminationWaitInSeconds(0)
            .build())
        .rollingUpdatePolicy(EndpointDeploymentConfigRollingUpdatePolicyArgs.builder()
            .maximumBatchSize(EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSizeArgs.builder()
                .type("string")
                .value(0)
                .build())
            .waitIntervalInSeconds(0)
            .maximumExecutionTimeoutInSeconds(0)
            .rollbackMaximumBatchSize(EndpointDeploymentConfigRollingUpdatePolicyRollbackMaximumBatchSizeArgs.builder()
                .type("string")
                .value(0)
                .build())
            .build())
        .build())
    .name("string")
    .tags(Map.of("string", "string"))
    .build());
exampleendpoint_resource_resource_from_sagemakerendpoint = aws.sagemaker.Endpoint("exampleendpointResourceResourceFromSagemakerendpoint",
    endpoint_config_name="string",
    deployment_config={
        "auto_rollback_configuration": {
            "alarms": [{
                "alarm_name": "string",
            }],
        },
        "blue_green_update_policy": {
            "traffic_routing_configuration": {
                "type": "string",
                "wait_interval_in_seconds": 0,
                "canary_size": {
                    "type": "string",
                    "value": 0,
                },
                "linear_step_size": {
                    "type": "string",
                    "value": 0,
                },
            },
            "maximum_execution_timeout_in_seconds": 0,
            "termination_wait_in_seconds": 0,
        },
        "rolling_update_policy": {
            "maximum_batch_size": {
                "type": "string",
                "value": 0,
            },
            "wait_interval_in_seconds": 0,
            "maximum_execution_timeout_in_seconds": 0,
            "rollback_maximum_batch_size": {
                "type": "string",
                "value": 0,
            },
        },
    },
    name="string",
    tags={
        "string": "string",
    })
const exampleendpointResourceResourceFromSagemakerendpoint = new aws.sagemaker.Endpoint("exampleendpointResourceResourceFromSagemakerendpoint", {
    endpointConfigName: "string",
    deploymentConfig: {
        autoRollbackConfiguration: {
            alarms: [{
                alarmName: "string",
            }],
        },
        blueGreenUpdatePolicy: {
            trafficRoutingConfiguration: {
                type: "string",
                waitIntervalInSeconds: 0,
                canarySize: {
                    type: "string",
                    value: 0,
                },
                linearStepSize: {
                    type: "string",
                    value: 0,
                },
            },
            maximumExecutionTimeoutInSeconds: 0,
            terminationWaitInSeconds: 0,
        },
        rollingUpdatePolicy: {
            maximumBatchSize: {
                type: "string",
                value: 0,
            },
            waitIntervalInSeconds: 0,
            maximumExecutionTimeoutInSeconds: 0,
            rollbackMaximumBatchSize: {
                type: "string",
                value: 0,
            },
        },
    },
    name: "string",
    tags: {
        string: "string",
    },
});
type: aws:sagemaker:Endpoint
properties:
    deploymentConfig:
        autoRollbackConfiguration:
            alarms:
                - alarmName: string
        blueGreenUpdatePolicy:
            maximumExecutionTimeoutInSeconds: 0
            terminationWaitInSeconds: 0
            trafficRoutingConfiguration:
                canarySize:
                    type: string
                    value: 0
                linearStepSize:
                    type: string
                    value: 0
                type: string
                waitIntervalInSeconds: 0
        rollingUpdatePolicy:
            maximumBatchSize:
                type: string
                value: 0
            maximumExecutionTimeoutInSeconds: 0
            rollbackMaximumBatchSize:
                type: string
                value: 0
            waitIntervalInSeconds: 0
    endpointConfigName: string
    name: string
    tags:
        string: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Endpoint resource accepts the following input properties:
- EndpointConfig stringName 
- The name of the endpoint configuration to use.
- DeploymentConfig EndpointDeployment Config 
- 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.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- EndpointConfig stringName 
- The name of the endpoint configuration to use.
- DeploymentConfig EndpointDeployment Config Args 
- 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.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- endpointConfig StringName 
- The name of the endpoint configuration to use.
- deploymentConfig EndpointDeployment Config 
- 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.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- endpointConfig stringName 
- The name of the endpoint configuration to use.
- deploymentConfig EndpointDeployment Config 
- 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.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- endpoint_config_ strname 
- The name of the endpoint configuration to use.
- deployment_config EndpointDeployment Config Args 
- 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.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- endpointConfig StringName 
- 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.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration 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:
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) -> Endpointfunc 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)resources:  _:    type: aws:sagemaker:Endpoint    get:      id: ${id}- 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.
- Arn string
- The Amazon Resource Name (ARN) assigned by AWS to this endpoint.
- DeploymentConfig EndpointDeployment Config 
- The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. See Deployment Config.
- EndpointConfig stringName 
- 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.
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Arn string
- The Amazon Resource Name (ARN) assigned by AWS to this endpoint.
- DeploymentConfig EndpointDeployment Config Args 
- The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. See Deployment Config.
- EndpointConfig stringName 
- 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.
- map[string]string
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- The Amazon Resource Name (ARN) assigned by AWS to this endpoint.
- deploymentConfig EndpointDeployment Config 
- The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. See Deployment Config.
- endpointConfig StringName 
- 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.
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn string
- The Amazon Resource Name (ARN) assigned by AWS to this endpoint.
- deploymentConfig EndpointDeployment Config 
- The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. See Deployment Config.
- endpointConfig stringName 
- 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.
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn str
- The Amazon Resource Name (ARN) assigned by AWS to this endpoint.
- deployment_config EndpointDeployment Config Args 
- The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. See Deployment Config.
- endpoint_config_ strname 
- 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.
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration 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.
- endpointConfig StringName 
- 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.
- Map<String>
- A map of tags to assign to the resource. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Supporting Types
EndpointDeploymentConfig, EndpointDeploymentConfigArgs      
- AutoRollback EndpointConfiguration Deployment Config Auto Rollback Configuration 
- Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.
- BlueGreen EndpointUpdate Policy Deployment Config Blue Green Update Policy 
- Update policy for a blue/green deployment. If this update policy is specified, SageMaker AI creates a new fleet during the deployment while maintaining the old fleet. SageMaker AI flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker AI uses a blue/green deployment strategy with all at once traffic shifting by default. See Blue Green Update Config.
- RollingUpdate EndpointPolicy Deployment Config Rolling Update Policy 
- Specifies a rolling deployment strategy for updating a SageMaker AI endpoint. See Rolling Update Policy.
- AutoRollback EndpointConfiguration Deployment Config Auto Rollback Configuration 
- Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.
- BlueGreen EndpointUpdate Policy Deployment Config Blue Green Update Policy 
- Update policy for a blue/green deployment. If this update policy is specified, SageMaker AI creates a new fleet during the deployment while maintaining the old fleet. SageMaker AI flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker AI uses a blue/green deployment strategy with all at once traffic shifting by default. See Blue Green Update Config.
- RollingUpdate EndpointPolicy Deployment Config Rolling Update Policy 
- Specifies a rolling deployment strategy for updating a SageMaker AI endpoint. See Rolling Update Policy.
- autoRollback EndpointConfiguration Deployment Config Auto Rollback Configuration 
- Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.
- blueGreen EndpointUpdate Policy Deployment Config Blue Green Update Policy 
- Update policy for a blue/green deployment. If this update policy is specified, SageMaker AI creates a new fleet during the deployment while maintaining the old fleet. SageMaker AI flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker AI uses a blue/green deployment strategy with all at once traffic shifting by default. See Blue Green Update Config.
- rollingUpdate EndpointPolicy Deployment Config Rolling Update Policy 
- Specifies a rolling deployment strategy for updating a SageMaker AI endpoint. See Rolling Update Policy.
- autoRollback EndpointConfiguration Deployment Config Auto Rollback Configuration 
- Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.
- blueGreen EndpointUpdate Policy Deployment Config Blue Green Update Policy 
- Update policy for a blue/green deployment. If this update policy is specified, SageMaker AI creates a new fleet during the deployment while maintaining the old fleet. SageMaker AI flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker AI uses a blue/green deployment strategy with all at once traffic shifting by default. See Blue Green Update Config.
- rollingUpdate EndpointPolicy Deployment Config Rolling Update Policy 
- Specifies a rolling deployment strategy for updating a SageMaker AI endpoint. See Rolling Update Policy.
- auto_rollback_ Endpointconfiguration Deployment Config Auto Rollback Configuration 
- Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.
- blue_green_ Endpointupdate_ policy Deployment Config Blue Green Update Policy 
- Update policy for a blue/green deployment. If this update policy is specified, SageMaker AI creates a new fleet during the deployment while maintaining the old fleet. SageMaker AI flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker AI uses a blue/green deployment strategy with all at once traffic shifting by default. See Blue Green Update Config.
- rolling_update_ Endpointpolicy Deployment Config Rolling Update Policy 
- Specifies a rolling deployment strategy for updating a SageMaker AI endpoint. See Rolling Update Policy.
- autoRollback Property MapConfiguration 
- Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.
- blueGreen Property MapUpdate Policy 
- Update policy for a blue/green deployment. If this update policy is specified, SageMaker AI creates a new fleet during the deployment while maintaining the old fleet. SageMaker AI flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker AI uses a blue/green deployment strategy with all at once traffic shifting by default. See Blue Green Update Config.
- rollingUpdate Property MapPolicy 
- Specifies a rolling deployment strategy for updating a SageMaker AI endpoint. See Rolling Update Policy.
EndpointDeploymentConfigAutoRollbackConfiguration, EndpointDeploymentConfigAutoRollbackConfigurationArgs            
- Alarms
List<EndpointDeployment Config Auto Rollback Configuration Alarm> 
- 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 AI rolls back the deployment. See Alarms.
- Alarms
[]EndpointDeployment Config Auto Rollback Configuration Alarm 
- 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 AI rolls back the deployment. See Alarms.
- alarms
List<EndpointDeployment Config Auto Rollback Configuration Alarm> 
- 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 AI rolls back the deployment. See Alarms.
- alarms
EndpointDeployment Config Auto Rollback Configuration Alarm[] 
- 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 AI rolls back the deployment. See Alarms.
- alarms
Sequence[EndpointDeployment Config Auto Rollback Configuration Alarm] 
- 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 AI 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 AI rolls back the deployment. See Alarms.
EndpointDeploymentConfigAutoRollbackConfigurationAlarm, EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs              
- 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, EndpointDeploymentConfigBlueGreenUpdatePolicyArgs              
- TrafficRouting EndpointConfiguration Deployment Config Blue Green Update Policy Traffic Routing Configuration 
- Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. See Traffic Routing Configuration.
- MaximumExecution intTimeout In Seconds 
- TerminationWait intIn Seconds 
- Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0. Valid values are between0and3600.
- TrafficRouting EndpointConfiguration Deployment Config Blue Green Update Policy Traffic Routing Configuration 
- Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. See Traffic Routing Configuration.
- MaximumExecution intTimeout In Seconds 
- TerminationWait intIn Seconds 
- Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0. Valid values are between0and3600.
- trafficRouting EndpointConfiguration Deployment Config Blue Green Update Policy Traffic Routing Configuration 
- Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. See Traffic Routing Configuration.
- maximumExecution IntegerTimeout In Seconds 
- terminationWait IntegerIn Seconds 
- Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0. Valid values are between0and3600.
- trafficRouting EndpointConfiguration Deployment Config Blue Green Update Policy Traffic Routing Configuration 
- Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. See Traffic Routing Configuration.
- maximumExecution numberTimeout In Seconds 
- terminationWait numberIn Seconds 
- Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0. Valid values are between0and3600.
- traffic_routing_ Endpointconfiguration Deployment Config Blue Green Update Policy Traffic Routing Configuration 
- 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_ inttimeout_ in_ seconds 
- termination_wait_ intin_ seconds 
- Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0. Valid values are between0and3600.
- trafficRouting Property MapConfiguration 
- Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment. See Traffic Routing Configuration.
- maximumExecution NumberTimeout In Seconds 
- terminationWait NumberIn Seconds 
- Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0. Valid values are between0and3600.
EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfiguration, EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationArgs                    
- Type string
- Traffic routing strategy type. Valid values are: ALL_AT_ONCE,CANARY, andLINEAR.
- WaitInterval intIn Seconds 
- The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0and3600.
- CanarySize EndpointDeployment Config Blue Green Update Policy Traffic Routing Configuration Canary Size 
- 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.
- LinearStep EndpointSize Deployment Config Blue Green Update Policy Traffic Routing Configuration Linear Step Size 
- 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, andLINEAR.
- WaitInterval intIn Seconds 
- The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0and3600.
- CanarySize EndpointDeployment Config Blue Green Update Policy Traffic Routing Configuration Canary Size 
- 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.
- LinearStep EndpointSize Deployment Config Blue Green Update Policy Traffic Routing Configuration Linear Step Size 
- 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, andLINEAR.
- waitInterval IntegerIn Seconds 
- The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0and3600.
- canarySize EndpointDeployment Config Blue Green Update Policy Traffic Routing Configuration Canary Size 
- 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.
- linearStep EndpointSize Deployment Config Blue Green Update Policy Traffic Routing Configuration Linear Step Size 
- 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, andLINEAR.
- waitInterval numberIn Seconds 
- The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0and3600.
- canarySize EndpointDeployment Config Blue Green Update Policy Traffic Routing Configuration Canary Size 
- 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.
- linearStep EndpointSize Deployment Config Blue Green Update Policy Traffic Routing Configuration Linear Step Size 
- 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, andLINEAR.
- wait_interval_ intin_ seconds 
- The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0and3600.
- canary_size EndpointDeployment Config Blue Green Update Policy Traffic Routing Configuration Canary Size 
- 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_ Endpointsize Deployment Config Blue Green Update Policy Traffic Routing Configuration Linear Step Size 
- 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, andLINEAR.
- waitInterval NumberIn Seconds 
- The waiting time (in seconds) between incremental steps to turn on traffic on the new endpoint fleet. Valid values are between 0and3600.
- 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.
- linearStep Property MapSize 
- 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, EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationCanarySizeArgs                        
EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationLinearStepSize, EndpointDeploymentConfigBlueGreenUpdatePolicyTrafficRoutingConfigurationLinearStepSizeArgs                          
EndpointDeploymentConfigRollingUpdatePolicy, EndpointDeploymentConfigRollingUpdatePolicyArgs            
- MaximumBatch EndpointSize Deployment Config Rolling Update Policy Maximum Batch Size 
- Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count. See Maximum Batch Size.
- WaitInterval intIn Seconds 
- The length of the baking period, during which SageMaker AI monitors alarms for each batch on the new fleet. Valid values are between 0and3600.
- MaximumExecution intTimeout In Seconds 
- The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between 600and14400.
- RollbackMaximum EndpointBatch Size Deployment Config Rolling Update Policy Rollback Maximum Batch Size 
- Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback. See Rollback Maximum Batch Size.
- MaximumBatch EndpointSize Deployment Config Rolling Update Policy Maximum Batch Size 
- Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count. See Maximum Batch Size.
- WaitInterval intIn Seconds 
- The length of the baking period, during which SageMaker AI monitors alarms for each batch on the new fleet. Valid values are between 0and3600.
- MaximumExecution intTimeout In Seconds 
- The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between 600and14400.
- RollbackMaximum EndpointBatch Size Deployment Config Rolling Update Policy Rollback Maximum Batch Size 
- Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback. See Rollback Maximum Batch Size.
- maximumBatch EndpointSize Deployment Config Rolling Update Policy Maximum Batch Size 
- Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count. See Maximum Batch Size.
- waitInterval IntegerIn Seconds 
- The length of the baking period, during which SageMaker AI monitors alarms for each batch on the new fleet. Valid values are between 0and3600.
- maximumExecution IntegerTimeout In Seconds 
- The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between 600and14400.
- rollbackMaximum EndpointBatch Size Deployment Config Rolling Update Policy Rollback Maximum Batch Size 
- Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback. See Rollback Maximum Batch Size.
- maximumBatch EndpointSize Deployment Config Rolling Update Policy Maximum Batch Size 
- Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count. See Maximum Batch Size.
- waitInterval numberIn Seconds 
- The length of the baking period, during which SageMaker AI monitors alarms for each batch on the new fleet. Valid values are between 0and3600.
- maximumExecution numberTimeout In Seconds 
- The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between 600and14400.
- rollbackMaximum EndpointBatch Size Deployment Config Rolling Update Policy Rollback Maximum Batch Size 
- Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback. See Rollback Maximum Batch Size.
- maximum_batch_ Endpointsize Deployment Config Rolling Update Policy Maximum Batch Size 
- Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count. See Maximum Batch Size.
- wait_interval_ intin_ seconds 
- The length of the baking period, during which SageMaker AI monitors alarms for each batch on the new fleet. Valid values are between 0and3600.
- maximum_execution_ inttimeout_ in_ seconds 
- The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between 600and14400.
- rollback_maximum_ Endpointbatch_ size Deployment Config Rolling Update Policy Rollback Maximum Batch Size 
- Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback. See Rollback Maximum Batch Size.
- maximumBatch Property MapSize 
- Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count. See Maximum Batch Size.
- waitInterval NumberIn Seconds 
- The length of the baking period, during which SageMaker AI monitors alarms for each batch on the new fleet. Valid values are between 0and3600.
- maximumExecution NumberTimeout In Seconds 
- The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between 600and14400.
- rollbackMaximum Property MapBatch Size 
- Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback. See Rollback Maximum Batch Size.
EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSize, EndpointDeploymentConfigRollingUpdatePolicyMaximumBatchSizeArgs                  
EndpointDeploymentConfigRollingUpdatePolicyRollbackMaximumBatchSize, EndpointDeploymentConfigRollingUpdatePolicyRollbackMaximumBatchSizeArgs                    
Import
Using pulumi import, import endpoints using the name. For example:
$ pulumi import aws:sagemaker/endpoint:Endpoint test_endpoint my-endpoint
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.