Ludovic VUE
05/06/2022, 9:42 AM@serverless-stack/resourcesGabriel Bleu
05/06/2022, 4:21 PMaws-cdk-libFrank
Frank
import { CfnWebACL } from "aws-cdk-lib/aws_waf";
const cfnWebACL = new CfnWebACL(stack, 'MyCfnWebACL', {
  ...
});Frank
Ludovic VUE
05/10/2022, 7:51 PMLudovic VUE
05/10/2022, 10:27 PMError: construct does not have an associated node. All constructs must extend the "Construct" base classimport { aws_wafv2 as wafv2 } from "aws-cdk-lib"; 
const cfnIPSet = new wafv2.CfnIPSet(stack, "MyCfnIPSet", {
    addresses: [
      "2a01:0e0a:*****************/128",
    ],
    ipAddressVersion: "IPV6",
    scope: "CLOUDFRONT",
    description: "description",
    name: "test-cdk",
  });