published on Tuesday, Mar 10, 2026 by Pulumi
published on Tuesday, Mar 10, 2026 by Pulumi
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 * 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",
},
});
import pulumi
import pulumi_aws as aws
endpoint = aws.sagemaker.Endpoint("endpoint",
endpoint_config_name=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
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
{
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,
},
AutoRollbackConfiguration = new Aws.Sagemaker.Inputs.EndpointDeploymentConfigAutoRollbackConfigurationArgs
{
Alarms = new[]
{
new Aws.Sagemaker.Inputs.EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs
{
AlarmName = "string",
},
},
},
},
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := sagemaker.NewEndpoint(ctx, "exampleendpointResourceResourceFromSagemakerendpoint", &sagemaker.EndpointArgs{
EndpointConfigName: pulumi.String("string"),
DeploymentConfig: &sagemaker.EndpointDeploymentConfigArgs{
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),
},
AutoRollbackConfiguration: &sagemaker.EndpointDeploymentConfigAutoRollbackConfigurationArgs{
Alarms: sagemaker.EndpointDeploymentConfigAutoRollbackConfigurationAlarmArray{
&sagemaker.EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs{
AlarmName: pulumi.String("string"),
},
},
},
},
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var exampleendpointResourceResourceFromSagemakerendpoint = new com.pulumi.aws.sagemaker.Endpoint("exampleendpointResourceResourceFromSagemakerendpoint", com.pulumi.aws.sagemaker.EndpointArgs.builder()
.endpointConfigName("string")
.deploymentConfig(EndpointDeploymentConfigArgs.builder()
.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())
.autoRollbackConfiguration(EndpointDeploymentConfigAutoRollbackConfigurationArgs.builder()
.alarms(EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs.builder()
.alarmName("string")
.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={
"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,
},
"auto_rollback_configuration": {
"alarms": [{
"alarm_name": "string",
}],
},
},
name="string",
tags={
"string": "string",
})
const exampleendpointResourceResourceFromSagemakerendpoint = new aws.sagemaker.Endpoint("exampleendpointResourceResourceFromSagemakerendpoint", {
endpointConfigName: "string",
deploymentConfig: {
blueGreenUpdatePolicy: {
trafficRoutingConfiguration: {
type: "string",
waitIntervalInSeconds: 0,
canarySize: {
type: "string",
value: 0,
},
linearStepSize: {
type: "string",
value: 0,
},
},
maximumExecutionTimeoutInSeconds: 0,
terminationWaitInSeconds: 0,
},
autoRollbackConfiguration: {
alarms: [{
alarmName: "string",
}],
},
},
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
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:
- Endpoint
Config stringName - The name of the endpoint configuration to use.
- Deployment
Config 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.
- Endpoint
Config stringName - 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 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.
- endpoint
Config StringName - The name of the endpoint configuration to use.
- deployment
Config 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.
- endpoint
Config stringName - The name of the endpoint configuration to use.
- deployment
Config 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.
- endpoint
Config StringName - The name of the endpoint configuration to use.
- deployment
Config 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.
- Deployment
Config EndpointDeployment Config - The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. See Deployment Config.
- Endpoint
Config 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.
- 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 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.
- deployment
Config EndpointDeployment Config - The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. See Deployment Config.
- endpoint
Config 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.
- deployment
Config EndpointDeployment Config - The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. See Deployment Config.
- endpoint
Config 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.
- deployment
Config Property Map - The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. See Deployment Config.
- endpoint
Config 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
- Blue
Green EndpointUpdate Policy Deployment Config Blue Green Update Policy - 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 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 creates a new fleet during the deployment while maintaining the old fleet. See Blue Green Update Config.
- 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 creates a new fleet during the deployment while maintaining the old fleet. See Blue Green Update Config.
- 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 creates a new fleet during the deployment while maintaining the old fleet. See Blue Green Update Config.
- 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 creates a new fleet during the deployment while maintaining the old fleet. See Blue Green Update Config.
- auto_
rollback_ Endpointconfiguration Deployment Config Auto Rollback Configuration - Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.
- blue
Green Property MapUpdate Policy - 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 Property MapConfiguration - Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.
EndpointDeploymentConfigAutoRollbackConfiguration, EndpointDeploymentConfigAutoRollbackConfigurationArgs
- Alarms
List<Endpoint
Deployment 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 rolls back the deployment. See Alarms.
- Alarms
[]Endpoint
Deployment 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 rolls back the deployment. See Alarms.
- alarms
List<Endpoint
Deployment 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 rolls back the deployment. See Alarms.
- alarms
Endpoint
Deployment 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 rolls back the deployment. See Alarms.
- alarms
Sequence[Endpoint
Deployment 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 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, EndpointDeploymentConfigAutoRollbackConfigurationAlarmArgs
- Alarm
Name string - The name of a CloudWatch alarm in your account.
- Alarm
Name string - The name of a CloudWatch alarm in your account.
- alarm
Name String - The name of a CloudWatch alarm in your account.
- alarm
Name string - The name of a CloudWatch alarm in your account.
- alarm_
name str - The name of a CloudWatch alarm in your account.
- alarm
Name String - The name of a CloudWatch alarm in your account.
EndpointDeploymentConfigBlueGreenUpdatePolicy, EndpointDeploymentConfigBlueGreenUpdatePolicyArgs
- 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 - Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in
termination_wait_in_secondsandwait_interval_in_seconds. Valid values are between600and14400. - 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.
- 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 - Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in
termination_wait_in_secondsandwait_interval_in_seconds. Valid values are between600and14400. - 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.
- 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 IntegerTimeout In Seconds - Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in
termination_wait_in_secondsandwait_interval_in_seconds. Valid values are between600and14400. - termination
Wait 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.
- 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 numberTimeout In Seconds - Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in
termination_wait_in_secondsandwait_interval_in_seconds. Valid values are between600and14400. - termination
Wait 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 - Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in
termination_wait_in_secondsandwait_interval_in_seconds. Valid values are between600and14400. - 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.
- traffic
Routing 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.
- maximum
Execution NumberTimeout In Seconds - Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in
termination_wait_in_secondsandwait_interval_in_seconds. Valid values are between600and14400. - termination
Wait 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. - 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. - 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. - wait
Interval IntegerIn 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. - wait
Interval numberIn 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 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. - wait
Interval NumberIn 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 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.
- linear
Step 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
Import
Endpoints can be imported using the name, e.g.,
$ 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.
published on Tuesday, Mar 10, 2026 by Pulumi