SamplingRuleReference
- class aws_cdk.aws_xray.SamplingRuleReference(*, rule_arn)
Bases:
object
A reference to a SamplingRule resource.
- Parameters:
rule_arn (
str
) – The RuleARN of the SamplingRule resource.- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_xray as xray sampling_rule_reference = xray.SamplingRuleReference( rule_arn="ruleArn" )
Attributes
- rule_arn
The RuleARN of the SamplingRule resource.