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
new AccountTeamMember(name: string, args: AccountTeamMemberArgs, opts?: CustomResourceOptions);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);func NewAccountTeamMember(ctx *Context, name string, args AccountTeamMemberArgs, opts ...ResourceOption) (*AccountTeamMember, error)public AccountTeamMember(string name, AccountTeamMemberArgs args, CustomResourceOptions? opts = null)- 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:
- 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_ struser_ email Team invited by user email
Outputs
All input properties are implicitly available as output properties. Additionally, the AccountTeamMember resource produces the following output properties:
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): AccountTeamMemberstatic 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
- account_
id str Account id
- create_
time str Time of creation
- invited_
by_ struser_ email 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
aivenTerraform Provider.