1 Answer
- Newest
- Most votes
- Most comments
0
The comment here about cloudtrail helped me find the issue. It seems like the rule name in props is deprecated and ruleName
is supported inside sampling rule. the final code that worked was
new xray.CfnSamplingRule(this, 'ignoreHttpOptionsSamplingRule', {
samplingRule: {
ruleName: 'ignore-options-request',
httpMethod: 'OPTIONS',
resourceArn: '*',
serviceName: '*',
serviceType: '*',
urlPath: '*',
host: '*',
version: 1,
fixedRate: 0,
priority: 9999,
reservoirSize: 0,
},
});
answered 5 months ago
Relevant content
- asked 5 months ago
- asked 3 years ago
- asked 5 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago