Sets the principals associated with this policy statement, and returns this updated Statement object. Principals control which AWS accounts are affected by this policy statement.
If you don't want to restrict your policy to specific users, you can use AllUsers to apply the policy to any user trying to access your resource.
- principals (array<Principal>())
- The list of principals associated with this policy statement.
Assembly: AWSSDK (Module: AWSSDK) Version: 220.127.116.11 (18.104.22.168)