Skip to content
v2.278.0

CfnMlflowAppProps ​

Struct External

Properties for defining a CfnMlflowApp.

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 cfnMlflowAppProps: sagemaker.CfnMlflowAppProps = {
  artifactStoreUri: 'artifactStoreUri',
  name: 'name',
  roleArn: 'roleArn',

  // the properties below are optional
  modelRegistrationMode: 'modelRegistrationMode',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  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_app_props = sagemaker.CfnMlflowAppProps(
    artifact_store_uri="artifactStoreUri",
    name="name",
    role_arn="roleArn",

    # the properties below are optional
    model_registration_mode="modelRegistrationMode",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    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.*;

CfnMlflowAppProps cfnMlflowAppProps = CfnMlflowAppProps.builder()
        .artifactStoreUri("artifactStoreUri")
        .name("name")
        .roleArn("roleArn")

        // the properties below are optional
        .modelRegistrationMode("modelRegistrationMode")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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 cfnMlflowAppProps = new CfnMlflowAppProps {
    ArtifactStoreUri = "artifactStoreUri",
    Name = "name",
    RoleArn = "roleArn",

    // the properties below are optional
    ModelRegistrationMode = "modelRegistrationMode",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    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"

cfnMlflowAppProps := &CfnMlflowAppProps{
	ArtifactStoreUri: jsii.String("artifactStoreUri"),
	Name: jsii.String("name"),
	RoleArn: jsii.String("roleArn"),

	// the properties below are optional
	ModelRegistrationMode: jsii.String("modelRegistrationMode"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	WeeklyMaintenanceWindowStart: jsii.String("weeklyMaintenanceWindowStart"),
}

Properties ​

artifactStoreUristringartifact_store_uristrartifactStoreUriStringArtifactStoreUristringArtifactStoreUri*string required #
The S3 URI for a general purpose bucket to use as the MLflow App artifact store.
modelRegistrationModeoptionalstringmodel_registration_modeoptionalstrmodelRegistrationModeoptionalStringModelRegistrationModeoptionalstringModelRegistrationModeoptional*string #
Whether to enable or disable automatic registration of new MLflow models to the SageMaker Model Registry.
namestringnamestrnameStringNamestringName*string required #
The name of the MLflow App.
roleArnstringrole_arnstrroleArnStringRoleArnstringRoleArn*string required #
The Amazon Resource Name (ARN) for an IAM role in your account that the MLflow App uses to access the artifact store in Amazon S3.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
Tags to associate with the MLflow App.
weeklyMaintenanceWindowStartoptionalstringweekly_maintenance_window_startoptionalstrweeklyMaintenanceWindowStartoptionalStringWeeklyMaintenanceWindowStartoptionalstringWeeklyMaintenanceWindowStartoptional*string #
The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled.

For example: Tue:03:30.