We recommend new projects start with resources from the AWS provider.
aws-native.sagemaker.Endpoint
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::SageMaker::Endpoint
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,
endpoint_name: Optional[str] = None,
exclude_retained_variant_properties: Optional[Sequence[EndpointVariantPropertyArgs]] = None,
retain_all_variant_properties: Optional[bool] = None,
retain_deployment_config: Optional[bool] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = 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-native: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.
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 for the SageMaker endpoint. This is a required property.
- Deployment
Config Pulumi.Aws Native. Sage Maker. Inputs. Endpoint Deployment Config - Specifies deployment configuration for updating the SageMaker endpoint. Includes rollback and update policies.
- Endpoint
Name string - The name of the SageMaker endpoint. This name must be unique within an AWS Region.
- Exclude
Retained List<Pulumi.Variant Properties Aws Native. Sage Maker. Inputs. Endpoint Variant Property> - Specifies a list of variant properties that you want to exclude when updating an endpoint.
- Retain
All boolVariant Properties - When set to true, retains all variant properties for an endpoint when it is updated.
- Retain
Deployment boolConfig - When set to true, retains the deployment configuration during endpoint updates.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Endpoint
Config stringName - The name of the endpoint configuration for the SageMaker endpoint. This is a required property.
- Deployment
Config EndpointDeployment Config Args - Specifies deployment configuration for updating the SageMaker endpoint. Includes rollback and update policies.
- Endpoint
Name string - The name of the SageMaker endpoint. This name must be unique within an AWS Region.
- Exclude
Retained []EndpointVariant Properties Variant Property Args - Specifies a list of variant properties that you want to exclude when updating an endpoint.
- Retain
All boolVariant Properties - When set to true, retains all variant properties for an endpoint when it is updated.
- Retain
Deployment boolConfig - When set to true, retains the deployment configuration during endpoint updates.
- Tag
Args - An array of key-value pairs to apply to this resource.
- endpoint
Config StringName - The name of the endpoint configuration for the SageMaker endpoint. This is a required property.
- deployment
Config EndpointDeployment Config - Specifies deployment configuration for updating the SageMaker endpoint. Includes rollback and update policies.
- endpoint
Name String - The name of the SageMaker endpoint. This name must be unique within an AWS Region.
- exclude
Retained List<EndpointVariant Properties Variant Property> - Specifies a list of variant properties that you want to exclude when updating an endpoint.
- retain
All BooleanVariant Properties - When set to true, retains all variant properties for an endpoint when it is updated.
- retain
Deployment BooleanConfig - When set to true, retains the deployment configuration during endpoint updates.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- endpoint
Config stringName - The name of the endpoint configuration for the SageMaker endpoint. This is a required property.
- deployment
Config EndpointDeployment Config - Specifies deployment configuration for updating the SageMaker endpoint. Includes rollback and update policies.
- endpoint
Name string - The name of the SageMaker endpoint. This name must be unique within an AWS Region.
- exclude
Retained EndpointVariant Properties Variant Property[] - Specifies a list of variant properties that you want to exclude when updating an endpoint.
- retain
All booleanVariant Properties - When set to true, retains all variant properties for an endpoint when it is updated.
- retain
Deployment booleanConfig - When set to true, retains the deployment configuration during endpoint updates.
- Tag[]
- An array of key-value pairs to apply to this resource.
- endpoint_
config_ strname - The name of the endpoint configuration for the SageMaker endpoint. This is a required property.
- deployment_
config EndpointDeployment Config Args - Specifies deployment configuration for updating the SageMaker endpoint. Includes rollback and update policies.
- endpoint_
name str - The name of the SageMaker endpoint. This name must be unique within an AWS Region.
- exclude_
retained_ Sequence[Endpointvariant_ properties Variant Property Args] - Specifies a list of variant properties that you want to exclude when updating an endpoint.
- retain_
all_ boolvariant_ properties - When set to true, retains all variant properties for an endpoint when it is updated.
- retain_
deployment_ boolconfig - When set to true, retains the deployment configuration during endpoint updates.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- endpoint
Config StringName - The name of the endpoint configuration for the SageMaker endpoint. This is a required property.
- deployment
Config Property Map - Specifies deployment configuration for updating the SageMaker endpoint. Includes rollback and update policies.
- endpoint
Name String - The name of the SageMaker endpoint. This name must be unique within an AWS Region.
- exclude
Retained List<Property Map>Variant Properties - Specifies a list of variant properties that you want to exclude when updating an endpoint.
- retain
All BooleanVariant Properties - When set to true, retains all variant properties for an endpoint when it is updated.
- retain
Deployment BooleanConfig - When set to true, retains the deployment configuration during endpoint updates.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Endpoint resource produces the following output properties:
- Endpoint
Arn string - The Amazon Resource Name (ARN) of the endpoint.
- Id string
- The provider-assigned unique ID for this managed resource.
- Endpoint
Arn string - The Amazon Resource Name (ARN) of the endpoint.
- Id string
- The provider-assigned unique ID for this managed resource.
- endpoint
Arn String - The Amazon Resource Name (ARN) of the endpoint.
- id String
- The provider-assigned unique ID for this managed resource.
- endpoint
Arn string - The Amazon Resource Name (ARN) of the endpoint.
- id string
- The provider-assigned unique ID for this managed resource.
- endpoint_
arn str - The Amazon Resource Name (ARN) of the endpoint.
- id str
- The provider-assigned unique ID for this managed resource.
- endpoint
Arn String - The Amazon Resource Name (ARN) of the endpoint.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
EndpointAlarm, EndpointAlarmArgs
- Alarm
Name string - The name of the CloudWatch alarm.
- Alarm
Name string - The name of the CloudWatch alarm.
- alarm
Name String - The name of the CloudWatch alarm.
- alarm
Name string - The name of the CloudWatch alarm.
- alarm_
name str - The name of the CloudWatch alarm.
- alarm
Name String - The name of the CloudWatch alarm.
EndpointAutoRollbackConfig, EndpointAutoRollbackConfigArgs
- Alarms
List<Pulumi.
Aws Native. Sage Maker. Inputs. Endpoint Alarm> - List of CloudWatch alarms to monitor during the deployment. If any alarm goes off, the deployment is rolled back.
- Alarms
[]Endpoint
Alarm - List of CloudWatch alarms to monitor during the deployment. If any alarm goes off, the deployment is rolled back.
- alarms
List<Endpoint
Alarm> - List of CloudWatch alarms to monitor during the deployment. If any alarm goes off, the deployment is rolled back.
- alarms
Endpoint
Alarm[] - List of CloudWatch alarms to monitor during the deployment. If any alarm goes off, the deployment is rolled back.
- alarms
Sequence[Endpoint
Alarm] - List of CloudWatch alarms to monitor during the deployment. If any alarm goes off, the deployment is rolled back.
- alarms List<Property Map>
- List of CloudWatch alarms to monitor during the deployment. If any alarm goes off, the deployment is rolled back.
EndpointBlueGreenUpdatePolicy, EndpointBlueGreenUpdatePolicyArgs
- Traffic
Routing Pulumi.Configuration Aws Native. Sage Maker. Inputs. Endpoint Traffic Routing Config - The traffic routing configuration for the blue/green deployment.
- Maximum
Execution intTimeout In Seconds - The maximum time allowed for the blue/green update, in seconds.
- Termination
Wait intIn Seconds - The wait time before terminating the old endpoint during a blue/green deployment.
- Traffic
Routing EndpointConfiguration Traffic Routing Config - The traffic routing configuration for the blue/green deployment.
- Maximum
Execution intTimeout In Seconds - The maximum time allowed for the blue/green update, in seconds.
- Termination
Wait intIn Seconds - The wait time before terminating the old endpoint during a blue/green deployment.
- traffic
Routing EndpointConfiguration Traffic Routing Config - The traffic routing configuration for the blue/green deployment.
- maximum
Execution IntegerTimeout In Seconds - The maximum time allowed for the blue/green update, in seconds.
- termination
Wait IntegerIn Seconds - The wait time before terminating the old endpoint during a blue/green deployment.
- traffic
Routing EndpointConfiguration Traffic Routing Config - The traffic routing configuration for the blue/green deployment.
- maximum
Execution numberTimeout In Seconds - The maximum time allowed for the blue/green update, in seconds.
- termination
Wait numberIn Seconds - The wait time before terminating the old endpoint during a blue/green deployment.
- traffic_
routing_ Endpointconfiguration Traffic Routing Config - The traffic routing configuration for the blue/green deployment.
- maximum_
execution_ inttimeout_ in_ seconds - The maximum time allowed for the blue/green update, in seconds.
- termination_
wait_ intin_ seconds - The wait time before terminating the old endpoint during a blue/green deployment.
- traffic
Routing Property MapConfiguration - The traffic routing configuration for the blue/green deployment.
- maximum
Execution NumberTimeout In Seconds - The maximum time allowed for the blue/green update, in seconds.
- termination
Wait NumberIn Seconds - The wait time before terminating the old endpoint during a blue/green deployment.
EndpointCapacitySize, EndpointCapacitySizeArgs
EndpointDeploymentConfig, EndpointDeploymentConfigArgs
- Auto
Rollback Pulumi.Configuration Aws Native. Sage Maker. Inputs. Endpoint Auto Rollback Config - Configuration for automatic rollback if an error occurs during deployment.
- Blue
Green Pulumi.Update Policy Aws Native. Sage Maker. Inputs. Endpoint Blue Green Update Policy - Configuration for blue-green update deployment policies.
- Rolling
Update Pulumi.Policy Aws Native. Sage Maker. Inputs. Endpoint Rolling Update Policy - Configuration for rolling update deployment policies.
- Auto
Rollback EndpointConfiguration Auto Rollback Config - Configuration for automatic rollback if an error occurs during deployment.
- Blue
Green EndpointUpdate Policy Blue Green Update Policy - Configuration for blue-green update deployment policies.
- Rolling
Update EndpointPolicy Rolling Update Policy - Configuration for rolling update deployment policies.
- auto
Rollback EndpointConfiguration Auto Rollback Config - Configuration for automatic rollback if an error occurs during deployment.
- blue
Green EndpointUpdate Policy Blue Green Update Policy - Configuration for blue-green update deployment policies.
- rolling
Update EndpointPolicy Rolling Update Policy - Configuration for rolling update deployment policies.
- auto
Rollback EndpointConfiguration Auto Rollback Config - Configuration for automatic rollback if an error occurs during deployment.
- blue
Green EndpointUpdate Policy Blue Green Update Policy - Configuration for blue-green update deployment policies.
- rolling
Update EndpointPolicy Rolling Update Policy - Configuration for rolling update deployment policies.
- auto_
rollback_ Endpointconfiguration Auto Rollback Config - Configuration for automatic rollback if an error occurs during deployment.
- blue_
green_ Endpointupdate_ policy Blue Green Update Policy - Configuration for blue-green update deployment policies.
- rolling_
update_ Endpointpolicy Rolling Update Policy - Configuration for rolling update deployment policies.
- auto
Rollback Property MapConfiguration - Configuration for automatic rollback if an error occurs during deployment.
- blue
Green Property MapUpdate Policy - Configuration for blue-green update deployment policies.
- rolling
Update Property MapPolicy - Configuration for rolling update deployment policies.
EndpointRollingUpdatePolicy, EndpointRollingUpdatePolicyArgs
- Maximum
Batch Pulumi.Size Aws Native. Sage Maker. Inputs. Endpoint Capacity Size - Specifies the maximum batch size for each rolling update.
- Wait
Interval intIn Seconds - The time to wait between steps during the rolling update, in seconds.
- Maximum
Execution intTimeout In Seconds - The maximum time allowed for the rolling update, in seconds.
- Rollback
Maximum Pulumi.Batch Size Aws Native. Sage Maker. Inputs. Endpoint Capacity Size - The maximum batch size for rollback during an update failure.
- Maximum
Batch EndpointSize Capacity Size - Specifies the maximum batch size for each rolling update.
- Wait
Interval intIn Seconds - The time to wait between steps during the rolling update, in seconds.
- Maximum
Execution intTimeout In Seconds - The maximum time allowed for the rolling update, in seconds.
- Rollback
Maximum EndpointBatch Size Capacity Size - The maximum batch size for rollback during an update failure.
- maximum
Batch EndpointSize Capacity Size - Specifies the maximum batch size for each rolling update.
- wait
Interval IntegerIn Seconds - The time to wait between steps during the rolling update, in seconds.
- maximum
Execution IntegerTimeout In Seconds - The maximum time allowed for the rolling update, in seconds.
- rollback
Maximum EndpointBatch Size Capacity Size - The maximum batch size for rollback during an update failure.
- maximum
Batch EndpointSize Capacity Size - Specifies the maximum batch size for each rolling update.
- wait
Interval numberIn Seconds - The time to wait between steps during the rolling update, in seconds.
- maximum
Execution numberTimeout In Seconds - The maximum time allowed for the rolling update, in seconds.
- rollback
Maximum EndpointBatch Size Capacity Size - The maximum batch size for rollback during an update failure.
- maximum_
batch_ Endpointsize Capacity Size - Specifies the maximum batch size for each rolling update.
- wait_
interval_ intin_ seconds - The time to wait between steps during the rolling update, in seconds.
- maximum_
execution_ inttimeout_ in_ seconds - The maximum time allowed for the rolling update, in seconds.
- rollback_
maximum_ Endpointbatch_ size Capacity Size - The maximum batch size for rollback during an update failure.
- maximum
Batch Property MapSize - Specifies the maximum batch size for each rolling update.
- wait
Interval NumberIn Seconds - The time to wait between steps during the rolling update, in seconds.
- maximum
Execution NumberTimeout In Seconds - The maximum time allowed for the rolling update, in seconds.
- rollback
Maximum Property MapBatch Size - The maximum batch size for rollback during an update failure.
EndpointTrafficRoutingConfig, EndpointTrafficRoutingConfigArgs
- Type string
- Specifies the type of traffic routing (e.g., 'AllAtOnce', 'Canary', 'Linear').
- Canary
Size Pulumi.Aws Native. Sage Maker. Inputs. Endpoint Capacity Size - Specifies the size of the canary traffic in a canary deployment.
- Linear
Step Pulumi.Size Aws Native. Sage Maker. Inputs. Endpoint Capacity Size - Specifies the step size for linear traffic routing.
- Wait
Interval intIn Seconds - Specifies the wait interval between traffic shifts, in seconds.
- Type string
- Specifies the type of traffic routing (e.g., 'AllAtOnce', 'Canary', 'Linear').
- Canary
Size EndpointCapacity Size - Specifies the size of the canary traffic in a canary deployment.
- Linear
Step EndpointSize Capacity Size - Specifies the step size for linear traffic routing.
- Wait
Interval intIn Seconds - Specifies the wait interval between traffic shifts, in seconds.
- type String
- Specifies the type of traffic routing (e.g., 'AllAtOnce', 'Canary', 'Linear').
- canary
Size EndpointCapacity Size - Specifies the size of the canary traffic in a canary deployment.
- linear
Step EndpointSize Capacity Size - Specifies the step size for linear traffic routing.
- wait
Interval IntegerIn Seconds - Specifies the wait interval between traffic shifts, in seconds.
- type string
- Specifies the type of traffic routing (e.g., 'AllAtOnce', 'Canary', 'Linear').
- canary
Size EndpointCapacity Size - Specifies the size of the canary traffic in a canary deployment.
- linear
Step EndpointSize Capacity Size - Specifies the step size for linear traffic routing.
- wait
Interval numberIn Seconds - Specifies the wait interval between traffic shifts, in seconds.
- type str
- Specifies the type of traffic routing (e.g., 'AllAtOnce', 'Canary', 'Linear').
- canary_
size EndpointCapacity Size - Specifies the size of the canary traffic in a canary deployment.
- linear_
step_ Endpointsize Capacity Size - Specifies the step size for linear traffic routing.
- wait_
interval_ intin_ seconds - Specifies the wait interval between traffic shifts, in seconds.
- type String
- Specifies the type of traffic routing (e.g., 'AllAtOnce', 'Canary', 'Linear').
- canary
Size Property Map - Specifies the size of the canary traffic in a canary deployment.
- linear
Step Property MapSize - Specifies the step size for linear traffic routing.
- wait
Interval NumberIn Seconds - Specifies the wait interval between traffic shifts, in seconds.
EndpointVariantProperty, EndpointVariantPropertyArgs
- Variant
Property stringType - The type of variant property (e.g., 'DesiredInstanceCount', 'DesiredWeight', 'DataCaptureConfig').
- Variant
Property stringType - The type of variant property (e.g., 'DesiredInstanceCount', 'DesiredWeight', 'DataCaptureConfig').
- variant
Property StringType - The type of variant property (e.g., 'DesiredInstanceCount', 'DesiredWeight', 'DataCaptureConfig').
- variant
Property stringType - The type of variant property (e.g., 'DesiredInstanceCount', 'DesiredWeight', 'DataCaptureConfig').
- variant_
property_ strtype - The type of variant property (e.g., 'DesiredInstanceCount', 'DesiredWeight', 'DataCaptureConfig').
- variant
Property StringType - The type of variant property (e.g., 'DesiredInstanceCount', 'DesiredWeight', 'DataCaptureConfig').
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.