CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI
castai.EnterpriseRoleBinding
Start a Neo task
Explain and create a castai.EnterpriseRoleBinding resource
Create EnterpriseRoleBinding Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnterpriseRoleBinding(name: string, args: EnterpriseRoleBindingArgs, opts?: CustomResourceOptions);@overload
def EnterpriseRoleBinding(resource_name: str,
args: EnterpriseRoleBindingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnterpriseRoleBinding(resource_name: str,
opts: Optional[ResourceOptions] = None,
enterprise_id: Optional[str] = None,
organization_id: Optional[str] = None,
role_id: Optional[str] = None,
scopes: Optional[_iam.EnterpriseRoleBindingScopesArgs] = None,
subjects: Optional[_iam.EnterpriseRoleBindingSubjectsArgs] = None,
description: Optional[str] = None,
name: Optional[str] = None)func NewEnterpriseRoleBinding(ctx *Context, name string, args EnterpriseRoleBindingArgs, opts ...ResourceOption) (*EnterpriseRoleBinding, error)public EnterpriseRoleBinding(string name, EnterpriseRoleBindingArgs args, CustomResourceOptions? opts = null)
public EnterpriseRoleBinding(String name, EnterpriseRoleBindingArgs args)
public EnterpriseRoleBinding(String name, EnterpriseRoleBindingArgs args, CustomResourceOptions options)
type: castai:iam:EnterpriseRoleBinding
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 EnterpriseRoleBindingArgs
- 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 EnterpriseRoleBindingArgs
- 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 EnterpriseRoleBindingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnterpriseRoleBindingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnterpriseRoleBindingArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EnterpriseRoleBinding 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 EnterpriseRoleBinding resource accepts the following input properties:
- Enterprise
Id string - Enterprise organization ID.
- Organization
Id string - Organization ID (either enterprise or it's child) where the role binding is created.
- Role
Id string - Role UUID to bind.
- Scopes
Pulumi.
Cast AI. Iam. Inputs. Enterprise Role Binding Scopes - Scopes (organization or cluster) for this role binding.
- Subjects
Pulumi.
Cast AI. Iam. Inputs. Enterprise Role Binding Subjects - Subjects (users, service accounts, groups) for this role binding.
- Description string
- Description of the role binding.
- Name string
- Name of the role binding.
- Enterprise
Id string - Enterprise organization ID.
- Organization
Id string - Organization ID (either enterprise or it's child) where the role binding is created.
- Role
Id string - Role UUID to bind.
- Scopes
Enterprise
Role Binding Scopes Args - Scopes (organization or cluster) for this role binding.
- Subjects
Enterprise
Role Binding Subjects Args - Subjects (users, service accounts, groups) for this role binding.
- Description string
- Description of the role binding.
- Name string
- Name of the role binding.
- enterprise
Id String - Enterprise organization ID.
- organization
Id String - Organization ID (either enterprise or it's child) where the role binding is created.
- role
Id String - Role UUID to bind.
- scopes
Enterprise
Role Binding Scopes - Scopes (organization or cluster) for this role binding.
- subjects
Enterprise
Role Binding Subjects - Subjects (users, service accounts, groups) for this role binding.
- description String
- Description of the role binding.
- name String
- Name of the role binding.
- enterprise
Id string - Enterprise organization ID.
- organization
Id string - Organization ID (either enterprise or it's child) where the role binding is created.
- role
Id string - Role UUID to bind.
- scopes
iam
Enterprise Role Binding Scopes - Scopes (organization or cluster) for this role binding.
- subjects
iam
Enterprise Role Binding Subjects - Subjects (users, service accounts, groups) for this role binding.
- description string
- Description of the role binding.
- name string
- Name of the role binding.
- enterprise_
id str - Enterprise organization ID.
- organization_
id str - Organization ID (either enterprise or it's child) where the role binding is created.
- role_
id str - Role UUID to bind.
- scopes
iam.
Enterprise Role Binding Scopes Args - Scopes (organization or cluster) for this role binding.
- subjects
iam.
Enterprise Role Binding Subjects Args - Subjects (users, service accounts, groups) for this role binding.
- description str
- Description of the role binding.
- name str
- Name of the role binding.
- enterprise
Id String - Enterprise organization ID.
- organization
Id String - Organization ID (either enterprise or it's child) where the role binding is created.
- role
Id String - Role UUID to bind.
- scopes Property Map
- Scopes (organization or cluster) for this role binding.
- subjects Property Map
- Subjects (users, service accounts, groups) for this role binding.
- description String
- Description of the role binding.
- name String
- Name of the role binding.
Outputs
All input properties are implicitly available as output properties. Additionally, the EnterpriseRoleBinding resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing EnterpriseRoleBinding Resource
Get an existing EnterpriseRoleBinding 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?: EnterpriseRoleBindingState, opts?: CustomResourceOptions): EnterpriseRoleBinding@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
enterprise_id: Optional[str] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None,
role_id: Optional[str] = None,
scopes: Optional[_iam.EnterpriseRoleBindingScopesArgs] = None,
subjects: Optional[_iam.EnterpriseRoleBindingSubjectsArgs] = None) -> EnterpriseRoleBindingfunc GetEnterpriseRoleBinding(ctx *Context, name string, id IDInput, state *EnterpriseRoleBindingState, opts ...ResourceOption) (*EnterpriseRoleBinding, error)public static EnterpriseRoleBinding Get(string name, Input<string> id, EnterpriseRoleBindingState? state, CustomResourceOptions? opts = null)public static EnterpriseRoleBinding get(String name, Output<String> id, EnterpriseRoleBindingState state, CustomResourceOptions options)resources: _: type: castai:iam:EnterpriseRoleBinding 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.
- Description string
- Description of the role binding.
- Enterprise
Id string - Enterprise organization ID.
- Name string
- Name of the role binding.
- Organization
Id string - Organization ID (either enterprise or it's child) where the role binding is created.
- Role
Id string - Role UUID to bind.
- Scopes
Pulumi.
Cast AI. Iam. Inputs. Enterprise Role Binding Scopes - Scopes (organization or cluster) for this role binding.
- Subjects
Pulumi.
Cast AI. Iam. Inputs. Enterprise Role Binding Subjects - Subjects (users, service accounts, groups) for this role binding.
- Description string
- Description of the role binding.
- Enterprise
Id string - Enterprise organization ID.
- Name string
- Name of the role binding.
- Organization
Id string - Organization ID (either enterprise or it's child) where the role binding is created.
- Role
Id string - Role UUID to bind.
- Scopes
Enterprise
Role Binding Scopes Args - Scopes (organization or cluster) for this role binding.
- Subjects
Enterprise
Role Binding Subjects Args - Subjects (users, service accounts, groups) for this role binding.
- description String
- Description of the role binding.
- enterprise
Id String - Enterprise organization ID.
- name String
- Name of the role binding.
- organization
Id String - Organization ID (either enterprise or it's child) where the role binding is created.
- role
Id String - Role UUID to bind.
- scopes
Enterprise
Role Binding Scopes - Scopes (organization or cluster) for this role binding.
- subjects
Enterprise
Role Binding Subjects - Subjects (users, service accounts, groups) for this role binding.
- description string
- Description of the role binding.
- enterprise
Id string - Enterprise organization ID.
- name string
- Name of the role binding.
- organization
Id string - Organization ID (either enterprise or it's child) where the role binding is created.
- role
Id string - Role UUID to bind.
- scopes
iam
Enterprise Role Binding Scopes - Scopes (organization or cluster) for this role binding.
- subjects
iam
Enterprise Role Binding Subjects - Subjects (users, service accounts, groups) for this role binding.
- description str
- Description of the role binding.
- enterprise_
id str - Enterprise organization ID.
- name str
- Name of the role binding.
- organization_
id str - Organization ID (either enterprise or it's child) where the role binding is created.
- role_
id str - Role UUID to bind.
- scopes
iam.
Enterprise Role Binding Scopes Args - Scopes (organization or cluster) for this role binding.
- subjects
iam.
Enterprise Role Binding Subjects Args - Subjects (users, service accounts, groups) for this role binding.
- description String
- Description of the role binding.
- enterprise
Id String - Enterprise organization ID.
- name String
- Name of the role binding.
- organization
Id String - Organization ID (either enterprise or it's child) where the role binding is created.
- role
Id String - Role UUID to bind.
- scopes Property Map
- Scopes (organization or cluster) for this role binding.
- subjects Property Map
- Subjects (users, service accounts, groups) for this role binding.
Supporting Types
EnterpriseRoleBindingScopes, EnterpriseRoleBindingScopesArgs
- Clusters
Enterprise
Role Binding Scopes Cluster - Cluster scopes.
- Organizations
Enterprise
Role Binding Scopes Organization - Organization scopes.
- clusters
List<Enterprise
Role Binding Scopes Cluster> - Cluster scopes.
- organizations
List<Enterprise
Role Binding Scopes Organization> - Organization scopes.
- clusters
iam
Enterprise Role Binding Scopes Cluster[] - Cluster scopes.
- organizations
iam
Enterprise Role Binding Scopes Organization[] - Organization scopes.
- clusters
Sequence[iam.
Enterprise Role Binding Scopes Cluster] - Cluster scopes.
- organizations
Sequence[iam.
Enterprise Role Binding Scopes Organization] - Organization scopes.
- clusters List<Property Map>
- Cluster scopes.
- organizations List<Property Map>
- Organization scopes.
EnterpriseRoleBindingScopesCluster, EnterpriseRoleBindingScopesClusterArgs
- Id string
- Cluster ID.
- Id string
- Cluster ID.
- id String
- Cluster ID.
- id string
- Cluster ID.
- id str
- Cluster ID.
- id String
- Cluster ID.
EnterpriseRoleBindingScopesOrganization, EnterpriseRoleBindingScopesOrganizationArgs
- Id string
- Organization ID.
- Id string
- Organization ID.
- id String
- Organization ID.
- id string
- Organization ID.
- id str
- Organization ID.
- id String
- Organization ID.
EnterpriseRoleBindingSubjects, EnterpriseRoleBindingSubjectsArgs
- Groups
Enterprise
Role Binding Subjects Group - Group subjects.
- Service
Accounts EnterpriseRole Binding Subjects Service Account - Service account subjects.
- Users
Enterprise
Role Binding Subjects User - User subjects.
- groups
List<Enterprise
Role Binding Subjects Group> - Group subjects.
- service
Accounts List<EnterpriseRole Binding Subjects Service Account> - Service account subjects.
- users
List<Enterprise
Role Binding Subjects User> - User subjects.
- groups
iam
Enterprise Role Binding Subjects Group[] - Group subjects.
- service
Accounts iamEnterprise Role Binding Subjects Service Account[] - Service account subjects.
- users
iam
Enterprise Role Binding Subjects User[] - User subjects.
- groups
Sequence[iam.
Enterprise Role Binding Subjects Group] - Group subjects.
- service_
accounts Sequence[iam.Enterprise Role Binding Subjects Service Account] - Service account subjects.
- users
Sequence[iam.
Enterprise Role Binding Subjects User] - User subjects.
- groups List<Property Map>
- Group subjects.
- service
Accounts List<Property Map> - Service account subjects.
- users List<Property Map>
- User subjects.
EnterpriseRoleBindingSubjectsGroup, EnterpriseRoleBindingSubjectsGroupArgs
- Id string
- Group ID.
- Id string
- Group ID.
- id String
- Group ID.
- id string
- Group ID.
- id str
- Group ID.
- id String
- Group ID.
EnterpriseRoleBindingSubjectsServiceAccount, EnterpriseRoleBindingSubjectsServiceAccountArgs
- Id string
- Service account ID.
- Id string
- Service account ID.
- id String
- Service account ID.
- id string
- Service account ID.
- id str
- Service account ID.
- id String
- Service account ID.
EnterpriseRoleBindingSubjectsUser, EnterpriseRoleBindingSubjectsUserArgs
- Id string
- User ID.
- Id string
- User ID.
- id String
- User ID.
- id string
- User ID.
- id str
- User ID.
- id String
- User ID.
Package Details
- Repository
- castai castai/pulumi-castai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
castaiTerraform Provider.
