Carter Himmel
12/24/2021, 1:19 AMhttp://tugboat.dev/utit9r.png▾
Frank
Carter Himmel
12/24/2021, 4:06 AMFrank
Frank
Auth
construct, and If you are using IAM
authorizer for your Api, and If you are trying to allow access from select IPs to invoke ur Api, you can try this:
const auth = new Auth(this, "Auth", { ... });
auth.attachPermissionsForAuthUsers([
// The two PolicyStatements you shared above
new iam.PolicyStatement({ ... }),
new iam.PolicyStatement({ ... }),
]);
Frank
Carter Himmel
01/11/2022, 2:32 AMFrank
Frank