interface SamplingRuleReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.XRay.SamplingRuleReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsxray#SamplingRuleReference |
Java | software.amazon.awscdk.services.xray.SamplingRuleReference |
Python | aws_cdk.aws_xray.SamplingRuleReference |
TypeScript | aws-cdk-lib » aws_xray » SamplingRuleReference |
A reference to a SamplingRule resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_xray as xray } from 'aws-cdk-lib';
const samplingRuleReference: xray.SamplingRuleReference = {
ruleArn: 'ruleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| rule | string | The RuleARN of the SamplingRule resource. |
ruleArn
Type:
string
The RuleARN of the SamplingRule resource.

.NET
Go
Java
Python
TypeScript