AccountArgs class

The set of arguments for Account. The set of arguments for Account.

Constructors

AccountArgs({Input<bool?>? closeOnDeletion, Input<bool?>? createGovcloud, required Input<String> email, Input<String?>? iamUserAccessToBilling, Input<String?>? name, Input<String?>? parentId, Input<String?>? roleName, Input<Map<String, String>?>? tags})
Creates a new AccountArgs. closeOnDeletion If true, a deletion event will close the account. Otherwise, it will only remove from the organization. This is not supported for GovCloud accounts. createGovcloud Whether to also create a GovCloud account. The GovCloud account is tied to the main (commercial) account this resource creates. If true, the GovCloud account ID is available in the govcloudId attribute. The only way to manage the GovCloud account with the provider is to subsequently import the account using this resource. email Email address of the owner to assign to the new member account. This email address must not already be associated with another AWS account. iamUserAccessToBilling If set to ALLOW, the new account enables IAM users and roles to access account billing information if they have the required permissions. If set to DENY, then only the root user (and no roles) of the new account can access account billing information. If this is unset, the AWS API will default this to ALLOW. If the resource is created and this option is changed, it will try to recreate the account. name Friendly name for the member account. parentId Parent Organizational Unit ID or Root ID for the account. Defaults to the Organization default Root ID. A configuration must be present for this argument to perform drift detection. roleName The name of an IAM role that Organizations automatically preconfigures in the new member account. This role trusts the root account, allowing users in the root account to assume the role, as permitted by the root account administrator. The role has administrator permissions in the new member account. The Organizations API provides no method for reading this information after account creation, so the provider cannot perform drift detection on its value and will always show a difference for a configured value after import unless ignoreChanges is used. tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
const
AccountArgs.fromMap(Map<String, dynamic> map)
factory

Properties

closeOnDeletion → Input<bool?>?
If true, a deletion event will close the account. Otherwise, it will only remove from the organization. This is not supported for GovCloud accounts.
final
createGovcloud → Input<bool?>?
Whether to also create a GovCloud account. The GovCloud account is tied to the main (commercial) account this resource creates. If true, the GovCloud account ID is available in the govcloudId attribute. The only way to manage the GovCloud account with the provider is to subsequently import the account using this resource.
final
email → Input<String>
Email address of the owner to assign to the new member account. This email address must not already be associated with another AWS account.
final
hashCode → int
The hash code for this object.
no setterinherited
iamUserAccessToBilling → Input<String?>?
If set to ALLOW, the new account enables IAM users and roles to access account billing information if they have the required permissions. If set to DENY, then only the root user (and no roles) of the new account can access account billing information. If this is unset, the AWS API will default this to ALLOW. If the resource is created and this option is changed, it will try to recreate the account.
final
name → Input<String?>?
Friendly name for the member account.
final
parentId → Input<String?>?
Parent Organizational Unit ID or Root ID for the account. Defaults to the Organization default Root ID. A configuration must be present for this argument to perform drift detection.
final
roleName → Input<String?>?
The name of an IAM role that Organizations automatically preconfigures in the new member account. This role trusts the root account, allowing users in the root account to assume the role, as permitted by the root account administrator. The role has administrator permissions in the new member account. The Organizations API provides no method for reading this information after account creation, so the provider cannot perform drift detection on its value and will always show a difference for a configured value after import unless ignoreChanges is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited