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