SonarJS linter helper functions
    Preparing search index...

    Function isS3BucketConstructor

    • Detects S3 Bucket's constructor invocation from 'aws-cdk-lib/aws-s3':

      const s3 = require('aws-cdk-lib/aws-s3'); new s3.Bucket();

      Parameters

      • context: RuleContext
      • node: NewExpression

      Returns boolean