aws.ops-item

Resource for OpsItems in SSM OpsCenter https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter.html

Filters

Actions

update

Update an ops item.

: example :

Close out open ops items older than 30 days for a given issue.

policies:
 - name: issue-items
   resource: aws.ops-item
   filters:
    - Status: Open
    - Title: checking-lambdas
    - type: value
      key: CreatedTime
      value_type: age
      op: greater-than
      value: 30
   actions:
    - type: update
      status: Resolved
properties:
  description:
    type: string
  priority:
    enum:
    - 1
    - 2
    - 3
    - 4
    - 5
  status:
    enum:
    - Open
    - In Progress
    - Resolved
  title:
    type: string
  topics:
    items:
      type: string
    type: array
  type:
    enum:
    - update
required:
- type

Permissions - ssm:UpdateOpsItem