User - canonical users list.
| 80 | |
| 81 | // User - canonical users list. |
| 82 | type User struct { |
| 83 | AWS set.StringSet `json:"AWS,omitempty"` |
| 84 | CanonicalUser set.StringSet `json:"CanonicalUser,omitempty"` |
| 85 | } |
| 86 | |
| 87 | // UnmarshalJSON is a custom json unmarshaler for Principal field, |
| 88 | // the reason is that Principal can take a json struct represented by |