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