import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an AWS Agent Registry registry. * * A registry allows developers to discover, manage, and govern reusable agentic components such as tools, prompts, guardrails, and knowledge bases. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.agentregistry.Registry("example", { * discoveryConfiguration: { * authorizerType: "AWS_IAM", * }, * name: "example-registry", * }); * ``` * * ### With Description * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.agentregistry.Registry("example", { * discoveryConfiguration: { * authorizerType: "AWS_IAM", * }, * name: "example-registry", * description: "Example agent registry", * }); * ``` * * ### With Auto Approval * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.agentregistry.Registry("example", { * approvalConfiguration: { * autoApprovalRules: ["APPROVE_ALL"], * }, * discoveryConfiguration: { * authorizerType: "AWS_IAM", * }, * name: "example-registry", * }); * ``` * * ### With Custom JWT Authorization * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.agentregistry.Registry("example", { * discoveryConfiguration: { * authorizerConfiguration: { * customJwtAuthorizer: { * customClaims: [{ * authorizingClaimMatchValue: { * claimMatchValue: { * matchValueString: "authorized-user", * }, * claimMatchOperator: "EQUALS", * }, * inboundTokenClaimName: "sub", * inboundTokenClaimValueType: "STRING", * }], * discoveryUrl: "https://example.com/.well-known/openid-configuration", * allowedAudiences: ["https://api.example.com"], * allowedClients: ["client-id-1"], * allowedScopes: [ * "read", * "write", * ], * }, * }, * authorizerType: "CUSTOM_JWT", * }, * name: "example-registry", * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * * `registryId` (String) Registry ID. * * #### Optional * * * `accountId` (String) AWS Account where this resource is managed. * * `region` (String) Region where this resource is managed. * * Using `pulumi import`, import an Agent Registry Registry by registry ID. For example: * * ```sh * $ pulumi import aws:agentregistry/registry:Registry example registry-id-12345678 * ``` */ export declare class Registry extends pulumi.CustomResource { /** * Get an existing Registry 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?: RegistryState, opts?: pulumi.CustomResourceOptions): Registry; /** * Returns true if the given object is an instance of Registry. 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 Registry; /** * Approval configuration for registry records. See below. */ readonly approvalConfiguration: pulumi.Output; /** * Auto-detection configuration for the registry. When provided, the registry is automatically populated with resources discovered according to the configuration. See below. */ readonly autoDetectionConfiguration: pulumi.Output; /** * Description of the registry. Maximum length of 4096 characters. */ readonly description: pulumi.Output; /** * Discovery configuration for the registry. See below. */ readonly discoveryConfiguration: pulumi.Output; /** * Server-side encryption configuration for the registry. See below. */ readonly encryptionConfiguration: pulumi.Output; /** * Name of the registry. Must start with a letter or digit. Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen), . (dot), and / (forward slash). The name can have up to 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; /** * Map of tags assigned 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; }>; readonly timeouts: pulumi.Output; /** * Create a Registry 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: RegistryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Registry resources. */ export interface RegistryState { /** * Approval configuration for registry records. See below. */ approvalConfiguration?: pulumi.Input; /** * Auto-detection configuration for the registry. When provided, the registry is automatically populated with resources discovered according to the configuration. See below. */ autoDetectionConfiguration?: pulumi.Input; /** * Description of the registry. Maximum length of 4096 characters. */ description?: pulumi.Input; /** * Discovery configuration for the registry. See below. */ discoveryConfiguration?: pulumi.Input; /** * Server-side encryption configuration for the registry. See below. */ encryptionConfiguration?: pulumi.Input; /** * Name of the registry. Must start with a letter or digit. Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen), . (dot), and / (forward slash). The name can have up to 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; /** * Map of tags assigned 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>; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a Registry resource. */ export interface RegistryArgs { /** * Approval configuration for registry records. See below. */ approvalConfiguration?: pulumi.Input; /** * Auto-detection configuration for the registry. When provided, the registry is automatically populated with resources discovered according to the configuration. See below. */ autoDetectionConfiguration?: pulumi.Input; /** * Description of the registry. Maximum length of 4096 characters. */ description?: pulumi.Input; /** * Discovery configuration for the registry. See below. */ discoveryConfiguration: pulumi.Input; /** * Server-side encryption configuration for the registry. See below. */ encryptionConfiguration?: pulumi.Input; /** * Name of the registry. Must start with a letter or digit. Valid characters are a-z, A-Z, 0-9, _ (underscore), - (hyphen), . (dot), and / (forward slash). The name can have up to 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; /** * Map of tags assigned 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>; timeouts?: pulumi.Input; } //# sourceMappingURL=registry.d.ts.map