Skip to content

Commit

Permalink
Minor javadoc addition for BucketPolicyStatement.setRawPrincipal to p…
Browse files Browse the repository at this point in the history
…rovide a useful example value
  • Loading branch information
Stu Arnett committed Jun 6, 2022
1 parent 749db85 commit 3f8f03b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ public void setPrincipal(String principal) {
else this.principal = principal;
}

/**
* If you want to set the principal to something other than "*", you'll need to set a raw JSON value here.
* I.e. <code>"{\"AWS\":[\"arn:ecs:iam::ns:user/my-user\",\"arn:ecs:iam::ns:user/other-user\"]}"</code>
*/
public void setRawPrincipal(String principal) { this.principal = principal; }

@XmlElement(name = "Action")
Expand Down

0 comments on commit 3f8f03b

Please sign in to comment.