Relative Content

Tag Archive for amazon-web-servicesamazon-cognitoaws-iotaws-policies

AWS Cognito user custom attribute as variable in a IoT Core policy

In my AWS Cognito User Pool I have a user with a custom attribute named “custom:Company”; I would like to use it in a IoT Core policy so that authenticated users are only allowed to subscribe to topics belonging to their own company, e.g. in pseudo-code: company/{custom:Company}/events.