IAMMemberArgs

data class IAMMemberArgs(val condition: Output<IAMMemberConditionArgs>? = null, val folder: Output<String>? = null, val member: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<IAMMemberArgs>

Import

IAM member imports use space-delimited identifiers; the resource in question, the role, and the account. This member resource can be imported using the folder, role, and member e.g.

$ pulumi import gcp:folder/iAMMember:IAMMember my_folder "folder roles/viewer user:foo@example.com"

IAM binding imports use space-delimited identifiers; the resource in question and the role. This binding resource can be imported using the folder and role, e.g.

$ pulumi import gcp:folder/iAMMember:IAMMember my_folder "folder roles/viewer"

IAM policy imports use the identifier of the resource in question. This policy resource can be imported using the folder.

$ pulumi import gcp:folder/iAMMember:IAMMember my_folder folder

IAM audit config imports use the identifier of the resource in question and the service, e.g.

$ pulumi import gcp:folder/iAMMember:IAMMember my_folder "folder foo.googleapis.com"

->Custom RolesIf you're importing a IAM resource with a custom role, make sure to use the full name of the custom role, e.g. organizations/{{org_id}}/roles/{{role_id}}. ->Conditional IAM BindingsIf you're importing a IAM binding with a condition block, make sure

$ pulumi import gcp:folder/iAMMember:IAMMember to include the title of condition, e.g. `google_folder_iam_binding.my_folder "folder roles/{{role_id}} condition-title"`

Constructors

Link copied to clipboard
fun IAMMemberArgs(condition: Output<IAMMemberConditionArgs>? = null, folder: Output<String>? = null, member: Output<String>? = null, role: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): IAMMemberArgs

Properties

Link copied to clipboard
val condition: Output<IAMMemberConditionArgs>? = null

An IAM Condition for a given binding. Structure is documented below.

Link copied to clipboard
val folder: Output<String>? = null

The resource name of the folder the policy is attached to. Its format is folders/{folder_id}.

Link copied to clipboard
val member: Output<String>? = null
Link copied to clipboard
val role: Output<String>? = null

The role that should be applied. Only one gcp.folder.IAMBinding can be used per role. Note that custom roles must be of the format organizations/{{org_id}}/roles/{{role_id}}.