1. Packages
  2. CAST AI
  3. API Docs
  4. EnterpriseRoleBinding
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
castai logo
CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI

    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:

    EnterpriseId string
    Enterprise organization ID.
    OrganizationId string
    Organization ID (either enterprise or it's child) where the role binding is created.
    RoleId string
    Role UUID to bind.
    Scopes Pulumi.CastAI.Iam.Inputs.EnterpriseRoleBindingScopes
    Scopes (organization or cluster) for this role binding.
    Subjects Pulumi.CastAI.Iam.Inputs.EnterpriseRoleBindingSubjects
    Subjects (users, service accounts, groups) for this role binding.
    Description string
    Description of the role binding.
    Name string
    Name of the role binding.
    EnterpriseId string
    Enterprise organization ID.
    OrganizationId string
    Organization ID (either enterprise or it's child) where the role binding is created.
    RoleId string
    Role UUID to bind.
    Scopes EnterpriseRoleBindingScopesArgs
    Scopes (organization or cluster) for this role binding.
    Subjects EnterpriseRoleBindingSubjectsArgs
    Subjects (users, service accounts, groups) for this role binding.
    Description string
    Description of the role binding.
    Name string
    Name of the role binding.
    enterpriseId String
    Enterprise organization ID.
    organizationId String
    Organization ID (either enterprise or it's child) where the role binding is created.
    roleId String
    Role UUID to bind.
    scopes EnterpriseRoleBindingScopes
    Scopes (organization or cluster) for this role binding.
    subjects EnterpriseRoleBindingSubjects
    Subjects (users, service accounts, groups) for this role binding.
    description String
    Description of the role binding.
    name String
    Name of the role binding.
    enterpriseId string
    Enterprise organization ID.
    organizationId string
    Organization ID (either enterprise or it's child) where the role binding is created.
    roleId string
    Role UUID to bind.
    scopes iamEnterpriseRoleBindingScopes
    Scopes (organization or cluster) for this role binding.
    subjects iamEnterpriseRoleBindingSubjects
    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.EnterpriseRoleBindingScopesArgs
    Scopes (organization or cluster) for this role binding.
    subjects iam.EnterpriseRoleBindingSubjectsArgs
    Subjects (users, service accounts, groups) for this role binding.
    description str
    Description of the role binding.
    name str
    Name of the role binding.
    enterpriseId String
    Enterprise organization ID.
    organizationId String
    Organization ID (either enterprise or it's child) where the role binding is created.
    roleId 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) -> EnterpriseRoleBinding
    func 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.
    The following state arguments are supported:
    Description string
    Description of the role binding.
    EnterpriseId string
    Enterprise organization ID.
    Name string
    Name of the role binding.
    OrganizationId string
    Organization ID (either enterprise or it's child) where the role binding is created.
    RoleId string
    Role UUID to bind.
    Scopes Pulumi.CastAI.Iam.Inputs.EnterpriseRoleBindingScopes
    Scopes (organization or cluster) for this role binding.
    Subjects Pulumi.CastAI.Iam.Inputs.EnterpriseRoleBindingSubjects
    Subjects (users, service accounts, groups) for this role binding.
    Description string
    Description of the role binding.
    EnterpriseId string
    Enterprise organization ID.
    Name string
    Name of the role binding.
    OrganizationId string
    Organization ID (either enterprise or it's child) where the role binding is created.
    RoleId string
    Role UUID to bind.
    Scopes EnterpriseRoleBindingScopesArgs
    Scopes (organization or cluster) for this role binding.
    Subjects EnterpriseRoleBindingSubjectsArgs
    Subjects (users, service accounts, groups) for this role binding.
    description String
    Description of the role binding.
    enterpriseId String
    Enterprise organization ID.
    name String
    Name of the role binding.
    organizationId String
    Organization ID (either enterprise or it's child) where the role binding is created.
    roleId String
    Role UUID to bind.
    scopes EnterpriseRoleBindingScopes
    Scopes (organization or cluster) for this role binding.
    subjects EnterpriseRoleBindingSubjects
    Subjects (users, service accounts, groups) for this role binding.
    description string
    Description of the role binding.
    enterpriseId string
    Enterprise organization ID.
    name string
    Name of the role binding.
    organizationId string
    Organization ID (either enterprise or it's child) where the role binding is created.
    roleId string
    Role UUID to bind.
    scopes iamEnterpriseRoleBindingScopes
    Scopes (organization or cluster) for this role binding.
    subjects iamEnterpriseRoleBindingSubjects
    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.EnterpriseRoleBindingScopesArgs
    Scopes (organization or cluster) for this role binding.
    subjects iam.EnterpriseRoleBindingSubjectsArgs
    Subjects (users, service accounts, groups) for this role binding.
    description String
    Description of the role binding.
    enterpriseId String
    Enterprise organization ID.
    name String
    Name of the role binding.
    organizationId String
    Organization ID (either enterprise or it's child) where the role binding is created.
    roleId 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

    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 List<Property Map>
    Group subjects.
    serviceAccounts 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 castai Terraform Provider.
    castai logo
    CAST AI v7.73.2 published on Wednesday, Oct 29, 2025 by CAST AI
      Meet Neo: Your AI Platform Teammate