We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d8d547 commit b777616Copy full SHA for b777616
1 file changed
packages/cdkConstructs/src/constructs/lambdaSharedResources.ts
@@ -72,9 +72,11 @@ export const createSharedLambdaResources = (
72
addSuppressions([cfnlogGroup], ["CW_LOGGROUP_RETENTION_PERIOD_CHECK"])
73
74
if (addSplunkSubscriptionFilter) {
75
+ // This is in an if statement to ensure correct value is used
76
+ // importing and coercing to cfnDeliveryStream causes issues
77
if (splunkDeliveryStream) {
78
new CfnSubscriptionFilter(scope, "LambdaLogsSplunkSubscriptionFilter", {
- destinationArn: splunkDeliveryStream?.attrArn,
79
+ destinationArn: splunkDeliveryStream.attrArn,
80
filterPattern: "",
81
logGroupName: logGroup.logGroupName,
82
roleArn: splunkSubscriptionFilterRole.roleArn
0 commit comments