Package com.pulumi.aws.sagemaker
Class Endpoint
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.sagemaker.Endpoint
-
public class Endpoint extends com.pulumi.resources.CustomResourceProvides a SageMaker AI Endpoint resource. > **Note:** `aws.sagemaker.Endpoint` resources cannot recognize changes to an `aws.sagemaker.EndpointConfiguration` resource unless the Endpoint Configuration's `name` attribute, changes. Endpoint Configuration names should be randomized by either specifying `namePrefix` or specifying no name. This will automatically change the name when the Endpoint Configuration is modified. The Endpoint Configuration's lifecycle meta-argument `lifecycle.create_before_destroy` should also be set to `true` to prevent conflicts. ## Import Using `pulumi import`, import endpoints using the `name`. For example: ```sh $ pulumi import aws:sagemaker/endpoint:Endpoint test_endpoint my-endpoint ```
-
-
Constructor Summary
Constructors Constructor Description Endpoint(java.lang.String name)Endpoint(java.lang.String name, EndpointArgs args)Endpoint(java.lang.String name, EndpointArgs 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.util.Optional<EndpointDeploymentConfig>>deploymentConfig()com.pulumi.core.Output<java.lang.String>endpointConfigName()static Endpointget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, EndpointState 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>name()com.pulumi.core.Output<java.lang.String>region()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()
-
-
-
Constructor Detail
-
Endpoint
public Endpoint(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
Endpoint
public Endpoint(java.lang.String name, EndpointArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
Endpoint
public Endpoint(java.lang.String name, EndpointArgs 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 endpoint.
-
deploymentConfig
public com.pulumi.core.Output<java.util.Optional<EndpointDeploymentConfig>> deploymentConfig()
- Returns:
- The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. See Deployment Config.
-
endpointConfigName
public com.pulumi.core.Output<java.lang.String> endpointConfigName()
- Returns:
- The name of the endpoint configuration to use.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- The name of the endpoint. If omitted, the provider will assign a random, unique 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.
-
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.
-
get
public static Endpoint get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable EndpointState 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.
-
-