import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an AWS Bedrock AgentCore Policy Engine. A Policy Engine controls what actions and resources an agent runtime can use. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.bedrock.AgentcorePolicyEngine("example", {name: "example_policy_engine"}); * ``` * * ### With Description * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.bedrock.AgentcorePolicyEngine("example", { * name: "example_policy_engine", * description: "Policy engine for customer service agent", * }); * ``` * * ### With Custom Encryption * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.kms.Key("example", { * description: "KMS key for Bedrock AgentCore Policy Engine", * deletionWindowInDays: 7, * }); * const exampleAgentcorePolicyEngine = new aws.bedrock.AgentcorePolicyEngine("example", { * name: "example_policy_engine", * description: "Policy engine for customer service agent", * encryptionKeyArn: example.arn, * }); * ``` * * ## Import * * ### Identity Schema * * #### Required * * - `policyEngineId` (String) Policy engine ID. * * #### Optional * * * `accountId` (String) AWS account ID for this resource. * * `region` (String) AWS Region for this resource. * * Using `pulumi import`, import a Bedrock AgentCore Policy Engine by policy engine ID. For example: * * ```sh * $ pulumi import aws:bedrock/agentcorePolicyEngine:AgentcorePolicyEngine example policy-engine-id-12345678 * ``` */ export declare class AgentcorePolicyEngine extends pulumi.CustomResource { /** * Get an existing AgentcorePolicyEngine 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?: AgentcorePolicyEngineState, opts?: pulumi.CustomResourceOptions): AgentcorePolicyEngine; /** * Returns true if the given object is an instance of AgentcorePolicyEngine. 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 AgentcorePolicyEngine; /** * Description of the policy engine. */ readonly description: pulumi.Output; /** * ARN of the KMS key used to encrypt the policy engine. If not set, AWS uses an AWS managed key. */ readonly encryptionKeyArn: pulumi.Output; /** * Name of the policy engine. Must start with a letter and contain only letters, numbers, and underscores. Maximum length of 48 characters. * * The following arguments are optional: */ readonly name: pulumi.Output; /** * ARN of the Policy Engine. */ readonly policyEngineArn: pulumi.Output; /** * Unique identifier of the Policy Engine. */ readonly policyEngineId: 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; /** * Key-value map of resource tags. 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 AgentcorePolicyEngine 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?: AgentcorePolicyEngineArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AgentcorePolicyEngine resources. */ export interface AgentcorePolicyEngineState { /** * Description of the policy engine. */ description?: pulumi.Input; /** * ARN of the KMS key used to encrypt the policy engine. If not set, AWS uses an AWS managed key. */ encryptionKeyArn?: pulumi.Input; /** * Name of the policy engine. Must start with a letter and contain only letters, numbers, and underscores. Maximum length of 48 characters. * * The following arguments are optional: */ name?: pulumi.Input; /** * ARN of the Policy Engine. */ policyEngineArn?: pulumi.Input; /** * Unique identifier of the Policy Engine. */ policyEngineId?: 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; /** * Key-value map of resource tags. 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 AgentcorePolicyEngine resource. */ export interface AgentcorePolicyEngineArgs { /** * Description of the policy engine. */ description?: pulumi.Input; /** * ARN of the KMS key used to encrypt the policy engine. If not set, AWS uses an AWS managed key. */ encryptionKeyArn?: pulumi.Input; /** * Name of the policy engine. Must start with a letter and contain only letters, numbers, and underscores. Maximum length of 48 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; /** * Key-value map of resource tags. 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=agentcorePolicyEngine.d.ts.map