ScopeRbacRoleBindingArgs

data class ScopeRbacRoleBindingArgs(val group: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val project: Output<String>? = null, val role: Output<ScopeRbacRoleBindingRoleArgs>? = null, val scopeId: Output<String>? = null, val scopeRbacRoleBindingId: Output<String>? = null, val user: Output<String>? = null) : ConvertibleToJava<ScopeRbacRoleBindingArgs>

RBACRoleBinding represents a rbacrolebinding across the Fleet. To get more information about ScopeRBACRoleBinding, see:

Example Usage

{{% /examples %}}

Import

ScopeRBACRoleBinding can be imported using any of these accepted formats

$ pulumi import gcp:gkehub/scopeRbacRoleBinding:ScopeRbacRoleBinding default projects/{{project}}/locations/global/scopes/{{scope_id}}/rbacrolebindings/{{scope_rbac_role_binding_id}}
$ pulumi import gcp:gkehub/scopeRbacRoleBinding:ScopeRbacRoleBinding default {{project}}/{{scope_id}}/{{scope_rbac_role_binding_id}}
$ pulumi import gcp:gkehub/scopeRbacRoleBinding:ScopeRbacRoleBinding default {{scope_id}}/{{scope_rbac_role_binding_id}}

Constructors

Link copied to clipboard
constructor(group: Output<String>? = null, labels: Output<Map<String, String>>? = null, project: Output<String>? = null, role: Output<ScopeRbacRoleBindingRoleArgs>? = null, scopeId: Output<String>? = null, scopeRbacRoleBindingId: Output<String>? = null, user: Output<String>? = null)

Properties

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

Principal that is be authorized in the cluster (at least of one the oneof is required). Updating one will unset the other automatically. group is the group, as seen by the kubernetes cluster.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Labels for this ScopeRBACRoleBinding.

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

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

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

Role to bind to the principal. Structure is documented below.

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

Id of the scope

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

The client-provided identifier of the RBAC Role Binding.

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

Principal that is be authorized in the cluster (at least of one the oneof is required). Updating one will unset the other automatically. user is the name of the user as seen by the kubernetes cluster, example "alice" or "alice@domain.tld"

Functions

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