aws-amplify / amplify-backend

Home to all tools related to Amplify's code-first DX (Gen 2) for building fullstack apps on AWS
Apache License 2.0
166 stars 55 forks source link

Add all Cognito IAM actions to ActionIam type #1560

Open oe-bayram opened 4 months ago

oe-bayram commented 4 months ago

Environment information

System:
  OS: Windows 11 10.0.22631
Binaries:
  Node: 18.16.0
  Yarn: 1.22.19
  npm: 9.5.1
  pnpm: 9.1.1
NPM Packages:
  @aws-amplify/backend: 1.0.2
  @aws-amplify/backend-cli: 1.0.3
  aws-amplify: 6.3.2
  aws-cdk: 2.142.1
  aws-cdk-lib: 2.142.1
  typescript: 5.4.5
AWS environment variables:
  AWS_NODEJS_CONNECTION_REUSE_ENABLED = 1
  AWS_SDK_LOAD_CONFIG = 1
  AWS_STS_REGIONAL_ENDPOINTS = regional
No CDK environment variables

Description

Please add all Cognito IAM actions for ActionIam type in @aws-amplify/backend-auth/lib/types.d.ts as listed on AWS IAM Cognito-IDP.

ykethan commented 4 months ago

Hey @oe-bayram, thank you for reaching out. Marking this a feature-request. as a workaround you can add the policy using the example provided on comment: https://github.com/aws-amplify/amplify-backend/issues/1375#issuecomment-2079388509