CmdID / aws / aws observabilityadmin
aws observabilityadmin list-resource-telemetry-for-organization
Returns a list of telemetry configurations for Amazon Web Services resources supported by telemetry config in the organization. AWS CLI reference
1 example 7 options Its page in the AWS CLI reference
Examples
To retrieve the telemetry configurations for the organization
The following list-resource-telemetry-for-organization example returns a list of telemetry configurations in the organization for AWS resources supported by telemetry config.
aws observabilityadmin list-resource-telemetry-for-organization --resource-types AWS::EC2::InstanceIdentify--resource-typesA list of resource types used to filter resources in the organization.Its output, shortened
{
"TelemetryConfigurations": [
{
"AccountIdentifier": "123456789111",
"TelemetryConfigurationState": {
"Logs": "NotApplicable",
"Metrics": "Disabled",
"Traces": "NotApplicable"
},
"ResourceType": "AWS::EC2::Instance",
"ResourceIdentifier": "i-a166400b",
"ResourceTags": {
"Name": "dev"
},
"LastUpdateTimeStamp": 1733168548521
},
{
"AccountIdentifier": "123456789222",
"TelemetryConfigurationState": {
"Logs": "NotApplicable",
"Metrics": "Disabled",
"Traces": "NotApplicable"
},
"ResourceType": "AWS::EC2::Instance",
"ResourceIdentifier": "i-b188560f",
"ResourceTags": {
"Name": "apache"
},
"LastUpdateTimeStamp": 1732744260182
}
… 2 more linesFor more information, see Auditing CloudWatch telemetry configurations in the Amazon CloudWatch User Guide.
Options
--account-identifiersA list of Amazon Web Services accounts used to filter the resources to those associated with the specified accounts.--max-resultsA number field used to limit the number of results within the returned list.--next-tokenThe token for the next set of items to return.--resource-identifier-prefixA string used to filter resources in the organization which have a ResourceIdentifier starting with the ResourceIdentifierPrefix.--resource-tagsA key-value pair to filter resources in the organization based on tags associated with the resource.--resource-typesA list of resource types used to filter resources in the organization.--telemetry-configuration-stateA key-value pair to filter resources in the organization based on the telemetry type and the state of the telemetry configuration.