sampling_rule
Gets an individual sampling_rule
resource
Overview
Name | sampling_rule |
Type | Resource |
Description | sampling_rule |
Id | awscc.xray.sampling_rule |
Fields
Name | Datatype | Description |
---|---|---|
sampling_rule | object | |
sampling_rule_record | object | |
sampling_rule_update | object | |
rule_arn | string | |
rule_name | string | |
tags | array | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
sampling_rule,
sampling_rule_record,
sampling_rule_update,
rule_arn,
rule_name,
tags
FROM awscc.xray.sampling_rule
WHERE data__Identifier = '<RuleARN>';
Permissions
To operate on the sampling_rule
resource, the following permissions are required:
Read
xray:GetSamplingRules,
xray:ListTagsForResource
Update
xray:UpdateSamplingRule,
xray:TagResource,
xray:UntagResource,
xray:ListTagsForResource
Delete
xray:DeleteSamplingRule