centralization_rules_for_organizations
Creates, updates, deletes, gets or lists a centralization_rules_for_organizations resource.
Overview
| Name | centralization_rules_for_organizations |
| Type | Resource |
| Id | aws.observabilityadmin.centralization_rules_for_organizations |
Fields
The following fields are returned by SELECT queries:
- list_centralization_rules_for_organization
| Name | Datatype | Description |
|---|---|---|
created_region | string | The Amazon Web Services region where the organization centralization rule was created. |
created_time_stamp | integer (int64) | The timestamp when the organization centralization rule was created. |
creator_account_id | string | The Amazon Web Services Account that created the organization centralization rule. |
destination_account_id | string | The primary destination account of the organization centralization rule. |
destination_region | string | The primary destination region of the organization centralization rule. |
failure_reason | string | The reason why an organization centralization rule is marked UNHEALTHY. (TRUSTED_ACCESS_NOT_ENABLED, DESTINATION_ACCOUNT_NOT_IN_ORGANIZATION, INTERNAL_SERVER_ERROR) |
last_update_time_stamp | integer (int64) | The timestamp when the organization centralization rule was last updated. |
rule_arn | string | The 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_health | string | The health status of the organization centralization rule. (Healthy, Unhealthy, Provisioning) |
rule_name | string | The name of the organization centralization rule. (pattern: <code>[0-9A-Za-z-_.#/]+</code>) |
tag_propagation_failure_reason | string | The reason tag propagation is unhealthy for this rule. Only present when TagPropagationStatus is Unhealthy. (RoleNotAssumable, RoleLacksPermissions) |
tag_propagation_status | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_centralization_rules_for_organization | select | region | Lists 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_centralization_rules_for_organization
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
;