CfnMlflowTrackingServerProps Struct
Properties for defining a CfnMlflowTrackingServer.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const cfnMlflowTrackingServerProps: sagemaker.CfnMlflowTrackingServerProps = {
artifactStoreUri: 'artifactStoreUri',
roleArn: 'roleArn',
trackingServerName: 'trackingServerName',
// the properties below are optional
automaticModelRegistration: false,
mlflowVersion: 'mlflowVersion',
tags: [{
key: 'key',
value: 'value',
}],
trackingServerSize: 'trackingServerSize',
weeklyMaintenanceWindowStart: 'weeklyMaintenanceWindowStart',
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker
cfn_mlflow_tracking_server_props = sagemaker.CfnMlflowTrackingServerProps(
artifact_store_uri="artifactStoreUri",
role_arn="roleArn",
tracking_server_name="trackingServerName",
# the properties below are optional
automatic_model_registration=False,
mlflow_version="mlflowVersion",
tags=[CfnTag(
key="key",
value="value"
)],
tracking_server_size="trackingServerSize",
weekly_maintenance_window_start="weeklyMaintenanceWindowStart"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
CfnMlflowTrackingServerProps cfnMlflowTrackingServerProps = CfnMlflowTrackingServerProps.builder()
.artifactStoreUri("artifactStoreUri")
.roleArn("roleArn")
.trackingServerName("trackingServerName")
// the properties below are optional
.automaticModelRegistration(false)
.mlflowVersion("mlflowVersion")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.trackingServerSize("trackingServerSize")
.weeklyMaintenanceWindowStart("weeklyMaintenanceWindowStart")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var cfnMlflowTrackingServerProps = new CfnMlflowTrackingServerProps {
ArtifactStoreUri = "artifactStoreUri",
RoleArn = "roleArn",
TrackingServerName = "trackingServerName",
// the properties below are optional
AutomaticModelRegistration = false,
MlflowVersion = "mlflowVersion",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TrackingServerSize = "trackingServerSize",
WeeklyMaintenanceWindowStart = "weeklyMaintenanceWindowStart"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnMlflowTrackingServerProps := &CfnMlflowTrackingServerProps{
ArtifactStoreUri: jsii.String("artifactStoreUri"),
RoleArn: jsii.String("roleArn"),
TrackingServerName: jsii.String("trackingServerName"),
// the properties below are optional
AutomaticModelRegistration: jsii.Boolean(false),
MlflowVersion: jsii.String("mlflowVersion"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
TrackingServerSize: jsii.String("trackingServerSize"),
WeeklyMaintenanceWindowStart: jsii.String("weeklyMaintenanceWindowStart"),
}
Properties
artifactStoreUristringartifact_store_uristrartifactStoreUriStringArtifactStoreUristringArtifactStoreUri*string required #The Amazon S3 URI for MLFlow Tracking Server artifacts.
automaticModelRegistrationoptionalboolean | IResolvableautomatic_model_registrationoptionaltyping.Union[bool, IResolvable]automaticModelRegistrationoptionalBooleanAutomaticModelRegistrationoptionalboolAutomaticModelRegistrationoptionalinterface{} #A flag to enable Automatic SageMaker Model Registration.
mlflowVersionoptionalstringmlflow_versionoptionalstrmlflowVersionoptionalStringMlflowVersionoptionalstringMlflowVersionoptional*string #The MLFlow Version used on the MLFlow Tracking Server.
The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on behalf of the customer.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #An array of key-value pairs to apply to this resource.
trackingServerNamestringtracking_server_namestrtrackingServerNameStringTrackingServerNamestringTrackingServerName*string required #The name of the MLFlow Tracking Server.
trackingServerSizeoptionalstringtracking_server_sizeoptionalstrtrackingServerSizeoptionalStringTrackingServerSizeoptionalstringTrackingServerSizeoptional*string #The size of the MLFlow Tracking Server.
weeklyMaintenanceWindowStartoptionalstringweekly_maintenance_window_startoptionalstrweeklyMaintenanceWindowStartoptionalStringWeeklyMaintenanceWindowStartoptionalstringWeeklyMaintenanceWindowStartoptional*string #The start of the time window for maintenance of the MLFlow Tracking Server in UTC time.