import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an AWS Bedrock AgentCore Registry. A registry serves as a centralized catalog for organizing and managing registry records, including MCP servers, A2A agents, agent skills, and custom resource types. * * > **Warning:** This resource is deprecated. AWS Agent Registry is currently available in public preview. [On August 6, 2026](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/registry-faq.html#registry-faq-what-is-changing) functionality will move from the `bedrock-agentcore` namespace to the `agent-registry` namespace. This resource will continue to work until [September 17, 2026](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/registry-faq.html). Use the `aws.agentregistry.Registry` resource for all new registries. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.bedrock.AgentcoreRegistry("example", {name: "example_registry"}); * ``` * * ### With Description and Auto Approval * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.bedrock.AgentcoreRegistry("example", { * name: "example_registry", * description: "MCP servers and tools for the platform team", * autoApproval: true, * }); * ``` * * ### With Custom JWT Authorizer * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.bedrock.AgentcoreRegistry("example", { * authorizerConfiguration: { * customJwtAuthorizer: { * discoveryUrl: "https://example.okta.com/.well-known/openid-configuration", * allowedAudiences: ["audience-id"], * allowedClients: ["client-id"], * }, * }, * name: "example_registry", * authorizerType: "CUSTOM_JWT", * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * - `registryId` (String) Registry ID. * * #### Optional * * * `accountId` (String) AWS account ID for this resource. * * `region` (String) AWS Region for this resource. * * Using `pulumi import`, import a Bedrock AgentCore Registry by registry ID. For example: * * ```sh * $ pulumi import aws:bedrock/agentcoreRegistry:AgentcoreRegistry example registry-id-12345678 * ``` */ export declare class AgentcoreRegistry extends pulumi.CustomResource { /** * Get an existing AgentcoreRegistry 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?: AgentcoreRegistryState, opts?: pulumi.CustomResourceOptions): AgentcoreRegistry; /** * Returns true if the given object is an instance of AgentcoreRegistry. 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 AgentcoreRegistry; /** * Approval configuration for registry records. See below. */ readonly approvalConfigurations: pulumi.Output; /** * Authorizer configuration for the registry. Required when `authorizerType` is `CUSTOM_JWT`. See below. */ readonly authorizerConfiguration: pulumi.Output; /** * Type of authorizer to use for the registry. Valid values are `AWS_IAM` (default) and `CUSTOM_JWT`. This controls the authorization method for the Search and Invoke APIs used by consumers. */ readonly authorizerType: pulumi.Output; /** * Description of the registry. */ readonly description: pulumi.Output; /** * Name of the registry. Must be unique within your account and contain only letters, numbers, hyphens, and underscores. Maximum length of 64 characters. * * The following arguments are optional: */ readonly name: 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; /** * ARN of the registry. */ readonly registryArn: pulumi.Output; /** * Unique identifier of the registry. */ readonly registryId: pulumi.Output; readonly timeouts: pulumi.Output; /** * Create a AgentcoreRegistry 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?: AgentcoreRegistryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AgentcoreRegistry resources. */ export interface AgentcoreRegistryState { /** * Approval configuration for registry records. See below. */ approvalConfigurations?: pulumi.Input[] | undefined>; /** * Authorizer configuration for the registry. Required when `authorizerType` is `CUSTOM_JWT`. See below. */ authorizerConfiguration?: pulumi.Input; /** * Type of authorizer to use for the registry. Valid values are `AWS_IAM` (default) and `CUSTOM_JWT`. This controls the authorization method for the Search and Invoke APIs used by consumers. */ authorizerType?: pulumi.Input; /** * Description of the registry. */ description?: pulumi.Input; /** * Name of the registry. Must be unique within your account and contain only letters, numbers, hyphens, and underscores. Maximum length of 64 characters. * * The following arguments are optional: */ name?: 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; /** * ARN of the registry. */ registryArn?: pulumi.Input; /** * Unique identifier of the registry. */ registryId?: pulumi.Input; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a AgentcoreRegistry resource. */ export interface AgentcoreRegistryArgs { /** * Approval configuration for registry records. See below. */ approvalConfigurations?: pulumi.Input[] | undefined>; /** * Authorizer configuration for the registry. Required when `authorizerType` is `CUSTOM_JWT`. See below. */ authorizerConfiguration?: pulumi.Input; /** * Type of authorizer to use for the registry. Valid values are `AWS_IAM` (default) and `CUSTOM_JWT`. This controls the authorization method for the Search and Invoke APIs used by consumers. */ authorizerType?: pulumi.Input; /** * Description of the registry. */ description?: pulumi.Input; /** * Name of the registry. Must be unique within your account and contain only letters, numbers, hyphens, and underscores. Maximum length of 64 characters. * * The following arguments are optional: */ name?: 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; timeouts?: pulumi.Input; } //# sourceMappingURL=agentcoreRegistry.d.ts.map