AccountTeamMember

During the creation of aiven..AccountTeamMember resource, an email invitation will be sent to a user using user_email address. If the user accepts an invitation, he or she will become a member of the account team. The deletion of aiven..AccountTeamMember will not only delete invitation if one was sent but not yet accepted by the user, and it will also eliminate an account team member if one has accepted an invitation previously.

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
    public MyStack()
    {
        var foo = new Aiven.AccountTeamMember("foo", new Aiven.AccountTeamMemberArgs
        {
            AccountId = aiven_account.Developers.Account_id,
            TeamId = aiven_account.Developers.Account_id,
            UserEmail = "user+1@example.com",
        });
    }

}

Coming soon!

import pulumi
import pulumi_aiven as aiven

foo = aiven.AccountTeamMember("foo",
    account_id=aiven_account["developers"]["account_id"],
    team_id=aiven_account["developers"]["account_id"],
    user_email="user+1@example.com")
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";

const foo = new aiven.AccountTeamMember("foo", {
    accountId: aiven_account_developers.accountId,
    teamId: aiven_account_developers.accountId,
    userEmail: "user+1@example.com",
});

Create a AccountTeamMember Resource

def AccountTeamMember(resource_name, opts=None, accepted=None, account_id=None, create_time=None, invited_by_user_email=None, team_id=None, user_email=None, __props__=None);
name string
The unique name of the resource.
args AccountTeamMemberArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AccountTeamMemberArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AccountTeamMemberArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

AccountTeamMember Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The AccountTeamMember resource accepts the following input properties:

AccountId string

Account id

TeamId string

Account team id

UserEmail string

Team invite user email

Accepted bool

Team member invitation status

CreateTime string

Time of creation

InvitedByUserEmail string

Team invited by user email

AccountId string

Account id

TeamId string

Account team id

UserEmail string

Team invite user email

Accepted bool

Team member invitation status

CreateTime string

Time of creation

InvitedByUserEmail string

Team invited by user email

accountId string

Account id

teamId string

Account team id

userEmail string

Team invite user email

accepted boolean

Team member invitation status

createTime string

Time of creation

invitedByUserEmail string

Team invited by user email

account_id str

Account id

team_id str

Account team id

user_email str

Team invite user email

accepted bool

Team member invitation status

create_time str

Time of creation

invited_by_user_email str

Team invited by user email

Outputs

All input properties are implicitly available as output properties. Additionally, the AccountTeamMember 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing AccountTeamMember Resource

Get an existing AccountTeamMember 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?: AccountTeamMemberState, opts?: CustomResourceOptions): AccountTeamMember
static get(resource_name, id, opts=None, accepted=None, account_id=None, create_time=None, invited_by_user_email=None, team_id=None, user_email=None, __props__=None);
func GetAccountTeamMember(ctx *Context, name string, id IDInput, state *AccountTeamMemberState, opts ...ResourceOption) (*AccountTeamMember, error)
public static AccountTeamMember Get(string name, Input<string> id, AccountTeamMemberState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Accepted bool

Team member invitation status

AccountId string

Account id

CreateTime string

Time of creation

InvitedByUserEmail string

Team invited by user email

TeamId string

Account team id

UserEmail string

Team invite user email

Accepted bool

Team member invitation status

AccountId string

Account id

CreateTime string

Time of creation

InvitedByUserEmail string

Team invited by user email

TeamId string

Account team id

UserEmail string

Team invite user email

accepted boolean

Team member invitation status

accountId string

Account id

createTime string

Time of creation

invitedByUserEmail string

Team invited by user email

teamId string

Account team id

userEmail string

Team invite user email

accepted bool

Team member invitation status

account_id str

Account id

create_time str

Time of creation

invited_by_user_email str

Team invited by user email

team_id str

Account team id

user_email str

Team invite user email

Package Details

Repository
https://github.com/pulumi/pulumi-aiven
License
Apache-2.0
Notes
This Pulumi package is based on the aiven Terraform Provider.