EndpointConfiguration class

Provides 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:

$ pulumi import aws:sagemaker/endpointConfiguration:EndpointConfiguration example example-endpoint-config

Constructors

EndpointConfiguration(String name, {EndpointConfigurationArgs? args, CustomResourceOptions? options})
Creates a new EndpointConfiguration. name The Pulumi resource name. args Arguments used to configure this EndpointConfiguration. The set of arguments for EndpointConfiguration. options Resource options controlling this resource's behavior.
EndpointConfiguration.reference(String urn)
Creates a typed reference to an existing EndpointConfiguration resource.

Properties

arn ↔ Output<String>
ARN assigned by AWS to this endpoint configuration.
latefinal
asyncInferenceConfig ↔ Output<EndpointConfigurationAsyncInferenceConfig?>
How an endpoint performs asynchronous inference.
latefinal
childResources Set<Resource>
finalinherited
completionSources Map<String, IOutputCompletionSource>
latefinalinherited
dataCaptureConfig ↔ Output<EndpointConfigurationDataCaptureConfig?>
Parameters to capture input/output of SageMaker AI models endpoints. Fields are documented below.
latefinal
executionRoleArn ↔ Output<String?>
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.
latefinal
hashCode int
The hash code for this object.
no setterinherited
id ↔ Output<String>
getter/setter pairinherited
isCustom bool
Returns whether this resource is provider-managed.
no setterinherited
isProtected bool
Returns whether this resource is protected from deletion.
no setterinherited
isRemote bool
Whether this resource is registered as remote.
no setterinherited
isResourceReference bool
Whether this instance represents a resource value returned over RPC.
finalinherited
kmsKeyArn ↔ Output<String?>
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.
latefinal
name ↔ Output<String>
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.
latefinal
namePrefix ↔ Output<String>
Unique endpoint configuration name beginning with the specified prefix. Conflicts with name.
latefinal
productionVariants ↔ Output<List<EndpointConfigurationProductionVariant>>
List each model that you want to host at this endpoint. See below.
latefinal
region ↔ Output<String>
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
latefinal
resourceTransforms List<ResourceTransform>
Inherited/explicit async transforms.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowProductionVariants ↔ Output<List<EndpointConfigurationShadowProductionVariant>?>
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).
latefinal
tags ↔ Output<Map<String, String>?>
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.
latefinal
tagsAll ↔ Output<Map<String, String>>
Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
latefinal
transformations List<ResourceTransformation>
Inherited/explicit legacy transformations.
no setterinherited
urn ↔ Output<String>
latefinalinherited

Methods

failId(Object error) → void
Completes this resource ID with an error when registration fails.
inherited
failOutputs(Object error) → void
Completes all output properties with error.
inherited
failUrn(Object error) → void
Completes this resource URN with an error when registration fails.
inherited
getProvider(String moduleMember) → ProviderResource?
Returns provider for moduleMember's package, if configured.
inherited
getResourceName() String
Returns this resource's logical name.
inherited
getResourceType() String
Returns this resource's Pulumi type token.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerOutput<T>(String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output<T>
Registers a dynamic output property for this resource.
inherited
resolveId(String? value, {required bool isKnown}) → void
Resolves the provider-assigned ID for this resource.
inherited
resolveOutputs(Struct outputs) → void
Resolves all output properties from a monitor response payload.
inherited
resolveUrn(String value) → void
Resolves this resource's URN once assigned by the engine.
inherited
serializeProperties(Map<String, dynamic> properties) Future<Struct>
Serializes resource properties for RPC transmission.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

get(String name, Input<String> id, {EndpointConfigurationState? state, CustomResourceOptions? options}) EndpointConfiguration
Gets an existing EndpointConfiguration resource's state with the given name and id.