Skip to main content

sampling_rules_list_only

Lists sampling_rules in a region or regions, for all properties use sampling_rules

Overview

Namesampling_rules_list_only
TypeResource
DescriptionThis schema provides construct and validation rules for AWS-XRay SamplingRule resource parameters.
Idaws.xray.sampling_rules_list_only

Fields

NameDatatypeDescription
sampling_ruleobjectThis schema provides construct and validation rules for AWS-XRay SamplingRule resource parameters.
sampling_rule_recordobject
sampling_rule_updateobject
rule_arnstringThe ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
rule_namestringThe ARN of the sampling rule. Specify a rule by either name or ARN, but not both.
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

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