interface SamplingRuleReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.XRay.SamplingRuleReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsxray#SamplingRuleReference |
Java | software.amazon.awscdk.interfaces.xray.SamplingRuleReference |
Python | aws_cdk.interfaces.aws_xray.SamplingRuleReference |
TypeScript | aws-cdk-lib » interfaces » 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 interfaces_aws_xray } from 'aws-cdk-lib/interfaces';
const samplingRuleReference: interfaces_aws_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