DatasetIamBindingArgs

data class DatasetIamBindingArgs(val condition: Output<DatasetIamBindingConditionArgs>? = null, val datasetId: Output<String>? = null, val members: Output<List<String>>? = null, val role: Output<String>? = null) : ConvertibleToJava<DatasetIamBindingArgs>

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 dataset_id, role, and account e.g.

$ pulumi import gcp:healthcare/datasetIamBinding:DatasetIamBinding dataset_iam "your-project-id/location-name/dataset-name 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 dataset_id and role, e.g.

$ pulumi import gcp:healthcare/datasetIamBinding:DatasetIamBinding dataset_iam "your-project-id/location-name/dataset-name roles/viewer"

IAM policy imports use the identifier of the resource in question. This policy resource can be imported using the dataset_id, role, and account e.g.

$ pulumi import gcp:healthcare/datasetIamBinding:DatasetIamBinding dataset_iam your-project-id/location-name/dataset-name

->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. [projects/my-project|organizations/my-org]/roles/my-custom-role.

Constructors

Link copied to clipboard
fun DatasetIamBindingArgs(condition: Output<DatasetIamBindingConditionArgs>? = null, datasetId: Output<String>? = null, members: Output<List<String>>? = null, role: Output<String>? = null)

Functions

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

Properties

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

The dataset ID, in the form {project_id}/{location_name}/{dataset_name} or {location_name}/{dataset_name}. In the second form, the provider's project setting will be used as a fallback.

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

The role that should be applied. Only one gcp.healthcare.DatasetIamBinding can be used per role. Note that custom roles must be of the format [projects|organizations]/{parent-name}/roles/{role-name}.