Package com.pulumi.aws.sagemaker
Class MlflowApp
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.sagemaker.MlflowApp
-
public class MlflowApp extends com.pulumi.resources.CustomResourceProvides a SageMaker AI MLflow App resource. ## Example Usage ### Basic Usage
## Import ### Identity Schema #### Required * `arn` (String) ARN of the MLflow App. Using `pulumi import`, import SageMaker AI MLflow Apps using the `arn`. For example: ```sh $ pulumi import aws:sagemaker/mlflowApp:MlflowApp example arn:aws:sagemaker:us-east-1:123456789012:mlflow-app/app-ABCD1234 ```package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.sagemaker.MlflowApp; import com.pulumi.aws.sagemaker.MlflowAppArgs; 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 MlflowApp("example", MlflowAppArgs.builder() .name("example") .roleArn(exampleAwsIamRole.arn()) .artifactStoreUri(String.format("s3://%s/path", exampleAwsS3Bucket.bucket())) .build()); } }
-
-
Constructor Summary
Constructors Constructor Description MlflowApp(java.lang.String name)MlflowApp(java.lang.String name, MlflowAppArgs args)MlflowApp(java.lang.String name, MlflowAppArgs 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.util.Optional<java.lang.String>>accountDefaultStatus()com.pulumi.core.Output<java.lang.String>arn()com.pulumi.core.Output<java.lang.String>artifactStoreUri()com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>>defaultDomainIdLists()static MlflowAppget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, MlflowAppState 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>modelRegistrationMode()com.pulumi.core.Output<java.lang.String>name()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.util.Optional<MlflowAppTimeouts>>timeouts()com.pulumi.core.Output<java.lang.String>weeklyMaintenanceWindowStart()
-
-
-
Constructor Detail
-
MlflowApp
public MlflowApp(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
MlflowApp
public MlflowApp(java.lang.String name, MlflowAppArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
MlflowApp
public MlflowApp(java.lang.String name, MlflowAppArgs 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
-
accountDefaultStatus
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> accountDefaultStatus()
- Returns:
- Indicates whether this MLflow app is the default for the entire account. Valid values are `ENABLED` and `DISABLED`.
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- ARN of the MLflow App.
-
artifactStoreUri
public com.pulumi.core.Output<java.lang.String> artifactStoreUri()
- Returns:
- S3 URI for a general purpose bucket to use as the MLflow App artifact store.
-
defaultDomainIdLists
public com.pulumi.core.Output<java.util.Optional<java.util.List<java.lang.String>>> defaultDomainIdLists()
- Returns:
- List of SageMaker domain IDs for which this MLflow App is used as the default.
-
modelRegistrationMode
public com.pulumi.core.Output<java.lang.String> modelRegistrationMode()
- Returns:
- Whether to enable or disable automatic registration of new MLflow models to the SageMaker Model Registry. Valid values are `AutoModelRegistrationEnabled` and `AutoModelRegistrationDisabled`. Defaults to `AutoModelRegistrationDisabled`.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- MLflow app name.
-
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 App uses to access the artifact store in Amazon S3.
-
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.
-
timeouts
public com.pulumi.core.Output<java.util.Optional<MlflowAppTimeouts>> timeouts()
-
weeklyMaintenanceWindowStart
public com.pulumi.core.Output<java.lang.String> weeklyMaintenanceWindowStart()
- Returns:
- Day and time of the week in Coordinated Universal Time (UTC) 24-hour standard time that weekly maintenance updates are scheduled. For example: `SUN:03:00`.
-
get
public static MlflowApp get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable MlflowAppState 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.
-
-