import * as pulumi from "@pulumi/pulumi"; /** * Retrieves information about the resource policy. The resource policy is an IAM policy created by AWS RAM on behalf of the resource owner when they share a resource. */ export declare function getResourcePolicy(args: GetResourcePolicyArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetResourcePolicyArgs { /** * An IAM policy. */ resourceArn: string; } export interface GetResourcePolicyResult { /** * The Amazon Resource Name (ARN) of the service network or service. * * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::VpcLattice::ResourcePolicy` for more information about the expected schema for this property. */ readonly policy?: any; } /** * Retrieves information about the resource policy. The resource policy is an IAM policy created by AWS RAM on behalf of the resource owner when they share a resource. */ export declare function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetResourcePolicyOutputArgs { /** * An IAM policy. */ resourceArn: pulumi.Input; }