Package com.pulumi.aws.sagemaker
Class MlflowTrackingServer
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.sagemaker.MlflowTrackingServer
-
public class MlflowTrackingServer extends com.pulumi.resources.CustomResourceProvides a SageMaker AI MLFlow Tracking Server resource. ## Example Usage ### Cognito Usage
## Import Using `pulumi import`, import SageMaker AI MLFlow Tracking Servers using the `workteamName`. For example: ```sh $ pulumi import aws:sagemaker/mlflowTrackingServer:MlflowTrackingServer example example ```package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.sagemaker.MlflowTrackingServer; import com.pulumi.aws.sagemaker.MlflowTrackingServerArgs; import java.util.ArrayList; import java.util.Arrays; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { var example = new MlflowTrackingServer("example", MlflowTrackingServerArgs.builder() .trackingServerName("example") .roleArn(exampleAwsIamRole.arn()) .artifactStoreUri(String.format("s3://%s/path", exampleAwsS3Bucket.bucket())) .build()); } }
-
-
Constructor Summary
Constructors Constructor Description MlflowTrackingServer(java.lang.String name)MlflowTrackingServer(java.lang.String name, MlflowTrackingServerArgs args)MlflowTrackingServer(java.lang.String name, MlflowTrackingServerArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>arn()com.pulumi.core.Output<java.lang.String>artifactStoreUri()com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>>automaticModelRegistration()static MlflowTrackingServerget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, MlflowTrackingServerState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.lang.String>mlflowVersion()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.lang.String>roleArn()com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>tags()com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>tagsAll()com.pulumi.core.Output<java.lang.String>trackingServerName()com.pulumi.core.Output<java.util.Optional<java.lang.String>>trackingServerSize()com.pulumi.core.Output<java.lang.String>trackingServerUrl()com.pulumi.core.Output<java.lang.String>weeklyMaintenanceWindowStart()
-
-
-
Constructor Detail
-
MlflowTrackingServer
public MlflowTrackingServer(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
MlflowTrackingServer
public MlflowTrackingServer(java.lang.String name, MlflowTrackingServerArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
MlflowTrackingServer
public MlflowTrackingServer(java.lang.String name, MlflowTrackingServerArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- ARN assigned by AWS to this MLFlow Tracking Server.
-
artifactStoreUri
public com.pulumi.core.Output<java.lang.String> artifactStoreUri()
- Returns:
- The S3 URI for a general purpose bucket to use as the MLflow Tracking Server artifact store.
-
automaticModelRegistration
public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> automaticModelRegistration()
- Returns:
- Whether to enable or disable automatic registration of new MLflow models to the SageMaker Model Registry. Defaults to false.
-
mlflowVersion
public com.pulumi.core.Output<java.lang.String> mlflowVersion()
- Returns:
- The version of MLflow that the tracking server uses. To see which MLflow versions are available to use, see [How it works](https://docs.aws.amazon.com/sagemaker/latest/dg/mlflow.html#mlflow-create-tracking-server-how-it-works).
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
roleArn
public com.pulumi.core.Output<java.lang.String> roleArn()
- Returns:
- ARN for an IAM role in your account that the MLflow Tracking Server uses to access the artifact store in Amazon S3. The role should have AmazonS3FullAccess permissions. For more information on IAM permissions for tracking server creation, see [Set up IAM permissions for MLflow](https://docs.aws.amazon.com/sagemaker/latest/dg/mlflow-create-tracking-server-iam.html).
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
tagsAll
public com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll()
- Returns:
- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
-
trackingServerName
public com.pulumi.core.Output<java.lang.String> trackingServerName()
- Returns:
- A unique string identifying the tracking server name. This string is part of the tracking server ARN.
-
trackingServerSize
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> trackingServerSize()
- Returns:
- The size of the tracking server you want to create. You can choose between "Small", "Medium", and "Large". The default MLflow Tracking Server configuration size is "Small". You can choose a size depending on the projected use of the tracking server such as the volume of data logged, number of users, and frequency of use.
-
trackingServerUrl
public com.pulumi.core.Output<java.lang.String> trackingServerUrl()
- Returns:
- The URL to connect to the MLflow user interface for the described tracking server.
-
weeklyMaintenanceWindowStart
public com.pulumi.core.Output<java.lang.String> weeklyMaintenanceWindowStart()
- Returns:
- 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.
-
get
public static MlflowTrackingServer get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable MlflowTrackingServerState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-