1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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,
},
});
répondu il y a 6 mois
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a 10 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 3 ans