aws-samples / amazon-textract-idp-cdk-constructs

MIT No Attribution
30 stars 13 forks source link

inputPolicyStatements/outputPolicyStatements fields for TextractGenericAsyncSfnTaskProps type mismatch #54

Closed alvesdavidr closed 1 year ago

alvesdavidr commented 1 year ago

The inputPolicyStatements and outputPolicyStatements fields are typed as [iam.PolicyStatement] rather than iam.PolicyStatement[]. As a result, only one policy statement can be added to the array.

To replicate:

Looking at the code, it seems like multiple statements were intended to be supported.