sampling_rules_list_only
Lists sampling_rules in a region or regions, for all properties use sampling_rules
Overview
| Name | sampling_rules_list_only |
| Type | Resource |
| Description | This schema provides construct and validation rules for AWS-XRay SamplingRule resource parameters. |
| Id | aws.xray.sampling_rules_list_only |
Fields
| Name | Datatype | Description |
|---|---|---|
rule_arn | string | The ARN of the sampling rule. Specify a rule by either name or ARN, but not both. |
region | string | AWS region. |
Methods
| Name | Accessible by | Required Params |
|---|---|---|
list_resources | SELECT | region |
SELECT examples
Lists all sampling_rules in a region.
SELECT
region,
rule_arn
FROM aws.xray.sampling_rules_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the sampling_rules_list_only resource, see sampling_rules