Skip to main content

mlflow_tracking_servers

Creates, updates, deletes or gets a mlflow_tracking_server resource or lists mlflow_tracking_servers in a region

Overview

Namemlflow_tracking_servers
TypeResource
DescriptionResource Type definition for AWS::SageMaker::MlflowTrackingServer
Idaws.sagemaker.mlflow_tracking_servers

Fields

NameDatatypeDescription
tracking_server_namestringThe name of the MLFlow Tracking Server.
tracking_server_arnstringThe Amazon Resource Name (ARN) of the MLFlow Tracking Server.
tracking_server_sizestringThe size of the MLFlow Tracking Server.
mlflow_versionstringThe MLFlow Version used on the MLFlow Tracking Server.
role_arnstringThe Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on behalf of the customer.
artifact_store_uristringThe Amazon S3 URI for MLFlow Tracking Server artifacts.
automatic_model_registrationbooleanA flag to enable Automatic SageMaker Model Registration.
weekly_maintenance_window_startstringThe start of the time window for maintenance of the MLFlow Tracking Server in UTC time.
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

For more information, see AWS::SageMaker::MlflowTrackingServer.

Methods

NameAccessible byRequired Params
create_resourceINSERTTrackingServerName, ArtifactStoreUri, RoleArn, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all mlflow_tracking_servers in a region.

SELECT
region,
tracking_server_name,
tracking_server_arn,
tracking_server_size,
mlflow_version,
role_arn,
artifact_store_uri,
automatic_model_registration,
weekly_maintenance_window_start,
tags
FROM aws.sagemaker.mlflow_tracking_servers
WHERE region = 'us-east-1';

Gets all properties from an individual mlflow_tracking_server.

SELECT
region,
tracking_server_name,
tracking_server_arn,
tracking_server_size,
mlflow_version,
role_arn,
artifact_store_uri,
automatic_model_registration,
weekly_maintenance_window_start,
tags
FROM aws.sagemaker.mlflow_tracking_servers
WHERE region = 'us-east-1' AND data__Identifier = '<TrackingServerName>';

INSERT example

Use the following StackQL query and manifest file to create a new mlflow_tracking_server resource, using stack-deploy.

/*+ create */
INSERT INTO aws.sagemaker.mlflow_tracking_servers (
TrackingServerName,
RoleArn,
ArtifactStoreUri,
region
)
SELECT
'{{ TrackingServerName }}',
'{{ RoleArn }}',
'{{ ArtifactStoreUri }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.sagemaker.mlflow_tracking_servers
WHERE data__Identifier = '<TrackingServerName>'
AND region = 'us-east-1';

Permissions

To operate on the mlflow_tracking_servers resource, the following permissions are required:

Create

sagemaker:CreateMlflowTrackingServer,
sagemaker:DescribeMlflowTrackingServer,
sagemaker:AddTags,
sagemaker:ListTags,
iam:PassRole

Read

sagemaker:DescribeMlflowTrackingServer,
sagemaker:ListTags

Update

sagemaker:UpdateMlflowTrackingServer,
sagemaker:DescribeMlflowTrackingServer,
sagemaker:ListTags,
sagemaker:AddTags,
sagemaker:DeleteTags,
iam:PassRole

Delete

sagemaker:DeleteMlflowTrackingServer,
sagemaker:DescribeMlflowTrackingServer

List

sagemaker:ListMlflowTrackingServers