probe Incidents

get_resolved_incident_items

Retrieve the list of items related to the most recent resolved incident

Run it now
View details
Typeprobe
Modulechaosaws.incidents.probes
Nameget_resolved_incident_items
Returnmapping

Usage

JSON

{
  "name": "get-resolved-incident-items",
  "type": "probe",
  "provider": {
    "type": "python",
    "module": "chaosaws.incidents.probes",
    "func": "get_resolved_incident_items"
  }
}

YAML

name: get-resolved-incident-items
provider:
  func: get_resolved_incident_items
  module: chaosaws.incidents.probes
  type: python
type: probe

Arguments

NameTypeDefaultRequiredTitleDescription
impactinteger1NoImpactFilter by this impact level. 1 is the highest and 5 is the lowest impact
created_in_the_laststring3 minutesNoCreated in the LastCreated after the start of the window. 3 minutes, 2 days…
created_bystringNoCreated ByARN of the incident creator. Useful to filter to a specific role

Signature

def get_resolved_incident_items(
        impact: int = 1,
        created_in_the_last: Union[str, float] = '3 minutes',
        created_by: Optional[str] = None,
        configuration: Dict[str, Dict[str, str]] = None,
        secrets: Dict[str, Dict[str, str]] = None) -> Dict[str, Any]:
    pass