Try AWS Native preview for resources not in the classic version.
aws.sagemaker.Endpoint
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
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/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, "endpoint", &sagemaker.EndpointArgs{
EndpointConfigName: pulumi.Any(aws_sagemaker_endpoint_configuration.Ec.Name),
Tags: pulumi.StringMap{
"Name": pulumi.String("foo"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sagemaker.Endpoint;
import com.pulumi.aws.sagemaker.EndpointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var endpoint = new Endpoint("endpoint", EndpointArgs.builder()
.endpointConfigName(aws_sagemaker_endpoint_configuration.ec().name())
.tags(Map.of("Name", "foo"))
.build());
}
}
import pulumi
import pulumi_aws as aws
endpoint = aws.sagemaker.Endpoint("endpoint",
endpoint_config_name=aws_sagemaker_endpoint_configuration["ec"]["name"],
tags={
"Name": "foo",
})
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const endpoint = new aws.sagemaker.Endpoint("endpoint", {
endpointConfigName: aws_sagemaker_endpoint_configuration.ec.name,
tags: {
Name: "foo",
},
});
resources:
endpoint:
type: aws:sagemaker:Endpoint
properties:
endpointConfigName: ${aws_sagemaker_endpoint_configuration.ec.name}
tags:
Name: foo
Create Endpoint Resource
new Endpoint(name: string, args: EndpointArgs, opts?: CustomResourceOptions);
@overload
def Endpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
deployment_config: Optional[EndpointDeploymentConfigArgs] = None,
endpoint_config_name: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def Endpoint(resource_name: str,
args: EndpointArgs,
opts: Optional[ResourceOptions] = None)
func NewEndpoint(ctx *Context, name string, args EndpointArgs, opts ...ResourceOption) (*Endpoint, error)
public Endpoint(string name, EndpointArgs args, CustomResourceOptions? opts = null)
public Endpoint(String name, EndpointArgs args)
public Endpoint(String name, EndpointArgs args, CustomResourceOptions options)
type: aws:sagemaker:Endpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EndpointArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Endpoint Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Endpoint resource accepts the following input properties:
- 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:
- Arn string
The Amazon Resource Name (ARN) assigned by AWS to this endpoint.
- Id string
The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- Arn string
The Amazon Resource Name (ARN) assigned by AWS to this endpoint.
- Id string
The provider-assigned unique ID for this managed resource.
- map[string]string
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- arn String
The Amazon Resource Name (ARN) assigned by AWS to this endpoint.
- id String
The provider-assigned unique ID for this managed resource.
- Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
- arn string
The Amazon Resource Name (ARN) assigned by AWS to this endpoint.
- id string
The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.Please use
tags
instead.
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.Please use
tags
instead.
- 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.Please use
tags
instead.
- 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.Please use
tags
instead.
- 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.Please use
tags
instead.
- 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.Please use
tags
instead.
- 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.Please use
tags
instead.
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 Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in
termination_wait_in_seconds
andwait_interval_in_seconds
. Valid values are between600
and14400
.- 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 Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in
termination_wait_in_seconds
andwait_interval_in_seconds
. Valid values are between600
and14400
.- 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 Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in
termination_wait_in_seconds
andwait_interval_in_seconds
. Valid values are between600
and14400
.- 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 Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in
termination_wait_in_seconds
andwait_interval_in_seconds
. Valid values are between600
and14400
.- 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 Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in
termination_wait_in_seconds
andwait_interval_in_seconds
. Valid values are between600
and14400
.- 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 Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in
termination_wait_in_seconds
andwait_interval_in_seconds
. Valid values are between600
and14400
.- 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
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.