import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource Type definition for a resource policy with specified policy statements that attaches to a Lex bot or bot alias. */ export declare function getResourcePolicy(args: GetResourcePolicyArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetResourcePolicyArgs { /** * The identifier of the resource policy. */ id: string; } export interface GetResourcePolicyResult { /** * The identifier of the resource policy. */ readonly id?: string; /** * A resource policy to add to the resource. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow IAM syntax. If the policy isn't valid, Amazon Lex returns a validation exception. */ readonly policy?: outputs.lex.ResourcePolicyPolicy; /** * Specifies the current revision of a resource policy. */ readonly revisionId?: string; } /** * Resource Type definition for a resource policy with specified policy statements that attaches to a Lex bot or bot alias. */ export declare function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetResourcePolicyOutputArgs { /** * The identifier of the resource policy. */ id: pulumi.Input; }