AccountArgs

data class AccountArgs(val accountName: Output<String>? = null, val email: Output<String>? = null, val parentIds: Output<List<String>>? = null, val roleName: Output<String>? = null, val tags: Output<List<TagArgs>>? = null) : ConvertibleToJava<AccountArgs>

You can use AWS::Organizations::Account to manage accounts in organization.

Constructors

Link copied to clipboard
constructor(accountName: Output<String>? = null, email: Output<String>? = null, parentIds: Output<List<String>>? = null, roleName: Output<String>? = null, tags: Output<List<TagArgs>>? = null)

Properties

Link copied to clipboard
val accountName: Output<String>? = null

The friendly name of the member account.

Link copied to clipboard
val email: Output<String>? = null

The email address of the owner to assign to the new member account.

Link copied to clipboard
val parentIds: Output<List<String>>? = null

List of parent nodes for the member account. Currently only one parent at a time is supported. Default is root.

Link copied to clipboard
val roleName: Output<String>? = null

The name of an IAM role that AWS Organizations automatically preconfigures in the new member account. Default name is OrganizationAccountAccessRole if not specified.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

A list of tags that you want to attach to the newly created account. For each tag in the list, you must specify both a tag key and a value.

Functions

Link copied to clipboard
open override fun toJava(): AccountArgs