Skip to main content

organization_telemetry_rules

Creates, updates, deletes or gets an organization_telemetry_rule resource or lists organization_telemetry_rules in a region

Overview

Nameorganization_telemetry_rules
TypeResource
DescriptionThe AWS::ObservabilityAdmin::OrganizationTelemetryRule resource defines a CloudWatch Observability Admin Organization Telemetry Rule.
Idawscc.observabilityadmin.organization_telemetry_rules

Fields

NameDatatypeDescription
rule_namestringThe name of the organization telemetry rule
ruleobjectThe AWS::ObservabilityAdmin::TelemetryRule resource defines a CloudWatch Observability Admin Telemetry Rule.
rule_arnstringThe arn of the organization telemetry rule
tagsarrayAn array of key-value pairs to apply to this resource
regionstringAWS region.

For more information, see AWS::ObservabilityAdmin::OrganizationTelemetryRule.

Methods

NameAccessible byRequired Params
create_resourceINSERTRuleName, Rule, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual organization_telemetry_rule.

SELECT
region,
rule_name,
rule,
rule_arn,
tags
FROM awscc.observabilityadmin.organization_telemetry_rules
WHERE region = 'us-east-1' AND data__Identifier = '<RuleArn>';

INSERT example

Use the following StackQL query and manifest file to create a new organization_telemetry_rule resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.observabilityadmin.organization_telemetry_rules (
RuleName,
Rule,
region
)
SELECT
'{{ RuleName }}',
'{{ Rule }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM awscc.observabilityadmin.organization_telemetry_rules
WHERE data__Identifier = '<RuleArn>'
AND region = 'us-east-1';

Permissions

To operate on the organization_telemetry_rules resource, the following permissions are required:

Create

observabilityadmin:CreateTelemetryRuleForOrganization,
observabilityadmin:GetTelemetryRuleForOrganization,
observabilityadmin:TagResource,
observabilityadmin:ListTagsForResource,
observabilityadmin:GetTelemetryEvaluationStatusForOrganization,
organizations:ListDelegatedAdministrators,
iam:CreateServiceLinkedRole

Read

observabilityadmin:GetTelemetryRuleForOrganization,
observabilityadmin:ListTagsForResource,
observabilityadmin:GetTelemetryEvaluationStatusForOrganization,
organizations:ListDelegatedAdministrators

Update

observabilityadmin:UpdateTelemetryRuleForOrganization,
observabilityadmin:GetTelemetryRuleForOrganization,
observabilityadmin:TagResource,
observabilityadmin:UntagResource,
observabilityadmin:ListTagsForResource,
observabilityadmin:GetTelemetryEvaluationStatusForOrganization,
organizations:ListDelegatedAdministrators

Delete

observabilityadmin:DeleteTelemetryRuleForOrganization,
observabilityadmin:GetTelemetryEvaluationStatusForOrganization,
organizations:ListDelegatedAdministrators

List

observabilityadmin:ListTelemetryRulesForOrganization,
observabilityadmin:GetTelemetryEvaluationStatusForOrganization,
organizations:ListDelegatedAdministrators