import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * 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: * * ```sh * $ pulumi import aws:sagemaker/endpointConfiguration:EndpointConfiguration example example-endpoint-config * ``` */ export declare class EndpointConfiguration extends pulumi.CustomResource { /** * Get an existing EndpointConfiguration resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: EndpointConfigurationState, opts?: pulumi.CustomResourceOptions): EndpointConfiguration; /** * Returns true if the given object is an instance of EndpointConfiguration. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is EndpointConfiguration; /** * ARN assigned by AWS to this endpoint configuration. */ readonly arn: pulumi.Output; /** * How an endpoint performs asynchronous inference. */ readonly asyncInferenceConfig: pulumi.Output; /** * Parameters to capture input/output of SageMaker AI models endpoints. Fields are documented below. */ readonly dataCaptureConfig: pulumi.Output; /** * 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. */ readonly executionRoleArn: pulumi.Output; /** * 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. */ readonly kmsKeyArn: pulumi.Output; /** * 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. */ readonly name: pulumi.Output; /** * Unique endpoint configuration name beginning with the specified prefix. Conflicts with `name`. */ readonly namePrefix: pulumi.Output; /** * List each model that you want to host at this endpoint. See below. */ readonly productionVariants: pulumi.Output; /** * 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. */ readonly region: pulumi.Output; /** * 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`). */ readonly shadowProductionVariants: pulumi.Output; /** * 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. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * Create a EndpointConfiguration resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: EndpointConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EndpointConfiguration resources. */ export interface EndpointConfigurationState { /** * ARN assigned by AWS to this endpoint configuration. */ arn?: pulumi.Input; /** * How an endpoint performs asynchronous inference. */ asyncInferenceConfig?: pulumi.Input; /** * Parameters to capture input/output of SageMaker AI models endpoints. Fields are documented below. */ dataCaptureConfig?: pulumi.Input; /** * 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. */ executionRoleArn?: pulumi.Input; /** * 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. */ kmsKeyArn?: pulumi.Input; /** * 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. */ name?: pulumi.Input; /** * Unique endpoint configuration name beginning with the specified prefix. Conflicts with `name`. */ namePrefix?: pulumi.Input; /** * List each model that you want to host at this endpoint. See below. */ productionVariants?: pulumi.Input[] | undefined>; /** * 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. */ region?: pulumi.Input; /** * 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`). */ shadowProductionVariants?: pulumi.Input[] | undefined>; /** * 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. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } /** * The set of arguments for constructing a EndpointConfiguration resource. */ export interface EndpointConfigurationArgs { /** * How an endpoint performs asynchronous inference. */ asyncInferenceConfig?: pulumi.Input; /** * Parameters to capture input/output of SageMaker AI models endpoints. Fields are documented below. */ dataCaptureConfig?: pulumi.Input; /** * 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. */ executionRoleArn?: pulumi.Input; /** * 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. */ kmsKeyArn?: pulumi.Input; /** * 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. */ name?: pulumi.Input; /** * Unique endpoint configuration name beginning with the specified prefix. Conflicts with `name`. */ namePrefix?: pulumi.Input; /** * List each model that you want to host at this endpoint. See below. */ productionVariants: pulumi.Input[]>; /** * 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. */ region?: pulumi.Input; /** * 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`). */ shadowProductionVariants?: pulumi.Input[] | undefined>; /** * 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. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=endpointConfiguration.d.ts.map