Class AccountState


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

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

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

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()  
      static AccountState.Builder builder()  
      static AccountState.Builder builder​(AccountState defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> closeOnDeletion()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> createGovcloud()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> email()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> govcloudId()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> iamUserAccessToBilling()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> joinedMethod()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> joinedTimestamp()  
      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.lang.String>> state()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
      Deprecated.
      status is deprecated.
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()  
      • 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

      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        ARN for this account.
      • 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 java.util.Optional<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.
      • govcloudId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> govcloudId()
        Returns:
        ID for a GovCloud account created with the 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.
      • joinedMethod

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> joinedMethod()
        Returns:
        Method by which the account joined the organization.
      • joinedTimestamp

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> joinedTimestamp()
        Returns:
        Date the account became a part of the organization.
      • 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.
      • state

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> state()
        Returns:
        State of the account in the organization.
      • status

        @Deprecated
        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
        Deprecated.
        status is deprecated. Use state instead.
        Returns:
        (**Deprecated** use `state` instead) Status of the account in the organization.
      • 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.
      • tagsAll

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tagsAll()
        Returns:
        A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.