aws.sagemaker.Endpoint
Explore with Pulumi AI
Provides a SageMaker 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={
"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",
})
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
The Endpoint resource accepts the following input properties:
- Endpoint
Config stringName - The name of the endpoint configuration to use.
- Deployment
Config Pulumi.Aws. Sagemaker. Inputs. Endpoint Deployment 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_tags
configuration 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_tags
configuration 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_tags
configuration 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_tags
configuration 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_tags
configuration 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_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:
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.
- Arn string
- The Amazon Resource Name (ARN) assigned by AWS to this endpoint.
- Deployment
Config Pulumi.Aws. Sagemaker. Inputs. Endpoint Deployment 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_tags
configuration 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_tags
configuration 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_tags
configuration 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_tags
configuration 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_tags
configuration 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_tags
configuration 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_tags
configuration 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_tags
configuration 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_tags
configuration 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_tags
configuration 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_tags
configuration 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_tags
configuration block.
Supporting Types
EndpointDeploymentConfig, EndpointDeploymentConfigArgs
- Auto
Rollback Pulumi.Configuration Aws. Sagemaker. Inputs. Endpoint Deployment Config Auto Rollback Configuration - Automatic rollback configuration for handling endpoint deployment failures and recovery. See Auto Rollback Configuration.
- Blue
Green Pulumi.Update Policy Aws. Sagemaker. Inputs. Endpoint 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. SageMaker 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 uses a blue/green deployment strategy with all at once traffic shifting by default. See Blue Green Update Config.
- Rolling
Update Pulumi.Policy Aws. Sagemaker. Inputs. Endpoint Deployment Config Rolling Update Policy - Specifies a rolling deployment strategy for updating a SageMaker 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 creates a new fleet during the deployment while maintaining the old fleet. SageMaker 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 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 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 creates a new fleet during the deployment while maintaining the old fleet. SageMaker 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 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 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 creates a new fleet during the deployment while maintaining the old fleet. SageMaker 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 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 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 creates a new fleet during the deployment while maintaining the old fleet. SageMaker 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 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 endpoint. See Rolling Update Policy.
- auto
Rollback Property MapConfiguration - 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. SageMaker 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 uses a blue/green deployment strategy with all at once traffic shifting by default. See Blue Green Update Config.
- rolling
Update Property MapPolicy - Specifies a rolling deployment strategy for updating a SageMaker endpoint. See Rolling Update Policy.
EndpointDeploymentConfigAutoRollbackConfiguration, EndpointDeploymentConfigAutoRollbackConfigurationArgs
- Alarms
List<Pulumi.
Aws. Sagemaker. Inputs. 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 Pulumi.Configuration Aws. Sagemaker. Inputs. Endpoint 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 between0
and3600
.
- 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 between0
and3600
.
- 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 - 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 between0
and3600
.
- 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 - 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 between0
and3600
.
- 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 between0
and3600
.
- 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 - 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 between0
and3600
.
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
0
and3600
. - Canary
Size Pulumi.Aws. Sagemaker. Inputs. Endpoint Deployment 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 Pulumi.Size Aws. Sagemaker. Inputs. Endpoint 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
0
and3600
. - 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
0
and3600
. - 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
0
and3600
. - 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
0
and3600
. - 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
0
and3600
. - 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
EndpointDeploymentConfigRollingUpdatePolicy, EndpointDeploymentConfigRollingUpdatePolicyArgs
- Maximum
Batch Pulumi.Size Aws. Sagemaker. Inputs. Endpoint 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 monitors alarms for each batch on the new fleet. Valid values are between
0
and3600
. - Maximum
Execution intTimeout In Seconds - The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between
600
and14400
. - Rollback
Maximum Pulumi.Batch Size Aws. Sagemaker. Inputs. Endpoint 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 monitors alarms for each batch on the new fleet. Valid values are between
0
and3600
. - Maximum
Execution intTimeout In Seconds - The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between
600
and14400
. - 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.
- 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 IntegerIn Seconds - The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet. Valid values are between
0
and3600
. - maximum
Execution IntegerTimeout In Seconds - The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between
600
and14400
. - 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.
- 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 numberIn Seconds - The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet. Valid values are between
0
and3600
. - maximum
Execution numberTimeout In Seconds - The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between
600
and14400
. - 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.
- 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 monitors alarms for each batch on the new fleet. Valid values are between
0
and3600
. - maximum_
execution_ inttimeout_ in_ seconds - The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between
600
and14400
. - 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.
- maximum
Batch 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.
- wait
Interval NumberIn Seconds - The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet. Valid values are between
0
and3600
. - maximum
Execution NumberTimeout In Seconds - The time limit for the total deployment. Exceeding this limit causes a timeout. Valid values are between
600
and14400
. - rollback
Maximum 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
aws
Terraform Provider.