1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Cognito only supports string attributes, but you can mimic a multi-value attribute with your own delimiter between and around the values. Take this example using :
to separate your floors values:
{"floors": ":1:3:7:"}
Then your aws:PrincipalTag/tag-key check can use StringLike
in a Condition
with leading *:
and trailing :*
wildcards to match the floor. This assumes your floor values don't contain :
and they aren't user-defined input that would allow someone to inject their own :
character.
"Condition": {
"StringLike": { "aws:PrincipalTag/floor": "*:3:*" }
},
répondu il y a un an
Contenus pertinents
- demandé il y a 14 jours
- Réponse acceptéedemandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 10 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans