Class AccountArgs


  • public final class AccountArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  AccountArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static AccountArgs Empty  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static AccountArgs.Builder builder()  
      static AccountArgs.Builder builder​(AccountArgs defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> closeOnDeletion()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> createGovcloud()  
      com.pulumi.core.Output<java.lang.String> email()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> iamUserAccessToBilling()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> parentId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> roleName()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • closeOnDeletion

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> closeOnDeletion()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> createGovcloud()
        Returns:
        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

        public com.pulumi.core.Output<java.lang.String> email()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> iamUserAccessToBilling()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Friendly name for the member account. The following arguments are optional:
      • parentId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> parentId()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> roleName()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        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.