@finnairoyj/cdk-constructs-lib
    Preparing search index...

    Function checkMatchingResources

    • Require that all specified resources are present in the IAM policy statement. Always matches if the policy defines the wildcard resource ('*'). Otherwise all resources need to be explicitly defined, including possible wildcards

      Parameters

      • stmt: any

        The IAM policy statement

      • resources: string[]

        List of required resources

      Returns boolean

      boolean