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:
- Account
Id string is a unique account id.
- Team
Id string is an account team id.
- 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.
- 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 string time of creation.
- Invited
By stringUser Email team invited by user email.
- Account
Id string is a unique account id.
- Team
Id string is an account team id.
- 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.
- 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 string time of creation.
- Invited
By stringUser Email team invited by user email.
- account
Id string is a unique account id.
- team
Id string is an account team id.
- 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.
- 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.- create
Time string time of creation.
- invited
By stringUser Email 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_ 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:
- 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.- Account
Id string is a unique account id.
- Create
Time string time of creation.
- Invited
By stringUser Email team invited by user email.
- Team
Id string is an account team id.
- 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.
- 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 string is a unique account id.
- Create
Time string time of creation.
- Invited
By stringUser Email team invited by user email.
- Team
Id string is an account team id.
- 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.
- 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.- account
Id string is a unique account id.
- create
Time string time of creation.
- invited
By stringUser Email team invited by user email.
- team
Id string is an account team id.
- 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.
- 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_ struser_ email 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.