← All types

IAMStatement

A single statement within an IAM policy document

Fields

Access to related records granted through registered relationships

Request conditions that limit when the statement applies

Filter selecting the records the statement applies to; null applies to all matching resources

effect

Effect!Non-null

Whether this statement allows or denies

Possible values (2)
ALLOW

Allow the specified actions

DENY

Deny the specified actions (overrides allow)

actions

[String!]!Non-null

Action patterns (e.g., 'script:read', 'user:*')

resources

[String!]!Non-null

Resource patterns (e.g., '*', 'script:abc123')

Referenced by (1)
Exact type SDL
"""A single statement within an IAM policy document"""
type IAMStatement {
  """Access to related records granted through registered relationships"""
  relatedAccess: [IAMRelatedAccess!]
  """Request conditions that limit when the statement applies"""
  conditions: IAMConditionFields
  """
  Filter selecting the records the statement applies to; null applies to all matching resources
  """
  filter: IAMFilterFields
  """Whether this statement allows or denies"""
  effect: Effect!
  """Action patterns (e.g., 'script:read', 'user:*')"""
  actions: [String!]!
  """Resource patterns (e.g., '*', 'script:abc123')"""
  resources: [String!]!
}