sampling_rules
Retrieves a list of sampling_rules
in a region
Overview
Name | sampling_rules |
Type | Resource |
Description | sampling_rules |
Id | awscc.xray.sampling_rules |
Fields
Name | Datatype | Description |
---|---|---|
rule_arn | undefined | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
rule_arn
FROM awscc.xray.sampling_rules
WHERE region = 'us-east-1'
Permissions
To operate on the sampling_rules
resource, the following permissions are required:
Create
xray:CreateSamplingRule,
xray:TagResource
List
xray:GetSamplingRules,
xray:ListTagsForResource