1. Packages
  2. Pulumi Cloud (Pulumi Service provider)
  3. API Docs
  4. TeamStackPermission

This provider is currently in preview.

Pulumi Cloud v0.29.1 published on Tuesday, Apr 1, 2025 by Pulumi

pulumiservice.TeamStackPermission

Explore with Pulumi AI

Grants a team permissions to the specified stack.

Create TeamStackPermission Resource

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

Constructor syntax

new TeamStackPermission(name: string, args: TeamStackPermissionArgs, opts?: CustomResourceOptions);
@overload
def TeamStackPermission(resource_name: str,
                        args: TeamStackPermissionArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def TeamStackPermission(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        organization: Optional[str] = None,
                        permission: Optional[TeamStackPermissionScope] = None,
                        project: Optional[str] = None,
                        stack: Optional[str] = None,
                        team: Optional[str] = None)
func NewTeamStackPermission(ctx *Context, name string, args TeamStackPermissionArgs, opts ...ResourceOption) (*TeamStackPermission, error)
public TeamStackPermission(string name, TeamStackPermissionArgs args, CustomResourceOptions? opts = null)
public TeamStackPermission(String name, TeamStackPermissionArgs args)
public TeamStackPermission(String name, TeamStackPermissionArgs args, CustomResourceOptions options)
type: pulumiservice:TeamStackPermission
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TeamStackPermissionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. TeamStackPermissionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. TeamStackPermissionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TeamStackPermissionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TeamStackPermissionArgs
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 teamStackPermissionResource = new PulumiService.TeamStackPermission("teamStackPermissionResource", new()
{
    Organization = "string",
    Permission = PulumiService.TeamStackPermissionScope.Read,
    Project = "string",
    Stack = "string",
    Team = "string",
});
Copy
example, err := pulumiservice.NewTeamStackPermission(ctx, "teamStackPermissionResource", &pulumiservice.TeamStackPermissionArgs{
	Organization: pulumi.String("string"),
	Permission:   pulumiservice.TeamStackPermissionScopeRead,
	Project:      pulumi.String("string"),
	Stack:        pulumi.String("string"),
	Team:         pulumi.String("string"),
})
Copy
var teamStackPermissionResource = new TeamStackPermission("teamStackPermissionResource", TeamStackPermissionArgs.builder()
    .organization("string")
    .permission(101)
    .project("string")
    .stack("string")
    .team("string")
    .build());
Copy
team_stack_permission_resource = pulumiservice.TeamStackPermission("teamStackPermissionResource",
    organization="string",
    permission=pulumiservice.TeamStackPermissionScope.READ,
    project="string",
    stack="string",
    team="string")
Copy
const teamStackPermissionResource = new pulumiservice.TeamStackPermission("teamStackPermissionResource", {
    organization: "string",
    permission: pulumiservice.TeamStackPermissionScope.Read,
    project: "string",
    stack: "string",
    team: "string",
});
Copy
type: pulumiservice:TeamStackPermission
properties:
    organization: string
    permission: 101
    project: string
    stack: string
    team: string
Copy

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

Organization
This property is required.
Changes to this property will trigger replacement.
string
The organization or the personal account name of the stack.
Permission
This property is required.
Changes to this property will trigger replacement.
Pulumi.PulumiService.TeamStackPermissionScope
Sets the permission level that this team will be granted to the stack.
Project
This property is required.
Changes to this property will trigger replacement.
string
The project name for this stack.
Stack
This property is required.
Changes to this property will trigger replacement.
string
The name of the stack that the team will be granted permissions to.
Team
This property is required.
Changes to this property will trigger replacement.
string
The name of the team to grant this stack permissions to. This is not the display name.
Organization
This property is required.
Changes to this property will trigger replacement.
string
The organization or the personal account name of the stack.
Permission
This property is required.
Changes to this property will trigger replacement.
TeamStackPermissionScope
Sets the permission level that this team will be granted to the stack.
Project
This property is required.
Changes to this property will trigger replacement.
string
The project name for this stack.
Stack
This property is required.
Changes to this property will trigger replacement.
string
The name of the stack that the team will be granted permissions to.
Team
This property is required.
Changes to this property will trigger replacement.
string
The name of the team to grant this stack permissions to. This is not the display name.
organization
This property is required.
Changes to this property will trigger replacement.
String
The organization or the personal account name of the stack.
permission
This property is required.
Changes to this property will trigger replacement.
TeamStackPermissionScope
Sets the permission level that this team will be granted to the stack.
project
This property is required.
Changes to this property will trigger replacement.
String
The project name for this stack.
stack
This property is required.
Changes to this property will trigger replacement.
String
The name of the stack that the team will be granted permissions to.
team
This property is required.
Changes to this property will trigger replacement.
String
The name of the team to grant this stack permissions to. This is not the display name.
organization
This property is required.
Changes to this property will trigger replacement.
string
The organization or the personal account name of the stack.
permission
This property is required.
Changes to this property will trigger replacement.
TeamStackPermissionScope
Sets the permission level that this team will be granted to the stack.
project
This property is required.
Changes to this property will trigger replacement.
string
The project name for this stack.
stack
This property is required.
Changes to this property will trigger replacement.
string
The name of the stack that the team will be granted permissions to.
team
This property is required.
Changes to this property will trigger replacement.
string
The name of the team to grant this stack permissions to. This is not the display name.
organization
This property is required.
Changes to this property will trigger replacement.
str
The organization or the personal account name of the stack.
permission
This property is required.
Changes to this property will trigger replacement.
TeamStackPermissionScope
Sets the permission level that this team will be granted to the stack.
project
This property is required.
Changes to this property will trigger replacement.
str
The project name for this stack.
stack
This property is required.
Changes to this property will trigger replacement.
str
The name of the stack that the team will be granted permissions to.
team
This property is required.
Changes to this property will trigger replacement.
str
The name of the team to grant this stack permissions to. This is not the display name.
organization
This property is required.
Changes to this property will trigger replacement.
String
The organization or the personal account name of the stack.
permission
This property is required.
Changes to this property will trigger replacement.
101 | 102 | 103
Sets the permission level that this team will be granted to the stack.
project
This property is required.
Changes to this property will trigger replacement.
String
The project name for this stack.
stack
This property is required.
Changes to this property will trigger replacement.
String
The name of the stack that the team will be granted permissions to.
team
This property is required.
Changes to this property will trigger replacement.
String
The name of the team to grant this stack permissions to. This is not the display name.

Outputs

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

Supporting Types

TeamStackPermissionScope
, TeamStackPermissionScopeArgs

Read
101Grants read permissions to stack.
Edit
102Grants edit permissions to stack.
Admin
103Grants admin permissions to stack.
TeamStackPermissionScopeRead
101Grants read permissions to stack.
TeamStackPermissionScopeEdit
102Grants edit permissions to stack.
TeamStackPermissionScopeAdmin
103Grants admin permissions to stack.
Read
101Grants read permissions to stack.
Edit
102Grants edit permissions to stack.
Admin
103Grants admin permissions to stack.
Read
101Grants read permissions to stack.
Edit
102Grants edit permissions to stack.
Admin
103Grants admin permissions to stack.
READ
101Grants read permissions to stack.
EDIT
102Grants edit permissions to stack.
ADMIN
103Grants admin permissions to stack.
%!q(float64=101)
101Grants read permissions to stack.
%!q(float64=102)
102Grants edit permissions to stack.
%!q(float64=103)
103Grants admin permissions to stack.

Package Details

Repository
pulumiservice pulumi/pulumi-pulumiservice
License
Apache-2.0