Skip to main content

centralization_rules_for_organizations

Creates, updates, deletes, gets or lists a centralization_rules_for_organizations resource.

Overview

Namecentralization_rules_for_organizations
TypeResource
Idaws.observabilityadmin.centralization_rules_for_organizations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
created_regionstringThe Amazon Web Services region where the organization centralization rule was created.
created_time_stampinteger (int64)The timestamp when the organization centralization rule was created.
creator_account_idstringThe Amazon Web Services Account that created the organization centralization rule.
destination_account_idstringThe primary destination account of the organization centralization rule.
destination_regionstringThe primary destination region of the organization centralization rule.
failure_reasonstringThe reason why an organization centralization rule is marked UNHEALTHY. (TRUSTED_ACCESS_NOT_ENABLED, DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION, INTERNAL_SERVER_ERROR)
last_update_time_stampinteger (int64)The timestamp when the organization centralization rule was last updated.
rule_arnstringThe Amazon Resource Name (ARN) of the organization centralization rule. (pattern: <code>arn:aws([a-z0-9-]+)?:([a-zA-Z0-9-]+):([a-z0-9-]+)?:([0-9]{12})?:(.+)</code>)
rule_healthstringThe health status of the organization centralization rule. (Healthy, Unhealthy, Provisioning)
rule_namestringThe name of the organization centralization rule. (pattern: <code>[0-9A-Za-z-_.#/]+</code>)
tag_propagation_failure_reasonstringThe reason tag propagation is unhealthy for this rule. Only present when TagPropagationStatus is Unhealthy. (RoleNotAssumable, RoleLacksPermissions)
tag_propagation_statusstringThe health status of tag propagation for this rule. This status is independent of the overall RuleHealth for log delivery. Returns Healthy when the most recent tag-propagation attempt succeeded, or Unhealthy when the most recent attempt failed. (Healthy, Unhealthy)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_centralization_rules_for_organizationselectregionLists all centralization rules in your organization. This operation can only be called by the organization's management account or a delegated administrator account.

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

Lists all centralization rules in your organization. This operation can only be called by the organization's management account or a delegated administrator account.

SELECT
created_region,
created_time_stamp,
creator_account_id,
destination_account_id,
destination_region,
failure_reason,
last_update_time_stamp,
rule_arn,
rule_health,
rule_name,
tag_propagation_failure_reason,
tag_propagation_status
FROM aws.observabilityadmin.centralization_rules_for_organizations
WHERE region = '{{ region }}' -- required
;