1. Packages
  2. Packages
  3. stackit
  4. API Docs
  5. SecretsmanagerSecretGroupRoleBindingV1
Viewing docs for stackit v0.0.6
published on Wednesday, May 6, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.6
published on Wednesday, May 6, 2026 by stackitcloud

    IAM role binding resource schema.

    This resource is part of the iam experiment and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.

    Example Usage

    resource "stackit_secretsmanager_secret_group_role_binding_v1" "role_binding" {
      resource_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      role        = "owner"
      subject     = "john.doe@example.com"
    }
    

    Create SecretsmanagerSecretGroupRoleBindingV1 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SecretsmanagerSecretGroupRoleBindingV1(name: string, args: SecretsmanagerSecretGroupRoleBindingV1Args, opts?: CustomResourceOptions);
    @overload
    def SecretsmanagerSecretGroupRoleBindingV1(resource_name: str,
                                               args: SecretsmanagerSecretGroupRoleBindingV1Args,
                                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def SecretsmanagerSecretGroupRoleBindingV1(resource_name: str,
                                               opts: Optional[ResourceOptions] = None,
                                               resource_id: Optional[str] = None,
                                               role: Optional[str] = None,
                                               subject: Optional[str] = None,
                                               region: Optional[str] = None)
    func NewSecretsmanagerSecretGroupRoleBindingV1(ctx *Context, name string, args SecretsmanagerSecretGroupRoleBindingV1Args, opts ...ResourceOption) (*SecretsmanagerSecretGroupRoleBindingV1, error)
    public SecretsmanagerSecretGroupRoleBindingV1(string name, SecretsmanagerSecretGroupRoleBindingV1Args args, CustomResourceOptions? opts = null)
    public SecretsmanagerSecretGroupRoleBindingV1(String name, SecretsmanagerSecretGroupRoleBindingV1Args args)
    public SecretsmanagerSecretGroupRoleBindingV1(String name, SecretsmanagerSecretGroupRoleBindingV1Args args, CustomResourceOptions options)
    
    type: stackit:SecretsmanagerSecretGroupRoleBindingV1
    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 SecretsmanagerSecretGroupRoleBindingV1Args
    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 SecretsmanagerSecretGroupRoleBindingV1Args
    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 SecretsmanagerSecretGroupRoleBindingV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecretsmanagerSecretGroupRoleBindingV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecretsmanagerSecretGroupRoleBindingV1Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var secretsmanagerSecretGroupRoleBindingV1Resource = new Stackit.SecretsmanagerSecretGroupRoleBindingV1("secretsmanagerSecretGroupRoleBindingV1Resource", new()
    {
        ResourceId = "string",
        Role = "string",
        Subject = "string",
        Region = "string",
    });
    
    example, err := stackit.NewSecretsmanagerSecretGroupRoleBindingV1(ctx, "secretsmanagerSecretGroupRoleBindingV1Resource", &stackit.SecretsmanagerSecretGroupRoleBindingV1Args{
    	ResourceId: pulumi.String("string"),
    	Role:       pulumi.String("string"),
    	Subject:    pulumi.String("string"),
    	Region:     pulumi.String("string"),
    })
    
    var secretsmanagerSecretGroupRoleBindingV1Resource = new SecretsmanagerSecretGroupRoleBindingV1("secretsmanagerSecretGroupRoleBindingV1Resource", SecretsmanagerSecretGroupRoleBindingV1Args.builder()
        .resourceId("string")
        .role("string")
        .subject("string")
        .region("string")
        .build());
    
    secretsmanager_secret_group_role_binding_v1_resource = stackit.SecretsmanagerSecretGroupRoleBindingV1("secretsmanagerSecretGroupRoleBindingV1Resource",
        resource_id="string",
        role="string",
        subject="string",
        region="string")
    
    const secretsmanagerSecretGroupRoleBindingV1Resource = new stackit.SecretsmanagerSecretGroupRoleBindingV1("secretsmanagerSecretGroupRoleBindingV1Resource", {
        resourceId: "string",
        role: "string",
        subject: "string",
        region: "string",
    });
    
    type: stackit:SecretsmanagerSecretGroupRoleBindingV1
    properties:
        region: string
        resourceId: string
        role: string
        subject: string
    

    SecretsmanagerSecretGroupRoleBindingV1 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 SecretsmanagerSecretGroupRoleBindingV1 resource accepts the following input properties:

    ResourceId string
    The identifier of the resource to apply this role binding to.
    Role string
    A valid role defined for the resource.
    Subject string
    Identifier of user, service account or client. Usually email address or name in case of clients.
    Region string
    The resource region. If not defined, the provider region is used.
    ResourceId string
    The identifier of the resource to apply this role binding to.
    Role string
    A valid role defined for the resource.
    Subject string
    Identifier of user, service account or client. Usually email address or name in case of clients.
    Region string
    The resource region. If not defined, the provider region is used.
    resourceId String
    The identifier of the resource to apply this role binding to.
    role String
    A valid role defined for the resource.
    subject String
    Identifier of user, service account or client. Usually email address or name in case of clients.
    region String
    The resource region. If not defined, the provider region is used.
    resourceId string
    The identifier of the resource to apply this role binding to.
    role string
    A valid role defined for the resource.
    subject string
    Identifier of user, service account or client. Usually email address or name in case of clients.
    region string
    The resource region. If not defined, the provider region is used.
    resource_id str
    The identifier of the resource to apply this role binding to.
    role str
    A valid role defined for the resource.
    subject str
    Identifier of user, service account or client. Usually email address or name in case of clients.
    region str
    The resource region. If not defined, the provider region is used.
    resourceId String
    The identifier of the resource to apply this role binding to.
    role String
    A valid role defined for the resource.
    subject String
    Identifier of user, service account or client. Usually email address or name in case of clients.
    region String
    The resource region. If not defined, the provider region is used.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SecretsmanagerSecretGroupRoleBindingV1 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 SecretsmanagerSecretGroupRoleBindingV1 Resource

    Get an existing SecretsmanagerSecretGroupRoleBindingV1 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?: SecretsmanagerSecretGroupRoleBindingV1State, opts?: CustomResourceOptions): SecretsmanagerSecretGroupRoleBindingV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            region: Optional[str] = None,
            resource_id: Optional[str] = None,
            role: Optional[str] = None,
            subject: Optional[str] = None) -> SecretsmanagerSecretGroupRoleBindingV1
    func GetSecretsmanagerSecretGroupRoleBindingV1(ctx *Context, name string, id IDInput, state *SecretsmanagerSecretGroupRoleBindingV1State, opts ...ResourceOption) (*SecretsmanagerSecretGroupRoleBindingV1, error)
    public static SecretsmanagerSecretGroupRoleBindingV1 Get(string name, Input<string> id, SecretsmanagerSecretGroupRoleBindingV1State? state, CustomResourceOptions? opts = null)
    public static SecretsmanagerSecretGroupRoleBindingV1 get(String name, Output<String> id, SecretsmanagerSecretGroupRoleBindingV1State state, CustomResourceOptions options)
    resources:  _:    type: stackit:SecretsmanagerSecretGroupRoleBindingV1    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:
    Region string
    The resource region. If not defined, the provider region is used.
    ResourceId string
    The identifier of the resource to apply this role binding to.
    Role string
    A valid role defined for the resource.
    Subject string
    Identifier of user, service account or client. Usually email address or name in case of clients.
    Region string
    The resource region. If not defined, the provider region is used.
    ResourceId string
    The identifier of the resource to apply this role binding to.
    Role string
    A valid role defined for the resource.
    Subject string
    Identifier of user, service account or client. Usually email address or name in case of clients.
    region String
    The resource region. If not defined, the provider region is used.
    resourceId String
    The identifier of the resource to apply this role binding to.
    role String
    A valid role defined for the resource.
    subject String
    Identifier of user, service account or client. Usually email address or name in case of clients.
    region string
    The resource region. If not defined, the provider region is used.
    resourceId string
    The identifier of the resource to apply this role binding to.
    role string
    A valid role defined for the resource.
    subject string
    Identifier of user, service account or client. Usually email address or name in case of clients.
    region str
    The resource region. If not defined, the provider region is used.
    resource_id str
    The identifier of the resource to apply this role binding to.
    role str
    A valid role defined for the resource.
    subject str
    Identifier of user, service account or client. Usually email address or name in case of clients.
    region String
    The resource region. If not defined, the provider region is used.
    resourceId String
    The identifier of the resource to apply this role binding to.
    role String
    A valid role defined for the resource.
    subject String
    Identifier of user, service account or client. Usually email address or name in case of clients.

    Import

    # Only use the import statement if you want to import an existing role binding
    import {
      to = stackit_secretsmanager_secret_group_role_binding_v1.import_example
      id = "${var.region},${var.resource_id},${var.role},${var.subject}"
    }
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.6
    published on Wednesday, May 6, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.