import * as pulumi from "@pulumi/pulumi"; /** * Retrieves the current IAM policy data for source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.securitycenter.getSourceIamPolicy({ * source: customSource.name, * }); * ``` */ export declare function getSourceIamPolicy(args: GetSourceIamPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSourceIamPolicy. */ export interface GetSourceIamPolicyArgs { organization: string; /** * Used to find the parent resource to bind the IAM policy to */ source: string; } /** * A collection of values returned by getSourceIamPolicy. */ export interface GetSourceIamPolicyResult { /** * (Computed) The etag of the IAM policy. */ readonly etag: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly organization: string; /** * (Required only by `gcp.securitycenter.SourceIamPolicy`) The policy data generated by * a `gcp.organizations.getIAMPolicy` data source. */ readonly policyData: string; readonly source: string; } /** * Retrieves the current IAM policy data for source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const policy = gcp.securitycenter.getSourceIamPolicy({ * source: customSource.name, * }); * ``` */ export declare function getSourceIamPolicyOutput(args: GetSourceIamPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSourceIamPolicy. */ export interface GetSourceIamPolicyOutputArgs { organization: pulumi.Input; /** * Used to find the parent resource to bind the IAM policy to */ source: pulumi.Input; }