Skip to main content

organization_configurations

Creates, updates, deletes, gets or lists an organization_configurations resource.

Overview

Nameorganization_configurations
TypeResource
Idaws.macie2.organization_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
auto_enablebooleanSpecifies whether Amazon Macie is enabled automatically for accounts that are added to the organization.
max_account_limit_reachedbooleanSpecifies whether the maximum number of Amazon Macie member accounts are part of the organization.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_organization_configurationselectregionRetrieves the Amazon Macie configuration settings for an organization in Organizations.
update_organization_configurationupdateregion, autoEnableUpdates the Amazon Macie configuration settings for an organization in Organizations.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves the Amazon Macie configuration settings for an organization in Organizations.

SELECT
auto_enable,
max_account_limit_reached
FROM aws.macie2.organization_configurations
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Updates the Amazon Macie configuration settings for an organization in Organizations.

UPDATE aws.macie2.organization_configurations
SET
autoEnable = {{ autoEnable }}
WHERE
region = '{{ region }}' --required
AND autoEnable = {{ autoEnable }} --required;