aws / aws-cdk-rfcs

RFCs for the AWS CDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thanks for this context. If more options are likely to added, I'd prefer to see this as an enum like class instead of an actual enum so that it's more extensible if options or props need to be added to potential auth types.

mrpackethead opened this issue · comments

.....I'd prefer to see this as an enum like class instead of an actual enum so that it's more extensible if options or props need to be added to potential auth types.

Originally posted by @TheRealAmazonKendra in #506 (comment)

Have replaced using the AuthType ENUM in favor of a Authorizer Class, which today, only returns the type of authorizer ( iam or none ), but will provide a non breaking path for any future auth models that may appear.

This seems to be created as a separate issue by mistake.