Package com.pulumi.aws.sagemaker
Class EndpointConfiguration
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.sagemaker.EndpointConfiguration
-
public class EndpointConfiguration extends com.pulumi.resources.CustomResourceProvides a SageMaker AI endpoint configuration 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. #### Optional * `accountId` (String) AWS Account where this resource is managed. * `region` (String) Region where this resource is managed. Using `pulumi import`, import Endpoint Configurations using `name`. For example: ```sh $ pulumi import aws:sagemaker/endpointConfiguration:EndpointConfiguration example example-endpoint-config ```
-
-
Constructor Summary
Constructors Constructor Description EndpointConfiguration(java.lang.String name)EndpointConfiguration(java.lang.String name, EndpointConfigurationArgs args)EndpointConfiguration(java.lang.String name, EndpointConfigurationArgs 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<EndpointConfigurationAsyncInferenceConfig>>asyncInferenceConfig()com.pulumi.core.Output<java.util.Optional<EndpointConfigurationDataCaptureConfig>>dataCaptureConfig()com.pulumi.core.Output<java.util.Optional<java.lang.String>>executionRoleArn()static EndpointConfigurationget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, EndpointConfigurationState 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.util.Optional<java.lang.String>>kmsKeyArn()com.pulumi.core.Output<java.lang.String>name()com.pulumi.core.Output<java.lang.String>namePrefix()com.pulumi.core.Output<java.util.List<EndpointConfigurationProductionVariant>>productionVariants()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.util.Optional<java.util.List<EndpointConfigurationShadowProductionVariant>>>shadowProductionVariants()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
-
EndpointConfiguration
public EndpointConfiguration(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
EndpointConfiguration
public EndpointConfiguration(java.lang.String name, EndpointConfigurationArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
EndpointConfiguration
public EndpointConfiguration(java.lang.String name, EndpointConfigurationArgs 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 configuration.
-
asyncInferenceConfig
public com.pulumi.core.Output<java.util.Optional<EndpointConfigurationAsyncInferenceConfig>> asyncInferenceConfig()
- Returns:
- How an endpoint performs asynchronous inference.
-
dataCaptureConfig
public com.pulumi.core.Output<java.util.Optional<EndpointConfigurationDataCaptureConfig>> dataCaptureConfig()
- Returns:
- Parameters to capture input/output of SageMaker AI models endpoints. Fields are documented below.
-
executionRoleArn
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> executionRoleArn()
- Returns:
- ARN of an IAM role that SageMaker AI can assume to perform actions on your behalf. Required when `modelName` is not specified in `productionVariants` to support Inference Components.
-
kmsKeyArn
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> kmsKeyArn()
- Returns:
- ARN of a AWS KMS key that SageMaker AI uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- Name of the endpoint configuration. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. If `namePrefix` is specified, `name` is populated with the full name.
-
namePrefix
public com.pulumi.core.Output<java.lang.String> namePrefix()
- Returns:
- Unique endpoint configuration name beginning with the specified prefix. Conflicts with `name`.
-
productionVariants
public com.pulumi.core.Output<java.util.List<EndpointConfigurationProductionVariant>> productionVariants()
- Returns:
- List each model that you want to host at this endpoint. See below.
-
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.
-
shadowProductionVariants
public com.pulumi.core.Output<java.util.Optional<java.util.List<EndpointConfigurationShadowProductionVariant>>> shadowProductionVariants()
- Returns:
- Models that you want to host at this endpoint in shadow mode with production traffic replicated from the model specified on `productionVariants`. If you use this field, you can only specify one variant for `productionVariants` and one variant for `shadowProductionVariants`. See below (same arguments as `productionVariants`).
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Mapping 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:
- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
-
get
public static EndpointConfiguration get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable EndpointConfigurationState 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.
-
-