A Statement
A statement has an effect and a list of actions, and lives in a role.staging and a read-only role in prod never add up to a change in prod.
Three Places a Statement Takes Effect
A statement does nothing until it is attached, and it can be attached in three places.Specific Resources, Plainly
Preview A statement can name specific resources, such as two sending numbers.- The IDs live in the statement and nowhere else.
- Telnyx does not check that they exist. Saving a statement checks each ID’s format and warns if one is not found, but saves it anyway.
- A wrong ID never matches. In an allow it grants nothing, and in a deny it protects nothing.
- The product that owns the resource does the checking. IAM allows the action and passes the list along, and the product compares it with the resource the request names, in the URL or in the body.
- Lists of specific resources are capped. For larger sets, use a project or a managed organization.