Class OrganizationState


  • public final class OrganizationState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • accounts

        public java.util.Optional<com.pulumi.core.Output<java.util.List<OrganizationAccountArgs>>> accounts()
        Returns:
        List of organization accounts including the master account. For a list excluding the master account, see the `nonMasterAccounts` attribute. All elements have these attributes:
      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        ARN of the root.
      • awsServiceAccessPrincipals

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> awsServiceAccessPrincipals()
        Returns:
        List of AWS service principal names for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation.amazonaws.com. Organization must have `featureSet` set to `ALL`. Some services do not support enablement via this endpoint, see [warning in aws docs](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html).
      • enabledPolicyTypes

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> enabledPolicyTypes()
        Returns:
        List of Organizations policy types to enable in the Organization Root. Organization must have `featureSet` set to `ALL`. For additional information about valid policy types (e.g., `AISERVICES_OPT_OUT_POLICY`, `BACKUP_POLICY`, `BEDROCK_POLICY`, `CHATBOT_POLICY`, `DECLARATIVE_POLICY_EC2`, `INSPECTOR_POLICY`, `RESOURCE_CONTROL_POLICY`, `S3_POLICY`, `SECURITYHUB_POLICY`, `SERVICE_CONTROL_POLICY`, `TAG_POLICY` and `UPGRADE_ROLLOUT_POLICY`), see the [AWS Organizations API Reference](https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnablePolicyType.html). To enable `INSPECTOR_POLICY`, `awsServiceAccessPrincipals` must include `inspector2.amazonaws.com`. To enable `SECURITYHUB_POLICY`, `awsServiceAccessPrincipals` must include `securityhub.amazonaws.com`.
      • featureSet

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> featureSet()
        Returns:
        Specify `ALL` (default) or `CONSOLIDATED_BILLING`.
      • masterAccountArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> masterAccountArn()
        Returns:
        ARN of the master account.
      • masterAccountEmail

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> masterAccountEmail()
        Returns:
        Email address of the master account.
      • masterAccountId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> masterAccountId()
        Returns:
        Identifier of the master account.
      • masterAccountName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> masterAccountName()
        Returns:
        Name of the master account.
      • nonMasterAccounts

        public java.util.Optional<com.pulumi.core.Output<java.util.List<OrganizationNonMasterAccountArgs>>> nonMasterAccounts()
        Returns:
        List of organization accounts excluding the master account. For a list including the master account, see the `accounts` attribute. All elements have these attributes:
      • returnOrganizationOnly

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> returnOrganizationOnly()
        Returns:
        Return (as attributes) only the results of the [`DescribeOrganization`](https://docs.aws.amazon.com/organizations/latest/APIReference/API_DescribeOrganization.html) API to avoid [API limits](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html#throttling-limits). When configured to `true` only the `arn`, `featureSet`, `masterAccountArn`, `masterAccountEmail` and `masterAccountId` attributes will be returned. All others will be empty. Default: `false`.
      • roots

        public java.util.Optional<com.pulumi.core.Output<java.util.List<OrganizationRootArgs>>> roots()
        Returns:
        List of organization roots. All elements have these attributes: