Skip to main content

sampling_rule

Gets an individual sampling_rule resource

Overview

Namesampling_rule
TypeResource
Descriptionsampling_rule
Idawscc.xray.sampling_rule

Fields

NameDatatypeDescription
sampling_ruleobject
sampling_rule_recordobject
sampling_rule_updateobject
rule_arnstring
rule_namestring
tagsarray
regionstringAWS 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