1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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,
},
});
beantwortet vor 6 Monaten
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 5 Jahren