published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
The Account Team Member resource allows the creation and management of an Aiven Account Team Member.
During the creation of aiven.AccountTeamMemberresource, 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 the invitation if one was sent but not yet accepted by the user, it will also
eliminate an account team member if one has accepted an invitation previously.
Create AccountTeamMember Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AccountTeamMember(name: string, args: AccountTeamMemberArgs, opts?: CustomResourceOptions);@overload
def AccountTeamMember(resource_name: str,
args: AccountTeamMemberArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AccountTeamMember(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
team_id: Optional[str] = None,
user_email: Optional[str] = None)func NewAccountTeamMember(ctx *Context, name string, args AccountTeamMemberArgs, opts ...ResourceOption) (*AccountTeamMember, error)public AccountTeamMember(string name, AccountTeamMemberArgs args, CustomResourceOptions? opts = null)
public AccountTeamMember(String name, AccountTeamMemberArgs args)
public AccountTeamMember(String name, AccountTeamMemberArgs args, CustomResourceOptions options)
type: aiven:AccountTeamMember
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 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.
- args AccountTeamMemberArgs
- 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 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.
- name String
- The unique name of the resource.
- args AccountTeamMemberArgs
- 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 accountTeamMemberResource = new Aiven.AccountTeamMember("accountTeamMemberResource", new()
{
AccountId = "string",
TeamId = "string",
UserEmail = "string",
});
example, err := aiven.NewAccountTeamMember(ctx, "accountTeamMemberResource", &aiven.AccountTeamMemberArgs{
AccountId: pulumi.String("string"),
TeamId: pulumi.String("string"),
UserEmail: pulumi.String("string"),
})
var accountTeamMemberResource = new AccountTeamMember("accountTeamMemberResource", AccountTeamMemberArgs.builder()
.accountId("string")
.teamId("string")
.userEmail("string")
.build());
account_team_member_resource = aiven.AccountTeamMember("accountTeamMemberResource",
account_id="string",
team_id="string",
user_email="string")
const accountTeamMemberResource = new aiven.AccountTeamMember("accountTeamMemberResource", {
accountId: "string",
teamId: "string",
userEmail: "string",
});
type: aiven:AccountTeamMember
properties:
accountId: string
teamId: string
userEmail: string
AccountTeamMember 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 AccountTeamMember resource accepts the following input properties:
- Account
Id string - The unique account id This property cannot be changed, doing so forces recreation of the resource.
- Team
Id string - An account team id This property cannot be changed, doing so forces recreation of the resource.
- User
Email string - Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.
- Account
Id string - The unique account id This property cannot be changed, doing so forces recreation of the resource.
- Team
Id string - An account team id This property cannot be changed, doing so forces recreation of the resource.
- User
Email string - Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.
- account
Id String - The unique account id This property cannot be changed, doing so forces recreation of the resource.
- team
Id String - An account team id This property cannot be changed, doing so forces recreation of the resource.
- user
Email String - Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.
- account
Id string - The unique account id This property cannot be changed, doing so forces recreation of the resource.
- team
Id string - An account team id This property cannot be changed, doing so forces recreation of the resource.
- user
Email string - Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.
- account_
id str - The unique account id This property cannot be changed, doing so forces recreation of the resource.
- team_
id str - An account team id This property cannot be changed, doing so forces recreation of the resource.
- user_
email str - Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.
- account
Id String - The unique account id This property cannot be changed, doing so forces recreation of the resource.
- team
Id String - An account team id This property cannot be changed, doing so forces recreation of the resource.
- user
Email String - Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the AccountTeamMember resource produces the following output properties:
- Accepted bool
- is a boolean flag that determines whether an invitation was accepted or not by the user.
falsevalue means that the invitation was sent to the user but not yet accepted.truemeans that the user accepted the invitation and now a member of an account team. - Create
Time string - Time of creation
- Id string
- The provider-assigned unique ID for this managed resource.
- Invited
By stringUser Email - The email address that invited this user.
- Accepted bool
- is a boolean flag that determines whether an invitation was accepted or not by the user.
falsevalue means that the invitation was sent to the user but not yet accepted.truemeans that the user accepted the invitation and now a member of an account team. - Create
Time string - Time of creation
- Id string
- The provider-assigned unique ID for this managed resource.
- Invited
By stringUser Email - The email address that invited this user.
- accepted Boolean
- is a boolean flag that determines whether an invitation was accepted or not by the user.
falsevalue means that the invitation was sent to the user but not yet accepted.truemeans that the user accepted the invitation and now a member of an account team. - create
Time String - Time of creation
- id String
- The provider-assigned unique ID for this managed resource.
- invited
By StringUser Email - The email address that invited this user.
- accepted boolean
- is a boolean flag that determines whether an invitation was accepted or not by the user.
falsevalue means that the invitation was sent to the user but not yet accepted.truemeans that the user accepted the invitation and now a member of an account team. - create
Time string - Time of creation
- id string
- The provider-assigned unique ID for this managed resource.
- invited
By stringUser Email - The email address that invited this user.
- accepted bool
- is a boolean flag that determines whether an invitation was accepted or not by the user.
falsevalue means that the invitation was sent to the user but not yet accepted.truemeans that the user accepted the invitation and now a member of an account team. - create_
time str - Time of creation
- id str
- The provider-assigned unique ID for this managed resource.
- invited_
by_ struser_ email - The email address that invited this user.
- accepted Boolean
- is a boolean flag that determines whether an invitation was accepted or not by the user.
falsevalue means that the invitation was sent to the user but not yet accepted.truemeans that the user accepted the invitation and now a member of an account team. - create
Time String - Time of creation
- id String
- The provider-assigned unique ID for this managed resource.
- invited
By StringUser Email - The email address that invited this user.
Look up 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@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
accepted: Optional[bool] = None,
account_id: Optional[str] = None,
create_time: Optional[str] = None,
invited_by_user_email: Optional[str] = None,
team_id: Optional[str] = None,
user_email: Optional[str] = None) -> AccountTeamMemberfunc 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)public static AccountTeamMember get(String name, Output<String> id, AccountTeamMemberState state, CustomResourceOptions options)resources: _: type: aiven:AccountTeamMember 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.
- Accepted bool
- is a boolean flag that determines whether an invitation was accepted or not by the user.
falsevalue means that the invitation was sent to the user but not yet accepted.truemeans that the user accepted the invitation and now a member of an account team. - Account
Id string - The unique account id This property cannot be changed, doing so forces recreation of the resource.
- Create
Time string - Time of creation
- Invited
By stringUser Email - The email address that invited this user.
- Team
Id string - An account team id This property cannot be changed, doing so forces recreation of the resource.
- User
Email string - Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.
- Accepted bool
- is a boolean flag that determines whether an invitation was accepted or not by the user.
falsevalue means that the invitation was sent to the user but not yet accepted.truemeans that the user accepted the invitation and now a member of an account team. - Account
Id string - The unique account id This property cannot be changed, doing so forces recreation of the resource.
- Create
Time string - Time of creation
- Invited
By stringUser Email - The email address that invited this user.
- Team
Id string - An account team id This property cannot be changed, doing so forces recreation of the resource.
- User
Email string - Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.
- accepted Boolean
- is a boolean flag that determines whether an invitation was accepted or not by the user.
falsevalue means that the invitation was sent to the user but not yet accepted.truemeans that the user accepted the invitation and now a member of an account team. - account
Id String - The unique account id This property cannot be changed, doing so forces recreation of the resource.
- create
Time String - Time of creation
- invited
By StringUser Email - The email address that invited this user.
- team
Id String - An account team id This property cannot be changed, doing so forces recreation of the resource.
- user
Email String - Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.
- accepted boolean
- is a boolean flag that determines whether an invitation was accepted or not by the user.
falsevalue means that the invitation was sent to the user but not yet accepted.truemeans that the user accepted the invitation and now a member of an account team. - account
Id string - The unique account id This property cannot be changed, doing so forces recreation of the resource.
- create
Time string - Time of creation
- invited
By stringUser Email - The email address that invited this user.
- team
Id string - An account team id This property cannot be changed, doing so forces recreation of the resource.
- user
Email string - Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.
- accepted bool
- is a boolean flag that determines whether an invitation was accepted or not by the user.
falsevalue means that the invitation was sent to the user but not yet accepted.truemeans that the user accepted the invitation and now a member of an account team. - account_
id str - The unique account id This property cannot be changed, doing so forces recreation of the resource.
- create_
time str - Time of creation
- invited_
by_ struser_ email - The email address that invited this user.
- team_
id str - An account team id This property cannot be changed, doing so forces recreation of the resource.
- user_
email str - Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.
- accepted Boolean
- is a boolean flag that determines whether an invitation was accepted or not by the user.
falsevalue means that the invitation was sent to the user but not yet accepted.truemeans that the user accepted the invitation and now a member of an account team. - account
Id String - The unique account id This property cannot be changed, doing so forces recreation of the resource.
- create
Time String - Time of creation
- invited
By StringUser Email - The email address that invited this user.
- team
Id String - An account team id This property cannot be changed, doing so forces recreation of the resource.
- user
Email String - Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. This property cannot be changed, doing so forces recreation of the resource.
Import
$ pulumi import aiven:index/accountTeamMember:AccountTeamMember foo account_id/team_id/user_email
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
aivenTerraform Provider.
published on Monday, Mar 9, 2026 by Pulumi
