Class CfnMlflowTrackingServer

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.sagemaker.CfnMlflowTrackingServer
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-15T10:25:06.889Z") @Stability(Stable) public class CfnMlflowTrackingServer extends CfnResource implements IInspectable, ITaggableV2
Creates an MLflow Tracking Server using a general purpose Amazon S3 bucket as the artifact store.

For more information, see Create an MLflow Tracking Server .

Example:

 // 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.*;
 CfnMlflowTrackingServer cfnMlflowTrackingServer = CfnMlflowTrackingServer.Builder.create(this, "MyCfnMlflowTrackingServer")
         .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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnMlflowTrackingServer

      protected CfnMlflowTrackingServer(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnMlflowTrackingServer

      protected CfnMlflowTrackingServer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnMlflowTrackingServer

      @Stability(Stable) public CfnMlflowTrackingServer(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnMlflowTrackingServerProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrTrackingServerArn

      @Stability(Stable) @NotNull public String getAttrTrackingServerArn()
      The Amazon Resource Name (ARN) of the MLFlow Tracking Server.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getArtifactStoreUri

      @Stability(Stable) @NotNull public String getArtifactStoreUri()
      The Amazon S3 URI for MLFlow Tracking Server artifacts.
    • setArtifactStoreUri

      @Stability(Stable) public void setArtifactStoreUri(@NotNull String value)
      The Amazon S3 URI for MLFlow Tracking Server artifacts.
    • getRoleArn

      @Stability(Stable) @NotNull public String getRoleArn()
      The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on behalf of the customer.
    • setRoleArn

      @Stability(Stable) public void setRoleArn(@NotNull String value)
      The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on behalf of the customer.
    • getTrackingServerName

      @Stability(Stable) @NotNull public String getTrackingServerName()
      The name of the MLFlow Tracking Server.
    • setTrackingServerName

      @Stability(Stable) public void setTrackingServerName(@NotNull String value)
      The name of the MLFlow Tracking Server.
    • getAutomaticModelRegistration

      @Stability(Stable) @Nullable public Object getAutomaticModelRegistration()
      A flag to enable Automatic SageMaker Model Registration.
    • setAutomaticModelRegistration

      @Stability(Stable) public void setAutomaticModelRegistration(@Nullable Boolean value)
      A flag to enable Automatic SageMaker Model Registration.
    • setAutomaticModelRegistration

      @Stability(Stable) public void setAutomaticModelRegistration(@Nullable IResolvable value)
      A flag to enable Automatic SageMaker Model Registration.
    • getMlflowVersion

      @Stability(Stable) @Nullable public String getMlflowVersion()
      The MLFlow Version used on the MLFlow Tracking Server.
    • setMlflowVersion

      @Stability(Stable) public void setMlflowVersion(@Nullable String value)
      The MLFlow Version used on the MLFlow Tracking Server.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An array of key-value pairs to apply to this resource.
    • getTrackingServerSize

      @Stability(Stable) @Nullable public String getTrackingServerSize()
      The size of the MLFlow Tracking Server.
    • setTrackingServerSize

      @Stability(Stable) public void setTrackingServerSize(@Nullable String value)
      The size of the MLFlow Tracking Server.
    • getWeeklyMaintenanceWindowStart

      @Stability(Stable) @Nullable public String getWeeklyMaintenanceWindowStart()
      The start of the time window for maintenance of the MLFlow Tracking Server in UTC time.
    • setWeeklyMaintenanceWindowStart

      @Stability(Stable) public void setWeeklyMaintenanceWindowStart(@Nullable String value)
      The start of the time window for maintenance of the MLFlow Tracking Server in UTC time.