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: 126.96.36.199 (188.8.131.52)