getIAMPolicy

Generates an IAM policy document that may be referenced by and applied to other Google Cloud Platform IAM resources, such as the gcp.projects.IAMPolicy resource. Note: Please review the documentation of the resource that you will be using the datasource with. Some resources such as gcp.projects.IAMPolicy and others have limitations in their API methods which are noted on their respective page.

Return

A collection of values returned by getIAMPolicy.

Parameters

argument

A collection of arguments for invoking getIAMPolicy.


suspend fun getIAMPolicy(auditConfigs: List<GetIAMPolicyAuditConfig>? = null, bindings: List<GetIAMPolicyBinding>? = null): GetIAMPolicyResult

Return

A collection of values returned by getIAMPolicy.

Parameters

auditConfigs

A nested configuration block that defines logging additional configuration for your project. This field is only supported on gcp.projects.IAMPolicy, gcp.folder.IAMPolicy and gcp.organizations.IAMPolicy.

bindings

A nested configuration block (described below) defining a binding to be included in the policy document. Multiple binding arguments are supported. Each document configuration must have one or more binding blocks, which each accept the following arguments:

See also


Return

A collection of values returned by getIAMPolicy.

Parameters

argument

Builder for com.pulumi.gcp.organizations.kotlin.inputs.GetIAMPolicyPlainArgs.

See also