published on Wednesday, May 6, 2026 by stackitcloud
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_instance_role_binding_v1" "role_binding" {
resource_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
role = "owner"
subject = "john.doe@example.com"
}
Create SecretsmanagerInstanceRoleBindingV1 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecretsmanagerInstanceRoleBindingV1(name: string, args: SecretsmanagerInstanceRoleBindingV1Args, opts?: CustomResourceOptions);@overload
def SecretsmanagerInstanceRoleBindingV1(resource_name: str,
args: SecretsmanagerInstanceRoleBindingV1Args,
opts: Optional[ResourceOptions] = None)
@overload
def SecretsmanagerInstanceRoleBindingV1(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 NewSecretsmanagerInstanceRoleBindingV1(ctx *Context, name string, args SecretsmanagerInstanceRoleBindingV1Args, opts ...ResourceOption) (*SecretsmanagerInstanceRoleBindingV1, error)public SecretsmanagerInstanceRoleBindingV1(string name, SecretsmanagerInstanceRoleBindingV1Args args, CustomResourceOptions? opts = null)
public SecretsmanagerInstanceRoleBindingV1(String name, SecretsmanagerInstanceRoleBindingV1Args args)
public SecretsmanagerInstanceRoleBindingV1(String name, SecretsmanagerInstanceRoleBindingV1Args args, CustomResourceOptions options)
type: stackit:SecretsmanagerInstanceRoleBindingV1
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 SecretsmanagerInstanceRoleBindingV1Args
- 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 SecretsmanagerInstanceRoleBindingV1Args
- 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 SecretsmanagerInstanceRoleBindingV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SecretsmanagerInstanceRoleBindingV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SecretsmanagerInstanceRoleBindingV1Args
- 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 secretsmanagerInstanceRoleBindingV1Resource = new Stackit.SecretsmanagerInstanceRoleBindingV1("secretsmanagerInstanceRoleBindingV1Resource", new()
{
ResourceId = "string",
Role = "string",
Subject = "string",
Region = "string",
});
example, err := stackit.NewSecretsmanagerInstanceRoleBindingV1(ctx, "secretsmanagerInstanceRoleBindingV1Resource", &stackit.SecretsmanagerInstanceRoleBindingV1Args{
ResourceId: pulumi.String("string"),
Role: pulumi.String("string"),
Subject: pulumi.String("string"),
Region: pulumi.String("string"),
})
var secretsmanagerInstanceRoleBindingV1Resource = new SecretsmanagerInstanceRoleBindingV1("secretsmanagerInstanceRoleBindingV1Resource", SecretsmanagerInstanceRoleBindingV1Args.builder()
.resourceId("string")
.role("string")
.subject("string")
.region("string")
.build());
secretsmanager_instance_role_binding_v1_resource = stackit.SecretsmanagerInstanceRoleBindingV1("secretsmanagerInstanceRoleBindingV1Resource",
resource_id="string",
role="string",
subject="string",
region="string")
const secretsmanagerInstanceRoleBindingV1Resource = new stackit.SecretsmanagerInstanceRoleBindingV1("secretsmanagerInstanceRoleBindingV1Resource", {
resourceId: "string",
role: "string",
subject: "string",
region: "string",
});
type: stackit:SecretsmanagerInstanceRoleBindingV1
properties:
region: string
resourceId: string
role: string
subject: string
SecretsmanagerInstanceRoleBindingV1 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 SecretsmanagerInstanceRoleBindingV1 resource accepts the following input properties:
- Resource
Id 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 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 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 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.
- resource
Id 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 SecretsmanagerInstanceRoleBindingV1 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 SecretsmanagerInstanceRoleBindingV1 Resource
Get an existing SecretsmanagerInstanceRoleBindingV1 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?: SecretsmanagerInstanceRoleBindingV1State, opts?: CustomResourceOptions): SecretsmanagerInstanceRoleBindingV1@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) -> SecretsmanagerInstanceRoleBindingV1func GetSecretsmanagerInstanceRoleBindingV1(ctx *Context, name string, id IDInput, state *SecretsmanagerInstanceRoleBindingV1State, opts ...ResourceOption) (*SecretsmanagerInstanceRoleBindingV1, error)public static SecretsmanagerInstanceRoleBindingV1 Get(string name, Input<string> id, SecretsmanagerInstanceRoleBindingV1State? state, CustomResourceOptions? opts = null)public static SecretsmanagerInstanceRoleBindingV1 get(String name, Output<String> id, SecretsmanagerInstanceRoleBindingV1State state, CustomResourceOptions options)resources: _: type: stackit:SecretsmanagerInstanceRoleBindingV1 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.
- Region string
- The resource region. If not defined, the provider region is used.
- Resource
Id 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 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 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 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.
- resource
Id 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_instance_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
stackitTerraform Provider.
published on Wednesday, May 6, 2026 by stackitcloud
