1. Packages
  2. Aiven Provider
  3. API Docs
  4. OrganizationPermission
Aiven v6.44.0 published on Friday, Oct 10, 2025 by Pulumi

aiven.OrganizationPermission

Deploy with Pulumi
aiven logo
Aiven v6.44.0 published on Friday, Oct 10, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aiven from "@pulumi/aiven";
    
    // Grant access to a specific project
    const exampleProjectPermissions = new aiven.OrganizationPermission("example_project_permissions", {
        organizationId: main.id,
        resourceId: exampleProject.project,
        resourceType: "project",
        permissions: [
            {
                permissions: [
                    "operator",
                    "service:logs:read",
                ],
                principalId: "u123a456b7890c",
                principalType: "user",
            },
            {
                permissions: [
                    "project:integrations:write",
                    "developer",
                ],
                principalId: exampleGroup.groupId,
                principalType: "user_group",
            },
        ],
    });
    // Organization-level permissions
    const exampleOrgPermissions = new aiven.OrganizationPermission("example_org_permissions", {
        organizationId: main.id,
        resourceId: main.id,
        resourceType: "organization",
        permissions: [
            {
                permissions: [
                    "organization:app_users:write",
                    "project:audit_logs:read",
                ],
                principalId: "u123a456b7890c",
                principalType: "user",
            },
            {
                permissions: [
                    "organization:users:write",
                    "organization:groups:write",
                    "organization:domains:write",
                    "organization:idps:write",
                ],
                principalId: exampleGroupAivenOrganizationUserGroup.groupId,
                principalType: "user_group",
            },
        ],
    });
    
    import pulumi
    import pulumi_aiven as aiven
    
    # Grant access to a specific project
    example_project_permissions = aiven.OrganizationPermission("example_project_permissions",
        organization_id=main["id"],
        resource_id=example_project["project"],
        resource_type="project",
        permissions=[
            {
                "permissions": [
                    "operator",
                    "service:logs:read",
                ],
                "principal_id": "u123a456b7890c",
                "principal_type": "user",
            },
            {
                "permissions": [
                    "project:integrations:write",
                    "developer",
                ],
                "principal_id": example_group["groupId"],
                "principal_type": "user_group",
            },
        ])
    # Organization-level permissions
    example_org_permissions = aiven.OrganizationPermission("example_org_permissions",
        organization_id=main["id"],
        resource_id=main["id"],
        resource_type="organization",
        permissions=[
            {
                "permissions": [
                    "organization:app_users:write",
                    "project:audit_logs:read",
                ],
                "principal_id": "u123a456b7890c",
                "principal_type": "user",
            },
            {
                "permissions": [
                    "organization:users:write",
                    "organization:groups:write",
                    "organization:domains:write",
                    "organization:idps:write",
                ],
                "principal_id": example_group_aiven_organization_user_group["groupId"],
                "principal_type": "user_group",
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// Grant access to a specific project
    		_, err := aiven.NewOrganizationPermission(ctx, "example_project_permissions", &aiven.OrganizationPermissionArgs{
    			OrganizationId: pulumi.Any(main.Id),
    			ResourceId:     pulumi.Any(exampleProject.Project),
    			ResourceType:   pulumi.String("project"),
    			Permissions: aiven.OrganizationPermissionPermissionArray{
    				&aiven.OrganizationPermissionPermissionArgs{
    					Permissions: pulumi.StringArray{
    						pulumi.String("operator"),
    						pulumi.String("service:logs:read"),
    					},
    					PrincipalId:   pulumi.String("u123a456b7890c"),
    					PrincipalType: pulumi.String("user"),
    				},
    				&aiven.OrganizationPermissionPermissionArgs{
    					Permissions: pulumi.StringArray{
    						pulumi.String("project:integrations:write"),
    						pulumi.String("developer"),
    					},
    					PrincipalId:   pulumi.Any(exampleGroup.GroupId),
    					PrincipalType: pulumi.String("user_group"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Organization-level permissions
    		_, err = aiven.NewOrganizationPermission(ctx, "example_org_permissions", &aiven.OrganizationPermissionArgs{
    			OrganizationId: pulumi.Any(main.Id),
    			ResourceId:     pulumi.Any(main.Id),
    			ResourceType:   pulumi.String("organization"),
    			Permissions: aiven.OrganizationPermissionPermissionArray{
    				&aiven.OrganizationPermissionPermissionArgs{
    					Permissions: pulumi.StringArray{
    						pulumi.String("organization:app_users:write"),
    						pulumi.String("project:audit_logs:read"),
    					},
    					PrincipalId:   pulumi.String("u123a456b7890c"),
    					PrincipalType: pulumi.String("user"),
    				},
    				&aiven.OrganizationPermissionPermissionArgs{
    					Permissions: pulumi.StringArray{
    						pulumi.String("organization:users:write"),
    						pulumi.String("organization:groups:write"),
    						pulumi.String("organization:domains:write"),
    						pulumi.String("organization:idps:write"),
    					},
    					PrincipalId:   pulumi.Any(exampleGroupAivenOrganizationUserGroup.GroupId),
    					PrincipalType: pulumi.String("user_group"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aiven = Pulumi.Aiven;
    
    return await Deployment.RunAsync(() => 
    {
        // Grant access to a specific project
        var exampleProjectPermissions = new Aiven.OrganizationPermission("example_project_permissions", new()
        {
            OrganizationId = main.Id,
            ResourceId = exampleProject.Project,
            ResourceType = "project",
            Permissions = new[]
            {
                new Aiven.Inputs.OrganizationPermissionPermissionArgs
                {
                    Permissions = new[]
                    {
                        "operator",
                        "service:logs:read",
                    },
                    PrincipalId = "u123a456b7890c",
                    PrincipalType = "user",
                },
                new Aiven.Inputs.OrganizationPermissionPermissionArgs
                {
                    Permissions = new[]
                    {
                        "project:integrations:write",
                        "developer",
                    },
                    PrincipalId = exampleGroup.GroupId,
                    PrincipalType = "user_group",
                },
            },
        });
    
        // Organization-level permissions
        var exampleOrgPermissions = new Aiven.OrganizationPermission("example_org_permissions", new()
        {
            OrganizationId = main.Id,
            ResourceId = main.Id,
            ResourceType = "organization",
            Permissions = new[]
            {
                new Aiven.Inputs.OrganizationPermissionPermissionArgs
                {
                    Permissions = new[]
                    {
                        "organization:app_users:write",
                        "project:audit_logs:read",
                    },
                    PrincipalId = "u123a456b7890c",
                    PrincipalType = "user",
                },
                new Aiven.Inputs.OrganizationPermissionPermissionArgs
                {
                    Permissions = new[]
                    {
                        "organization:users:write",
                        "organization:groups:write",
                        "organization:domains:write",
                        "organization:idps:write",
                    },
                    PrincipalId = exampleGroupAivenOrganizationUserGroup.GroupId,
                    PrincipalType = "user_group",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aiven.OrganizationPermission;
    import com.pulumi.aiven.OrganizationPermissionArgs;
    import com.pulumi.aiven.inputs.OrganizationPermissionPermissionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // Grant access to a specific project
            var exampleProjectPermissions = new OrganizationPermission("exampleProjectPermissions", OrganizationPermissionArgs.builder()
                .organizationId(main.id())
                .resourceId(exampleProject.project())
                .resourceType("project")
                .permissions(            
                    OrganizationPermissionPermissionArgs.builder()
                        .permissions(                    
                            "operator",
                            "service:logs:read")
                        .principalId("u123a456b7890c")
                        .principalType("user")
                        .build(),
                    OrganizationPermissionPermissionArgs.builder()
                        .permissions(                    
                            "project:integrations:write",
                            "developer")
                        .principalId(exampleGroup.groupId())
                        .principalType("user_group")
                        .build())
                .build());
    
            // Organization-level permissions
            var exampleOrgPermissions = new OrganizationPermission("exampleOrgPermissions", OrganizationPermissionArgs.builder()
                .organizationId(main.id())
                .resourceId(main.id())
                .resourceType("organization")
                .permissions(            
                    OrganizationPermissionPermissionArgs.builder()
                        .permissions(                    
                            "organization:app_users:write",
                            "project:audit_logs:read")
                        .principalId("u123a456b7890c")
                        .principalType("user")
                        .build(),
                    OrganizationPermissionPermissionArgs.builder()
                        .permissions(                    
                            "organization:users:write",
                            "organization:groups:write",
                            "organization:domains:write",
                            "organization:idps:write")
                        .principalId(exampleGroupAivenOrganizationUserGroup.groupId())
                        .principalType("user_group")
                        .build())
                .build());
    
        }
    }
    
    resources:
      # Grant access to a specific project
      exampleProjectPermissions:
        type: aiven:OrganizationPermission
        name: example_project_permissions
        properties:
          organizationId: ${main.id}
          resourceId: ${exampleProject.project}
          resourceType: project
          permissions:
            - permissions:
                - operator
                - service:logs:read
              principalId: u123a456b7890c
              principalType: user
            - permissions:
                - project:integrations:write
                - developer
              principalId: ${exampleGroup.groupId}
              principalType: user_group
      # Organization-level permissions
      exampleOrgPermissions:
        type: aiven:OrganizationPermission
        name: example_org_permissions
        properties:
          organizationId: ${main.id}
          resourceId: ${main.id}
          resourceType: organization
          permissions:
            - permissions:
                - organization:app_users:write
                - project:audit_logs:read
              principalId: u123a456b7890c
              principalType: user
            - permissions:
                - organization:users:write
                - organization:groups:write
                - organization:domains:write
                - organization:idps:write
              principalId: ${exampleGroupAivenOrganizationUserGroup.groupId}
              principalType: user_group
    

    Create OrganizationPermission Resource

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

    Constructor syntax

    new OrganizationPermission(name: string, args: OrganizationPermissionArgs, opts?: CustomResourceOptions);
    @overload
    def OrganizationPermission(resource_name: str,
                               args: OrganizationPermissionArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def OrganizationPermission(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               organization_id: Optional[str] = None,
                               resource_id: Optional[str] = None,
                               resource_type: Optional[str] = None,
                               permissions: Optional[Sequence[OrganizationPermissionPermissionArgs]] = None,
                               timeouts: Optional[OrganizationPermissionTimeoutsArgs] = None)
    func NewOrganizationPermission(ctx *Context, name string, args OrganizationPermissionArgs, opts ...ResourceOption) (*OrganizationPermission, error)
    public OrganizationPermission(string name, OrganizationPermissionArgs args, CustomResourceOptions? opts = null)
    public OrganizationPermission(String name, OrganizationPermissionArgs args)
    public OrganizationPermission(String name, OrganizationPermissionArgs args, CustomResourceOptions options)
    
    type: aiven:OrganizationPermission
    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 OrganizationPermissionArgs
    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 OrganizationPermissionArgs
    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 OrganizationPermissionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrganizationPermissionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrganizationPermissionArgs
    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 organizationPermissionResource = new Aiven.OrganizationPermission("organizationPermissionResource", new()
    {
        OrganizationId = "string",
        ResourceId = "string",
        ResourceType = "string",
        Permissions = new[]
        {
            new Aiven.Inputs.OrganizationPermissionPermissionArgs
            {
                Permissions = new[]
                {
                    "string",
                },
                PrincipalId = "string",
                PrincipalType = "string",
                CreateTime = "string",
                UpdateTime = "string",
            },
        },
        Timeouts = new Aiven.Inputs.OrganizationPermissionTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := aiven.NewOrganizationPermission(ctx, "organizationPermissionResource", &aiven.OrganizationPermissionArgs{
    	OrganizationId: pulumi.String("string"),
    	ResourceId:     pulumi.String("string"),
    	ResourceType:   pulumi.String("string"),
    	Permissions: aiven.OrganizationPermissionPermissionArray{
    		&aiven.OrganizationPermissionPermissionArgs{
    			Permissions: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PrincipalId:   pulumi.String("string"),
    			PrincipalType: pulumi.String("string"),
    			CreateTime:    pulumi.String("string"),
    			UpdateTime:    pulumi.String("string"),
    		},
    	},
    	Timeouts: &aiven.OrganizationPermissionTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var organizationPermissionResource = new OrganizationPermission("organizationPermissionResource", OrganizationPermissionArgs.builder()
        .organizationId("string")
        .resourceId("string")
        .resourceType("string")
        .permissions(OrganizationPermissionPermissionArgs.builder()
            .permissions("string")
            .principalId("string")
            .principalType("string")
            .createTime("string")
            .updateTime("string")
            .build())
        .timeouts(OrganizationPermissionTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    organization_permission_resource = aiven.OrganizationPermission("organizationPermissionResource",
        organization_id="string",
        resource_id="string",
        resource_type="string",
        permissions=[{
            "permissions": ["string"],
            "principal_id": "string",
            "principal_type": "string",
            "create_time": "string",
            "update_time": "string",
        }],
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const organizationPermissionResource = new aiven.OrganizationPermission("organizationPermissionResource", {
        organizationId: "string",
        resourceId: "string",
        resourceType: "string",
        permissions: [{
            permissions: ["string"],
            principalId: "string",
            principalType: "string",
            createTime: "string",
            updateTime: "string",
        }],
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: aiven:OrganizationPermission
    properties:
        organizationId: string
        permissions:
            - createTime: string
              permissions:
                - string
              principalId: string
              principalType: string
              updateTime: string
        resourceId: string
        resourceType: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
    

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

    OrganizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    ResourceId string
    Resource Id. Changing this property forces recreation of the resource.
    ResourceType string
    Resource type. The possible values are organization, organization_unit and project. Changing this property forces recreation of the resource.
    Permissions List<OrganizationPermissionPermission>
    Required property. List of roles to set.
    Timeouts OrganizationPermissionTimeouts
    OrganizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    ResourceId string
    Resource Id. Changing this property forces recreation of the resource.
    ResourceType string
    Resource type. The possible values are organization, organization_unit and project. Changing this property forces recreation of the resource.
    Permissions []OrganizationPermissionPermissionArgs
    Required property. List of roles to set.
    Timeouts OrganizationPermissionTimeoutsArgs
    organizationId String
    ID of an organization. Changing this property forces recreation of the resource.
    resourceId String
    Resource Id. Changing this property forces recreation of the resource.
    resourceType String
    Resource type. The possible values are organization, organization_unit and project. Changing this property forces recreation of the resource.
    permissions List<OrganizationPermissionPermission>
    Required property. List of roles to set.
    timeouts OrganizationPermissionTimeouts
    organizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    resourceId string
    Resource Id. Changing this property forces recreation of the resource.
    resourceType string
    Resource type. The possible values are organization, organization_unit and project. Changing this property forces recreation of the resource.
    permissions OrganizationPermissionPermission[]
    Required property. List of roles to set.
    timeouts OrganizationPermissionTimeouts
    organization_id str
    ID of an organization. Changing this property forces recreation of the resource.
    resource_id str
    Resource Id. Changing this property forces recreation of the resource.
    resource_type str
    Resource type. The possible values are organization, organization_unit and project. Changing this property forces recreation of the resource.
    permissions Sequence[OrganizationPermissionPermissionArgs]
    Required property. List of roles to set.
    timeouts OrganizationPermissionTimeoutsArgs
    organizationId String
    ID of an organization. Changing this property forces recreation of the resource.
    resourceId String
    Resource Id. Changing this property forces recreation of the resource.
    resourceType String
    Resource type. The possible values are organization, organization_unit and project. Changing this property forces recreation of the resource.
    permissions List<Property Map>
    Required property. List of roles to set.
    timeouts Property Map

    Outputs

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

    Get an existing OrganizationPermission 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?: OrganizationPermissionState, opts?: CustomResourceOptions): OrganizationPermission
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            organization_id: Optional[str] = None,
            permissions: Optional[Sequence[OrganizationPermissionPermissionArgs]] = None,
            resource_id: Optional[str] = None,
            resource_type: Optional[str] = None,
            timeouts: Optional[OrganizationPermissionTimeoutsArgs] = None) -> OrganizationPermission
    func GetOrganizationPermission(ctx *Context, name string, id IDInput, state *OrganizationPermissionState, opts ...ResourceOption) (*OrganizationPermission, error)
    public static OrganizationPermission Get(string name, Input<string> id, OrganizationPermissionState? state, CustomResourceOptions? opts = null)
    public static OrganizationPermission get(String name, Output<String> id, OrganizationPermissionState state, CustomResourceOptions options)
    resources:  _:    type: aiven:OrganizationPermission    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:
    OrganizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    Permissions List<OrganizationPermissionPermission>
    Required property. List of roles to set.
    ResourceId string
    Resource Id. Changing this property forces recreation of the resource.
    ResourceType string
    Resource type. The possible values are organization, organization_unit and project. Changing this property forces recreation of the resource.
    Timeouts OrganizationPermissionTimeouts
    OrganizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    Permissions []OrganizationPermissionPermissionArgs
    Required property. List of roles to set.
    ResourceId string
    Resource Id. Changing this property forces recreation of the resource.
    ResourceType string
    Resource type. The possible values are organization, organization_unit and project. Changing this property forces recreation of the resource.
    Timeouts OrganizationPermissionTimeoutsArgs
    organizationId String
    ID of an organization. Changing this property forces recreation of the resource.
    permissions List<OrganizationPermissionPermission>
    Required property. List of roles to set.
    resourceId String
    Resource Id. Changing this property forces recreation of the resource.
    resourceType String
    Resource type. The possible values are organization, organization_unit and project. Changing this property forces recreation of the resource.
    timeouts OrganizationPermissionTimeouts
    organizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    permissions OrganizationPermissionPermission[]
    Required property. List of roles to set.
    resourceId string
    Resource Id. Changing this property forces recreation of the resource.
    resourceType string
    Resource type. The possible values are organization, organization_unit and project. Changing this property forces recreation of the resource.
    timeouts OrganizationPermissionTimeouts
    organization_id str
    ID of an organization. Changing this property forces recreation of the resource.
    permissions Sequence[OrganizationPermissionPermissionArgs]
    Required property. List of roles to set.
    resource_id str
    Resource Id. Changing this property forces recreation of the resource.
    resource_type str
    Resource type. The possible values are organization, organization_unit and project. Changing this property forces recreation of the resource.
    timeouts OrganizationPermissionTimeoutsArgs
    organizationId String
    ID of an organization. Changing this property forces recreation of the resource.
    permissions List<Property Map>
    Required property. List of roles to set.
    resourceId String
    Resource Id. Changing this property forces recreation of the resource.
    resourceType String
    Resource type. The possible values are organization, organization_unit and project. Changing this property forces recreation of the resource.
    timeouts Property Map

    Supporting Types

    OrganizationPermissionPermission, OrganizationPermissionPermissionArgs

    Permissions List<string>
    List of roles and permissions to grant". The possible values are admin, developer, operator, organization:app_users:write, organization:audit_logs:read, organization:billing:read, organization:billing:write, organization:domains:write, organization:groups:write, organization:networking:read, organization:networking:write, organization:projects:write, organization:users:write, project:audit_logs:read, project:integrations:read, project:integrations:write, project:networking:read, project:networking:write, project:permissions:read, project:services:read, project:services:write, read_only, role:organization:admin, role:services:maintenance, role:services:recover, service:configuration:write, service:data:write, service:logs:read, service:secrets:read and service:users:write.
    PrincipalId string
    ID of the user or group to grant permissions to. Only active users who have accepted an invite to join the organization can be granted permissions.
    PrincipalType string
    An enumeration. The possible values are user and user_group.
    CreateTime string
    Create Time.
    UpdateTime string
    Update Time.
    Permissions []string
    List of roles and permissions to grant". The possible values are admin, developer, operator, organization:app_users:write, organization:audit_logs:read, organization:billing:read, organization:billing:write, organization:domains:write, organization:groups:write, organization:networking:read, organization:networking:write, organization:projects:write, organization:users:write, project:audit_logs:read, project:integrations:read, project:integrations:write, project:networking:read, project:networking:write, project:permissions:read, project:services:read, project:services:write, read_only, role:organization:admin, role:services:maintenance, role:services:recover, service:configuration:write, service:data:write, service:logs:read, service:secrets:read and service:users:write.
    PrincipalId string
    ID of the user or group to grant permissions to. Only active users who have accepted an invite to join the organization can be granted permissions.
    PrincipalType string
    An enumeration. The possible values are user and user_group.
    CreateTime string
    Create Time.
    UpdateTime string
    Update Time.
    permissions List<String>
    List of roles and permissions to grant". The possible values are admin, developer, operator, organization:app_users:write, organization:audit_logs:read, organization:billing:read, organization:billing:write, organization:domains:write, organization:groups:write, organization:networking:read, organization:networking:write, organization:projects:write, organization:users:write, project:audit_logs:read, project:integrations:read, project:integrations:write, project:networking:read, project:networking:write, project:permissions:read, project:services:read, project:services:write, read_only, role:organization:admin, role:services:maintenance, role:services:recover, service:configuration:write, service:data:write, service:logs:read, service:secrets:read and service:users:write.
    principalId String
    ID of the user or group to grant permissions to. Only active users who have accepted an invite to join the organization can be granted permissions.
    principalType String
    An enumeration. The possible values are user and user_group.
    createTime String
    Create Time.
    updateTime String
    Update Time.
    permissions string[]
    List of roles and permissions to grant". The possible values are admin, developer, operator, organization:app_users:write, organization:audit_logs:read, organization:billing:read, organization:billing:write, organization:domains:write, organization:groups:write, organization:networking:read, organization:networking:write, organization:projects:write, organization:users:write, project:audit_logs:read, project:integrations:read, project:integrations:write, project:networking:read, project:networking:write, project:permissions:read, project:services:read, project:services:write, read_only, role:organization:admin, role:services:maintenance, role:services:recover, service:configuration:write, service:data:write, service:logs:read, service:secrets:read and service:users:write.
    principalId string
    ID of the user or group to grant permissions to. Only active users who have accepted an invite to join the organization can be granted permissions.
    principalType string
    An enumeration. The possible values are user and user_group.
    createTime string
    Create Time.
    updateTime string
    Update Time.
    permissions Sequence[str]
    List of roles and permissions to grant". The possible values are admin, developer, operator, organization:app_users:write, organization:audit_logs:read, organization:billing:read, organization:billing:write, organization:domains:write, organization:groups:write, organization:networking:read, organization:networking:write, organization:projects:write, organization:users:write, project:audit_logs:read, project:integrations:read, project:integrations:write, project:networking:read, project:networking:write, project:permissions:read, project:services:read, project:services:write, read_only, role:organization:admin, role:services:maintenance, role:services:recover, service:configuration:write, service:data:write, service:logs:read, service:secrets:read and service:users:write.
    principal_id str
    ID of the user or group to grant permissions to. Only active users who have accepted an invite to join the organization can be granted permissions.
    principal_type str
    An enumeration. The possible values are user and user_group.
    create_time str
    Create Time.
    update_time str
    Update Time.
    permissions List<String>
    List of roles and permissions to grant". The possible values are admin, developer, operator, organization:app_users:write, organization:audit_logs:read, organization:billing:read, organization:billing:write, organization:domains:write, organization:groups:write, organization:networking:read, organization:networking:write, organization:projects:write, organization:users:write, project:audit_logs:read, project:integrations:read, project:integrations:write, project:networking:read, project:networking:write, project:permissions:read, project:services:read, project:services:write, read_only, role:organization:admin, role:services:maintenance, role:services:recover, service:configuration:write, service:data:write, service:logs:read, service:secrets:read and service:users:write.
    principalId String
    ID of the user or group to grant permissions to. Only active users who have accepted an invite to join the organization can be granted permissions.
    principalType String
    An enumeration. The possible values are user and user_group.
    createTime String
    Create Time.
    updateTime String
    Update Time.

    OrganizationPermissionTimeouts, OrganizationPermissionTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    $ pulumi import aiven:index/organizationPermission:OrganizationPermission operator ORGANIZATION_ID/ID
    

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

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo
    Aiven v6.44.0 published on Friday, Oct 10, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate