Class CfnMlflowApp

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, IEnvironmentAware, IMlflowAppRef, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)", date="2026-06-16T16:14:32.779Z") @Stability(Stable) public class CfnMlflowApp extends CfnResource implements IInspectable, IMlflowAppRef, ITaggableV2
Resource type definition for AWS::SageMaker::MlflowApp.

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.*;
 CfnMlflowApp cfnMlflowApp = CfnMlflowApp.Builder.create(this, "MyCfnMlflowApp")
         .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();
 

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

    • CfnMlflowApp

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

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

      @Stability(Stable) public CfnMlflowApp(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnMlflowAppProps props)
      Create a new AWS::SageMaker::MlflowApp.

      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

    • arnForMlflowApp

      @Stability(Stable) @NotNull public static String arnForMlflowApp(@NotNull IMlflowAppRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnMlflowApp

      @Stability(Stable) @NotNull public static Boolean isCfnMlflowApp(@NotNull Object x)
      Checks whether the given object is a CfnMlflowApp.

      Parameters:
      x - This parameter is required.
    • 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.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the MLflow App.
    • getAttrCreationTime

      @Stability(Stable) @NotNull public String getAttrCreationTime()
      The date and time that the MLflow App was created.
    • getAttrLastModifiedTime

      @Stability(Stable) @NotNull public String getAttrLastModifiedTime()
      The date and time that the MLflow App was last modified.
    • getAttrMlflowAppId

      @Stability(Stable) @NotNull public String getAttrMlflowAppId()
      The server-generated identifier of the MLflow App.
    • getAttrMlflowVersion

      @Stability(Stable) @NotNull public String getAttrMlflowVersion()
      The MLflow version used by the MLflow App.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The status of the MLflow App.
    • 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
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getMlflowAppRef

      @Stability(Stable) @NotNull public MlflowAppReference getMlflowAppRef()
      A reference to a MlflowApp resource.
      Specified by:
      getMlflowAppRef in interface IMlflowAppRef
    • getArtifactStoreUri

      @Stability(Stable) @NotNull public String getArtifactStoreUri()
      The S3 URI for a general purpose bucket to use as the MLflow App artifact store.
    • setArtifactStoreUri

      @Stability(Stable) public void setArtifactStoreUri(@NotNull String value)
      The S3 URI for a general purpose bucket to use as the MLflow App artifact store.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the MLflow App.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the MLflow App.
    • getRoleArn

      @Stability(Stable) @NotNull public String getRoleArn()
      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.
    • setRoleArn

      @Stability(Stable) public void setRoleArn(@NotNull String value)
      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.
    • getModelRegistrationMode

      @Stability(Stable) @Nullable public String getModelRegistrationMode()
      Whether to enable or disable automatic registration of new MLflow models to the SageMaker Model Registry.
    • setModelRegistrationMode

      @Stability(Stable) public void setModelRegistrationMode(@Nullable String value)
      Whether to enable or disable automatic registration of new MLflow models to the SageMaker Model Registry.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      Tags to associate with the MLflow App.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      Tags to associate with the MLflow App.
    • getWeeklyMaintenanceWindowStart

      @Stability(Stable) @Nullable public String getWeeklyMaintenanceWindowStart()
      The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled.
    • setWeeklyMaintenanceWindowStart

      @Stability(Stable) public void setWeeklyMaintenanceWindowStart(@Nullable String value)
      The day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled.