IAM JSON policy elements: Sid
You can provide Sid
(statement ID) as an optional identifier for the policy
statement. You can assign a Sid
value to each statement in a statement array. You
can use the Sid
value as a description for the policy statement. In services that
let you specify an ID
element, such as SQS and SNS, the Sid
value is
just a sub-ID of the policy document ID. In IAM, the Sid
value must be unique
within a JSON policy.
"Sid": "1"
The Sid
element supports ASCII uppercase letters (A-Z), lowercase letters
(a-z), and numbers (0-9).
IAM does not expose the Sid
in the IAM API. You can't retrieve a particular
statement based on this ID.
Some AWS services (for example, Amazon SQS or Amazon SNS) might require this element and have uniqueness requirements for it. For service-specific information about writing policies, refer to the documentation for the service you work with.