Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

AccountTeamMember

# Account Team Member Resource

The Account Team Member resource allows the creation and management of an Aiven Account Team Member.

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 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 a AccountTeamMember Resource

new AccountTeamMember(name: string, args: AccountTeamMemberArgs, opts?: CustomResourceOptions);
def AccountTeamMember(resource_name: 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)
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:

AccountId string

is a unique account id.

TeamId string

is an account team id.

UserEmail 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.

Accepted bool

is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

CreateTime string

time of creation.

InvitedByUserEmail string

team invited by user email.

AccountId string

is a unique account id.

TeamId string

is an account team id.

UserEmail 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.

Accepted bool

is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

CreateTime string

time of creation.

InvitedByUserEmail string

team invited by user email.

accountId string

is a unique account id.

teamId string

is an account team id.

userEmail 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.

accepted boolean

is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

createTime string

time of creation.

invitedByUserEmail string

team invited by user email.

account_id str

is a unique account id.

team_id str

is an account team id.

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.

accepted bool

is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

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
@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) -> AccountTeamMember
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

is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

AccountId string

is a unique account id.

CreateTime string

time of creation.

InvitedByUserEmail string

team invited by user email.

TeamId string

is an account team id.

UserEmail 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.

Accepted bool

is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

AccountId string

is a unique account id.

CreateTime string

time of creation.

InvitedByUserEmail string

team invited by user email.

TeamId string

is an account team id.

UserEmail 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.

accepted boolean

is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

accountId string

is a unique account id.

createTime string

time of creation.

invitedByUserEmail string

team invited by user email.

teamId string

is an account team id.

userEmail 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.

accepted bool

is a boolean flag that determines whether an invitation was accepted or not by the user. false value means that the invitation was sent to the user but not yet accepted. true means that the user accepted the invitation and now a member of an account team.

account_id str

is a unique account id.

create_time str

time of creation.

invited_by_user_email str

team invited by user email.

team_id str

is an account team id.

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.

Package Details

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