Learn Idem

Learn Idem

Powered by Idem Project

aws.organizations.organization

**Autogenerated function**

Deletes the organization. You can delete an organization only by using credentials from the
management account. The organization must be empty of member accounts.

Args:
    name(Text): Name of the resource.

Returns:
    Dict[str, Any]

Examples:

    .. code-block:: sls

        aws.organizations.organization.absent:
            - name: value
**Autogenerated function**

Retrieves information about the organization that the user's account belongs to.
This operation can be called from any account in the organization..


Returns:
    Dict[str, Any]

Examples:

    .. code-block:: bash

        $ idem describe aws.organizations.organization
**Autogenerated function**

Creates an AWS organization. The account whose user is calling the CreateOrganization operation
automatically becomes the management account of the new organization.This operation must be called using
credentials from the account that is to become the new organization's management account. The principal
must also have the relevant IAM permissions.By default (or if you set the FeatureSet parameter to ALL ),
the new organization is created with all features enabled and service control policies automatically
enabled in the root. If you instead choose to create the organization supporting only the
consolidated billing features by setting the FeatureSet parameter to CONSOLIDATED_BILLING" ,
no policy types are enabled by default, and you can't use organization policies

Args:
    name(Text): Name of the resource.
    feature_set(Text, Default: 'ALL'): optional values: 'ALL'|'CONSOLIDATED_BILLING'

Request Syntax:
    [org-id]:
      aws.organizations.organization.present:
      - feature_set: 'string'

Returns:
    Dict[str, Any]

Examples:

    .. code-block:: sls

        org_is_present:
          aws.organizations.organization.present:
            - feature_set: 'ALL'

Full plugin documentation is available on the Idem documentation site - aws.organizations.organization .

Last updated on 20 Sep 2022
 Edit on GitHub