question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(aws-wafv2): there's no `LoggingConfiguration`, so it is impossible `logging` to Kinesis firehose

See original GitHub issue

Currently, there is no LoggingConfiguration in aws-wafv2.

Use Case

To connect (or associate) to Kinesis firehose.

Proposed Solution

create new class such as CfnLoggingConfiguration.

import * as wafv2 from '@aws-cdk/aws-wafv2';

const loggingConfiguration = wafv2.CfnLoggingConfiguration(scope, id, {
    webAclArn: string,
    firehoseArn: string
})

Other

Though I found the reference about LoggingConfiguration in here, LoggingConfiguration may not exist in CloudFormation … ?

In addition, the code in aws-wafv2.index.ts may reference the CloudFormation and may generate the CDK code, I think.

So, is it possible to add CfnLoggingConfiguration ? I am concerned about difference between CloudFormation (i.e. origin source code) and CDK (i.e. generated source code).

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
phrastnikcommented, Oct 12, 2021

Seems it’s unblocked now as aws-cloudformation/cloudformation-coverage-roadmap#349 was released in August.

0reactions
github-actions[bot]commented, Jun 21, 2022

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Turn on AWS WAF logging
How do I turn on AWS WAF logging and send logs to CloudWatch, Amazon S3, or Kinesis Data Firehose? Last updated: 2022-07-22. I...
Read more >
put-logging-configuration — AWS CLI 2.9.5 Command ...
For the latest version of AWS WAF , use the AWS WAFV2 API and see the AWS WAF ... Do not create the...
Read more >
Ensure WAF2 has a Logging Configuration - Documentation
Description. You can enable comprehensive logging on a web access control list (web ACL) using an Amazon Kinesis Data Firehose stream destined to...
Read more >
aws waf put-logging-configuration | Fig
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF ... Do not create the data...
Read more >
Introduction to Amazon Kinesis Firehose - YouTube
Amazon Kinesis Firehose makes it easy for you to load streaming data into AWS without having to build custom stream processing applications.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found