published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Container Service provides cluster RBAC authorization, granting RBAC access permissions to IAM users or roles. This includes accessible resources, scope of permissions, and predefined role types, enabling better management of cluster security access control and meeting enterprise users’ requirements for fine-grained resource access control.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const vKEPermissionDemo = new volcenginecc.vke.Permission("VKEPermissionDemo", {
roleDomain: "namespace",
clusterId: "cd48m3cb1b2ba7l6ebgp0xxxxx",
namespace: "kube-public",
roleName: "vke:visitor",
isCustomRole: false,
granteeId: 59433888,
granteeType: "User",
});
import pulumi
import pulumi_volcenginecc as volcenginecc
v_ke_permission_demo = volcenginecc.vke.Permission("VKEPermissionDemo",
role_domain="namespace",
cluster_id="cd48m3cb1b2ba7l6ebgp0xxxxx",
namespace="kube-public",
role_name="vke:visitor",
is_custom_role=False,
grantee_id=59433888,
grantee_type="User")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/vke"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vke.NewPermission(ctx, "VKEPermissionDemo", &vke.PermissionArgs{
RoleDomain: pulumi.String("namespace"),
ClusterId: pulumi.String("cd48m3cb1b2ba7l6ebgp0xxxxx"),
Namespace: pulumi.String("kube-public"),
RoleName: pulumi.String("vke:visitor"),
IsCustomRole: pulumi.Bool(false),
GranteeId: pulumi.Int(59433888),
GranteeType: pulumi.String("User"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var vKEPermissionDemo = new Volcenginecc.Vke.Permission("VKEPermissionDemo", new()
{
RoleDomain = "namespace",
ClusterId = "cd48m3cb1b2ba7l6ebgp0xxxxx",
Namespace = "kube-public",
RoleName = "vke:visitor",
IsCustomRole = false,
GranteeId = 59433888,
GranteeType = "User",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.vke.Permission;
import com.volcengine.volcenginecc.vke.PermissionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var vKEPermissionDemo = new Permission("vKEPermissionDemo", PermissionArgs.builder()
.roleDomain("namespace")
.clusterId("cd48m3cb1b2ba7l6ebgp0xxxxx")
.namespace("kube-public")
.roleName("vke:visitor")
.isCustomRole(false)
.granteeId(59433888)
.granteeType("User")
.build());
}
}
resources:
vKEPermissionDemo:
type: volcenginecc:vke:Permission
name: VKEPermissionDemo
properties:
roleDomain: namespace
clusterId: cd48m3cb1b2ba7l6ebgp0xxxxx
namespace: kube-public
roleName: vke:visitor
isCustomRole: false
granteeId: 5.9433888e+07
granteeType: User
Create Permission Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Permission(name: string, args?: PermissionArgs, opts?: CustomResourceOptions);@overload
def Permission(resource_name: str,
args: Optional[PermissionArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Permission(resource_name: str,
opts: Optional[ResourceOptions] = None,
authorizer_id: Optional[int] = None,
authorizer_type: Optional[str] = None,
cluster_id: Optional[str] = None,
grantee_id: Optional[int] = None,
grantee_type: Optional[str] = None,
is_custom_role: Optional[bool] = None,
namespace: Optional[str] = None,
role_domain: Optional[str] = None,
role_name: Optional[str] = None)func NewPermission(ctx *Context, name string, args *PermissionArgs, opts ...ResourceOption) (*Permission, error)public Permission(string name, PermissionArgs? args = null, CustomResourceOptions? opts = null)
public Permission(String name, PermissionArgs args)
public Permission(String name, PermissionArgs args, CustomResourceOptions options)
type: volcenginecc:vke:Permission
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PermissionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PermissionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PermissionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PermissionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PermissionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Permission Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Permission resource accepts the following input properties:
- int
- Grantor ID. Can be an IAM user ID or an IAM role ID.
- string
- Type of grantor. Possible values: User: IAM user. Role: IAM role. Account: account.
- Cluster
Id string - Cluster ID to be authorized for the IAM user or role. This parameter is required when roleDomain is namespace or cluster.
- Grantee
Id int - Grantee ID. Can be an IAM user ID or an IAM role ID.
- Grantee
Type string - Type of grantee. Possible values: User: IAM user. Role: IAM role. Account: account.
- Is
Custom boolRole - Whether the RBAC role granted to the grantee is a custom role. Possible values: true: custom role. false (default): system predefined role.
- Namespace string
- Namespace name to be authorized for the IAM user or role. This parameter is required when roleDomain equals namespace. If roleDomain does not equal namespace, this parameter is not effective.
- Role
Domain string - The permission type granted to an IAM user or role. Possible values: namespace: grants permissions at the namespace level. cluster: grants permissions at the cluster level. all_clusters: grants permissions at the cluster level for all clusters under the current account.
- Role
Name string - Name of the RBAC role granted to the grantee. This parameter must be specified. When roleDomain is all_clusters, custom role names are not allowed.
- int
- Grantor ID. Can be an IAM user ID or an IAM role ID.
- string
- Type of grantor. Possible values: User: IAM user. Role: IAM role. Account: account.
- Cluster
Id string - Cluster ID to be authorized for the IAM user or role. This parameter is required when roleDomain is namespace or cluster.
- Grantee
Id int - Grantee ID. Can be an IAM user ID or an IAM role ID.
- Grantee
Type string - Type of grantee. Possible values: User: IAM user. Role: IAM role. Account: account.
- Is
Custom boolRole - Whether the RBAC role granted to the grantee is a custom role. Possible values: true: custom role. false (default): system predefined role.
- Namespace string
- Namespace name to be authorized for the IAM user or role. This parameter is required when roleDomain equals namespace. If roleDomain does not equal namespace, this parameter is not effective.
- Role
Domain string - The permission type granted to an IAM user or role. Possible values: namespace: grants permissions at the namespace level. cluster: grants permissions at the cluster level. all_clusters: grants permissions at the cluster level for all clusters under the current account.
- Role
Name string - Name of the RBAC role granted to the grantee. This parameter must be specified. When roleDomain is all_clusters, custom role names are not allowed.
- Integer
- Grantor ID. Can be an IAM user ID or an IAM role ID.
- String
- Type of grantor. Possible values: User: IAM user. Role: IAM role. Account: account.
- cluster
Id String - Cluster ID to be authorized for the IAM user or role. This parameter is required when roleDomain is namespace or cluster.
- grantee
Id Integer - Grantee ID. Can be an IAM user ID or an IAM role ID.
- grantee
Type String - Type of grantee. Possible values: User: IAM user. Role: IAM role. Account: account.
- is
Custom BooleanRole - Whether the RBAC role granted to the grantee is a custom role. Possible values: true: custom role. false (default): system predefined role.
- namespace String
- Namespace name to be authorized for the IAM user or role. This parameter is required when roleDomain equals namespace. If roleDomain does not equal namespace, this parameter is not effective.
- role
Domain String - The permission type granted to an IAM user or role. Possible values: namespace: grants permissions at the namespace level. cluster: grants permissions at the cluster level. all_clusters: grants permissions at the cluster level for all clusters under the current account.
- role
Name String - Name of the RBAC role granted to the grantee. This parameter must be specified. When roleDomain is all_clusters, custom role names are not allowed.
- number
- Grantor ID. Can be an IAM user ID or an IAM role ID.
- string
- Type of grantor. Possible values: User: IAM user. Role: IAM role. Account: account.
- cluster
Id string - Cluster ID to be authorized for the IAM user or role. This parameter is required when roleDomain is namespace or cluster.
- grantee
Id number - Grantee ID. Can be an IAM user ID or an IAM role ID.
- grantee
Type string - Type of grantee. Possible values: User: IAM user. Role: IAM role. Account: account.
- is
Custom booleanRole - Whether the RBAC role granted to the grantee is a custom role. Possible values: true: custom role. false (default): system predefined role.
- namespace string
- Namespace name to be authorized for the IAM user or role. This parameter is required when roleDomain equals namespace. If roleDomain does not equal namespace, this parameter is not effective.
- role
Domain string - The permission type granted to an IAM user or role. Possible values: namespace: grants permissions at the namespace level. cluster: grants permissions at the cluster level. all_clusters: grants permissions at the cluster level for all clusters under the current account.
- role
Name string - Name of the RBAC role granted to the grantee. This parameter must be specified. When roleDomain is all_clusters, custom role names are not allowed.
- int
- Grantor ID. Can be an IAM user ID or an IAM role ID.
- str
- Type of grantor. Possible values: User: IAM user. Role: IAM role. Account: account.
- cluster_
id str - Cluster ID to be authorized for the IAM user or role. This parameter is required when roleDomain is namespace or cluster.
- grantee_
id int - Grantee ID. Can be an IAM user ID or an IAM role ID.
- grantee_
type str - Type of grantee. Possible values: User: IAM user. Role: IAM role. Account: account.
- is_
custom_ boolrole - Whether the RBAC role granted to the grantee is a custom role. Possible values: true: custom role. false (default): system predefined role.
- namespace str
- Namespace name to be authorized for the IAM user or role. This parameter is required when roleDomain equals namespace. If roleDomain does not equal namespace, this parameter is not effective.
- role_
domain str - The permission type granted to an IAM user or role. Possible values: namespace: grants permissions at the namespace level. cluster: grants permissions at the cluster level. all_clusters: grants permissions at the cluster level for all clusters under the current account.
- role_
name str - Name of the RBAC role granted to the grantee. This parameter must be specified. When roleDomain is all_clusters, custom role names are not allowed.
- Number
- Grantor ID. Can be an IAM user ID or an IAM role ID.
- String
- Type of grantor. Possible values: User: IAM user. Role: IAM role. Account: account.
- cluster
Id String - Cluster ID to be authorized for the IAM user or role. This parameter is required when roleDomain is namespace or cluster.
- grantee
Id Number - Grantee ID. Can be an IAM user ID or an IAM role ID.
- grantee
Type String - Type of grantee. Possible values: User: IAM user. Role: IAM role. Account: account.
- is
Custom BooleanRole - Whether the RBAC role granted to the grantee is a custom role. Possible values: true: custom role. false (default): system predefined role.
- namespace String
- Namespace name to be authorized for the IAM user or role. This parameter is required when roleDomain equals namespace. If roleDomain does not equal namespace, this parameter is not effective.
- role
Domain String - The permission type granted to an IAM user or role. Possible values: namespace: grants permissions at the namespace level. cluster: grants permissions at the cluster level. all_clusters: grants permissions at the cluster level for all clusters under the current account.
- role
Name String - Name of the RBAC role granted to the grantee. This parameter must be specified. When roleDomain is all_clusters, custom role names are not allowed.
Outputs
All input properties are implicitly available as output properties. Additionally, the Permission resource produces the following output properties:
- string
- Time when the RBAC policy resource was authorized.
- string
- Grantor name
- Created
Time string - Time when the RBAC policy resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kube
Role stringBinding Name - The object name of the RBAC policy resource in Kubernetes.
- Message string
- Authorization details message.
- Permission
Id string - RBAC policy resource ID.
- Project
Selector string - Project selector
- Revoked
At string - Time when authorization is revoked.
- Status string
- Status of the RBAC access policy resource. Possible values: Success: authorization succeeded. Failed: authorization failed. Pending: authorization in progress. PartialSuccess: partial authorization succeeded.
- string
- Time when the RBAC policy resource was authorized.
- string
- Grantor name
- Created
Time string - Time when the RBAC policy resource was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kube
Role stringBinding Name - The object name of the RBAC policy resource in Kubernetes.
- Message string
- Authorization details message.
- Permission
Id string - RBAC policy resource ID.
- Project
Selector string - Project selector
- Revoked
At string - Time when authorization is revoked.
- Status string
- Status of the RBAC access policy resource. Possible values: Success: authorization succeeded. Failed: authorization failed. Pending: authorization in progress. PartialSuccess: partial authorization succeeded.
- String
- Time when the RBAC policy resource was authorized.
- String
- Grantor name
- created
Time String - Time when the RBAC policy resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- kube
Role StringBinding Name - The object name of the RBAC policy resource in Kubernetes.
- message String
- Authorization details message.
- permission
Id String - RBAC policy resource ID.
- project
Selector String - Project selector
- revoked
At String - Time when authorization is revoked.
- status String
- Status of the RBAC access policy resource. Possible values: Success: authorization succeeded. Failed: authorization failed. Pending: authorization in progress. PartialSuccess: partial authorization succeeded.
- string
- Time when the RBAC policy resource was authorized.
- string
- Grantor name
- created
Time string - Time when the RBAC policy resource was created.
- id string
- The provider-assigned unique ID for this managed resource.
- kube
Role stringBinding Name - The object name of the RBAC policy resource in Kubernetes.
- message string
- Authorization details message.
- permission
Id string - RBAC policy resource ID.
- project
Selector string - Project selector
- revoked
At string - Time when authorization is revoked.
- status string
- Status of the RBAC access policy resource. Possible values: Success: authorization succeeded. Failed: authorization failed. Pending: authorization in progress. PartialSuccess: partial authorization succeeded.
- str
- Time when the RBAC policy resource was authorized.
- str
- Grantor name
- created_
time str - Time when the RBAC policy resource was created.
- id str
- The provider-assigned unique ID for this managed resource.
- kube_
role_ strbinding_ name - The object name of the RBAC policy resource in Kubernetes.
- message str
- Authorization details message.
- permission_
id str - RBAC policy resource ID.
- project_
selector str - Project selector
- revoked_
at str - Time when authorization is revoked.
- status str
- Status of the RBAC access policy resource. Possible values: Success: authorization succeeded. Failed: authorization failed. Pending: authorization in progress. PartialSuccess: partial authorization succeeded.
- String
- Time when the RBAC policy resource was authorized.
- String
- Grantor name
- created
Time String - Time when the RBAC policy resource was created.
- id String
- The provider-assigned unique ID for this managed resource.
- kube
Role StringBinding Name - The object name of the RBAC policy resource in Kubernetes.
- message String
- Authorization details message.
- permission
Id String - RBAC policy resource ID.
- project
Selector String - Project selector
- revoked
At String - Time when authorization is revoked.
- status String
- Status of the RBAC access policy resource. Possible values: Success: authorization succeeded. Failed: authorization failed. Pending: authorization in progress. PartialSuccess: partial authorization succeeded.
Look up Existing Permission Resource
Get an existing Permission resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PermissionState, opts?: CustomResourceOptions): Permission@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authorized_at: Optional[str] = None,
authorizer_id: Optional[int] = None,
authorizer_name: Optional[str] = None,
authorizer_type: Optional[str] = None,
cluster_id: Optional[str] = None,
created_time: Optional[str] = None,
grantee_id: Optional[int] = None,
grantee_type: Optional[str] = None,
is_custom_role: Optional[bool] = None,
kube_role_binding_name: Optional[str] = None,
message: Optional[str] = None,
namespace: Optional[str] = None,
permission_id: Optional[str] = None,
project_selector: Optional[str] = None,
revoked_at: Optional[str] = None,
role_domain: Optional[str] = None,
role_name: Optional[str] = None,
status: Optional[str] = None) -> Permissionfunc GetPermission(ctx *Context, name string, id IDInput, state *PermissionState, opts ...ResourceOption) (*Permission, error)public static Permission Get(string name, Input<string> id, PermissionState? state, CustomResourceOptions? opts = null)public static Permission get(String name, Output<String> id, PermissionState state, CustomResourceOptions options)resources: _: type: volcenginecc:vke:Permission get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- string
- Time when the RBAC policy resource was authorized.
- int
- Grantor ID. Can be an IAM user ID or an IAM role ID.
- string
- Grantor name
- string
- Type of grantor. Possible values: User: IAM user. Role: IAM role. Account: account.
- Cluster
Id string - Cluster ID to be authorized for the IAM user or role. This parameter is required when roleDomain is namespace or cluster.
- Created
Time string - Time when the RBAC policy resource was created.
- Grantee
Id int - Grantee ID. Can be an IAM user ID or an IAM role ID.
- Grantee
Type string - Type of grantee. Possible values: User: IAM user. Role: IAM role. Account: account.
- Is
Custom boolRole - Whether the RBAC role granted to the grantee is a custom role. Possible values: true: custom role. false (default): system predefined role.
- Kube
Role stringBinding Name - The object name of the RBAC policy resource in Kubernetes.
- Message string
- Authorization details message.
- Namespace string
- Namespace name to be authorized for the IAM user or role. This parameter is required when roleDomain equals namespace. If roleDomain does not equal namespace, this parameter is not effective.
- Permission
Id string - RBAC policy resource ID.
- Project
Selector string - Project selector
- Revoked
At string - Time when authorization is revoked.
- Role
Domain string - The permission type granted to an IAM user or role. Possible values: namespace: grants permissions at the namespace level. cluster: grants permissions at the cluster level. all_clusters: grants permissions at the cluster level for all clusters under the current account.
- Role
Name string - Name of the RBAC role granted to the grantee. This parameter must be specified. When roleDomain is all_clusters, custom role names are not allowed.
- Status string
- Status of the RBAC access policy resource. Possible values: Success: authorization succeeded. Failed: authorization failed. Pending: authorization in progress. PartialSuccess: partial authorization succeeded.
- string
- Time when the RBAC policy resource was authorized.
- int
- Grantor ID. Can be an IAM user ID or an IAM role ID.
- string
- Grantor name
- string
- Type of grantor. Possible values: User: IAM user. Role: IAM role. Account: account.
- Cluster
Id string - Cluster ID to be authorized for the IAM user or role. This parameter is required when roleDomain is namespace or cluster.
- Created
Time string - Time when the RBAC policy resource was created.
- Grantee
Id int - Grantee ID. Can be an IAM user ID or an IAM role ID.
- Grantee
Type string - Type of grantee. Possible values: User: IAM user. Role: IAM role. Account: account.
- Is
Custom boolRole - Whether the RBAC role granted to the grantee is a custom role. Possible values: true: custom role. false (default): system predefined role.
- Kube
Role stringBinding Name - The object name of the RBAC policy resource in Kubernetes.
- Message string
- Authorization details message.
- Namespace string
- Namespace name to be authorized for the IAM user or role. This parameter is required when roleDomain equals namespace. If roleDomain does not equal namespace, this parameter is not effective.
- Permission
Id string - RBAC policy resource ID.
- Project
Selector string - Project selector
- Revoked
At string - Time when authorization is revoked.
- Role
Domain string - The permission type granted to an IAM user or role. Possible values: namespace: grants permissions at the namespace level. cluster: grants permissions at the cluster level. all_clusters: grants permissions at the cluster level for all clusters under the current account.
- Role
Name string - Name of the RBAC role granted to the grantee. This parameter must be specified. When roleDomain is all_clusters, custom role names are not allowed.
- Status string
- Status of the RBAC access policy resource. Possible values: Success: authorization succeeded. Failed: authorization failed. Pending: authorization in progress. PartialSuccess: partial authorization succeeded.
- String
- Time when the RBAC policy resource was authorized.
- Integer
- Grantor ID. Can be an IAM user ID or an IAM role ID.
- String
- Grantor name
- String
- Type of grantor. Possible values: User: IAM user. Role: IAM role. Account: account.
- cluster
Id String - Cluster ID to be authorized for the IAM user or role. This parameter is required when roleDomain is namespace or cluster.
- created
Time String - Time when the RBAC policy resource was created.
- grantee
Id Integer - Grantee ID. Can be an IAM user ID or an IAM role ID.
- grantee
Type String - Type of grantee. Possible values: User: IAM user. Role: IAM role. Account: account.
- is
Custom BooleanRole - Whether the RBAC role granted to the grantee is a custom role. Possible values: true: custom role. false (default): system predefined role.
- kube
Role StringBinding Name - The object name of the RBAC policy resource in Kubernetes.
- message String
- Authorization details message.
- namespace String
- Namespace name to be authorized for the IAM user or role. This parameter is required when roleDomain equals namespace. If roleDomain does not equal namespace, this parameter is not effective.
- permission
Id String - RBAC policy resource ID.
- project
Selector String - Project selector
- revoked
At String - Time when authorization is revoked.
- role
Domain String - The permission type granted to an IAM user or role. Possible values: namespace: grants permissions at the namespace level. cluster: grants permissions at the cluster level. all_clusters: grants permissions at the cluster level for all clusters under the current account.
- role
Name String - Name of the RBAC role granted to the grantee. This parameter must be specified. When roleDomain is all_clusters, custom role names are not allowed.
- status String
- Status of the RBAC access policy resource. Possible values: Success: authorization succeeded. Failed: authorization failed. Pending: authorization in progress. PartialSuccess: partial authorization succeeded.
- string
- Time when the RBAC policy resource was authorized.
- number
- Grantor ID. Can be an IAM user ID or an IAM role ID.
- string
- Grantor name
- string
- Type of grantor. Possible values: User: IAM user. Role: IAM role. Account: account.
- cluster
Id string - Cluster ID to be authorized for the IAM user or role. This parameter is required when roleDomain is namespace or cluster.
- created
Time string - Time when the RBAC policy resource was created.
- grantee
Id number - Grantee ID. Can be an IAM user ID or an IAM role ID.
- grantee
Type string - Type of grantee. Possible values: User: IAM user. Role: IAM role. Account: account.
- is
Custom booleanRole - Whether the RBAC role granted to the grantee is a custom role. Possible values: true: custom role. false (default): system predefined role.
- kube
Role stringBinding Name - The object name of the RBAC policy resource in Kubernetes.
- message string
- Authorization details message.
- namespace string
- Namespace name to be authorized for the IAM user or role. This parameter is required when roleDomain equals namespace. If roleDomain does not equal namespace, this parameter is not effective.
- permission
Id string - RBAC policy resource ID.
- project
Selector string - Project selector
- revoked
At string - Time when authorization is revoked.
- role
Domain string - The permission type granted to an IAM user or role. Possible values: namespace: grants permissions at the namespace level. cluster: grants permissions at the cluster level. all_clusters: grants permissions at the cluster level for all clusters under the current account.
- role
Name string - Name of the RBAC role granted to the grantee. This parameter must be specified. When roleDomain is all_clusters, custom role names are not allowed.
- status string
- Status of the RBAC access policy resource. Possible values: Success: authorization succeeded. Failed: authorization failed. Pending: authorization in progress. PartialSuccess: partial authorization succeeded.
- str
- Time when the RBAC policy resource was authorized.
- int
- Grantor ID. Can be an IAM user ID or an IAM role ID.
- str
- Grantor name
- str
- Type of grantor. Possible values: User: IAM user. Role: IAM role. Account: account.
- cluster_
id str - Cluster ID to be authorized for the IAM user or role. This parameter is required when roleDomain is namespace or cluster.
- created_
time str - Time when the RBAC policy resource was created.
- grantee_
id int - Grantee ID. Can be an IAM user ID or an IAM role ID.
- grantee_
type str - Type of grantee. Possible values: User: IAM user. Role: IAM role. Account: account.
- is_
custom_ boolrole - Whether the RBAC role granted to the grantee is a custom role. Possible values: true: custom role. false (default): system predefined role.
- kube_
role_ strbinding_ name - The object name of the RBAC policy resource in Kubernetes.
- message str
- Authorization details message.
- namespace str
- Namespace name to be authorized for the IAM user or role. This parameter is required when roleDomain equals namespace. If roleDomain does not equal namespace, this parameter is not effective.
- permission_
id str - RBAC policy resource ID.
- project_
selector str - Project selector
- revoked_
at str - Time when authorization is revoked.
- role_
domain str - The permission type granted to an IAM user or role. Possible values: namespace: grants permissions at the namespace level. cluster: grants permissions at the cluster level. all_clusters: grants permissions at the cluster level for all clusters under the current account.
- role_
name str - Name of the RBAC role granted to the grantee. This parameter must be specified. When roleDomain is all_clusters, custom role names are not allowed.
- status str
- Status of the RBAC access policy resource. Possible values: Success: authorization succeeded. Failed: authorization failed. Pending: authorization in progress. PartialSuccess: partial authorization succeeded.
- String
- Time when the RBAC policy resource was authorized.
- Number
- Grantor ID. Can be an IAM user ID or an IAM role ID.
- String
- Grantor name
- String
- Type of grantor. Possible values: User: IAM user. Role: IAM role. Account: account.
- cluster
Id String - Cluster ID to be authorized for the IAM user or role. This parameter is required when roleDomain is namespace or cluster.
- created
Time String - Time when the RBAC policy resource was created.
- grantee
Id Number - Grantee ID. Can be an IAM user ID or an IAM role ID.
- grantee
Type String - Type of grantee. Possible values: User: IAM user. Role: IAM role. Account: account.
- is
Custom BooleanRole - Whether the RBAC role granted to the grantee is a custom role. Possible values: true: custom role. false (default): system predefined role.
- kube
Role StringBinding Name - The object name of the RBAC policy resource in Kubernetes.
- message String
- Authorization details message.
- namespace String
- Namespace name to be authorized for the IAM user or role. This parameter is required when roleDomain equals namespace. If roleDomain does not equal namespace, this parameter is not effective.
- permission
Id String - RBAC policy resource ID.
- project
Selector String - Project selector
- revoked
At String - Time when authorization is revoked.
- role
Domain String - The permission type granted to an IAM user or role. Possible values: namespace: grants permissions at the namespace level. cluster: grants permissions at the cluster level. all_clusters: grants permissions at the cluster level for all clusters under the current account.
- role
Name String - Name of the RBAC role granted to the grantee. This parameter must be specified. When roleDomain is all_clusters, custom role names are not allowed.
- status String
- Status of the RBAC access policy resource. Possible values: Success: authorization succeeded. Failed: authorization failed. Pending: authorization in progress. PartialSuccess: partial authorization succeeded.
Import
$ pulumi import volcenginecc:vke/permission:Permission example "permission_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Apr 23, 2026 by Volcengine
