Viewing docs for Aiven v4.5.2 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for Aiven v4.5.2 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
The Project User data source provides information about the existing Aiven Project User.
Example Usage
using Pulumi;
using Aiven = Pulumi.Aiven;
class MyStack : Stack
{
public MyStack()
{
var mytestuser = Output.Create(Aiven.GetProjectUser.InvokeAsync(new Aiven.GetProjectUserArgs
{
Project = aiven_project.Myproject.Project,
Email = "john.doe@example.com",
}));
}
}
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v4/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.LookupProjectUser(ctx, &GetProjectUserArgs{
Project: aiven_project.Myproject.Project,
Email: "john.doe@example.com",
}, nil)
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const mytestuser = aiven.getProjectUser({
project: aiven_project.myproject.project,
email: "john.doe@example.com",
});
import pulumi
import pulumi_aiven as aiven
mytestuser = aiven.get_project_user(project=aiven_project["myproject"]["project"],
email="john.doe@example.com")
Example coming soon!
Using getProjectUser
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProjectUser(args: GetProjectUserArgs, opts?: InvokeOptions): Promise<GetProjectUserResult>
function getProjectUserOutput(args: GetProjectUserOutputArgs, opts?: InvokeOptions): Output<GetProjectUserResult>def get_project_user(email: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProjectUserResult
def get_project_user_output(email: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProjectUserResult]func LookupProjectUser(ctx *Context, args *LookupProjectUserArgs, opts ...InvokeOption) (*LookupProjectUserResult, error)
func LookupProjectUserOutput(ctx *Context, args *LookupProjectUserOutputArgs, opts ...InvokeOption) LookupProjectUserResultOutput> Note: This function is named LookupProjectUser in the Go SDK.
public static class GetProjectUser
{
public static Task<GetProjectUserResult> InvokeAsync(GetProjectUserArgs args, InvokeOptions? opts = null)
public static Output<GetProjectUserResult> Invoke(GetProjectUserInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProjectUserResult> getProjectUser(GetProjectUserArgs args, InvokeOptions options)
public static Output<GetProjectUserResult> getProjectUser(GetProjectUserArgs args, InvokeOptions options)
fn::invoke:
function: aiven:index/getProjectUser:getProjectUser
arguments:
# arguments dictionaryThe following arguments are supported:
- Email string
- Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
- Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Email string
- Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
- Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- email String
- Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
- project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- email string
- Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
- project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- email str
- Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
- project str
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- email String
- Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
- project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
getProjectUser Result
The following output properties are available:
- Accepted bool
- Whether the user has accepted the request to join the project; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
- Email string
- Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Member
Type string - Project membership type. The possible values are
admin,developerandoperator. - Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- Accepted bool
- Whether the user has accepted the request to join the project; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
- Email string
- Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Member
Type string - Project membership type. The possible values are
admin,developerandoperator. - Project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- accepted Boolean
- Whether the user has accepted the request to join the project; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
- email String
- Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- member
Type String - Project membership type. The possible values are
admin,developerandoperator. - project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- accepted boolean
- Whether the user has accepted the request to join the project; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
- email string
- Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- member
Type string - Project membership type. The possible values are
admin,developerandoperator. - project string
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- accepted bool
- Whether the user has accepted the request to join the project; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
- email str
- Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- member_
type str - Project membership type. The possible values are
admin,developerandoperator. - project str
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
- accepted Boolean
- Whether the user has accepted the request to join the project; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
- email String
- Email address of the user. This property cannot be changed, doing so forces recreation of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- member
Type String - Project membership type. The possible values are
admin,developerandoperator. - project String
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aivenTerraform Provider.
Viewing docs for Aiven v4.5.2 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
