Manage the StatusPage configuration.
In the minion configuration file, the following block is required:
statuspage:
api_key: <API_KEY>
page_id: <PAGE_ID>
New in version 2017.7.0.
Insert a new entry under a specific endpoint.
Insert under this specific endpoint.
Page ID. Can also be specified in the config file.
API key. Can also be specified in the config file.
API version. Can also be specified in the config file.
Custom API URL in case the user has a StatusPage service running in a custom environment.
Other params.
SLS Example:
create-my-component:
statuspage.create:
- endpoint: components
- name: my component
- group_id: 993vgplshj12
Remove an entry from an endpoint.
Request a specific endpoint.
Page ID. Can also be specified in the config file.
API key. Can also be specified in the config file.
API version. Can also be specified in the config file.
Custom API URL in case the user has a StatusPage service running in a custom environment.
SLS Example:
delete-my-component:
statuspage.delete:
- endpoint: components
- id: ftgks51sfs2d
Manage the StatusPage configuration.
Dictionary with the expected configuration of the StatusPage. The main level keys of this dictionary represent the endpoint name. If a certain endpoint does not exist in this structure, it will be ignored / not configured.
Page ID. Can also be specified in the config file.
API key. Can also be specified in the config file.
API version. Can also be specified in the config file.
Custom API URL in case the user has a StatusPage service running in a custom environment.
Max requests per second allowed by the API.
Allow empty config.
SLS example:
my-statuspage-config:
statuspage.managed:
- config:
components:
- name: component1
group_id: uy4g37rf
- name: component2
group_id: 3n4uyu4gf
incidents:
- name: incident1
status: resolved
impact: major
backfilled: false
- name: incident2
status: investigating
impact: minor
Update attribute(s) of a specific endpoint.
The unique ID of the endpoint entry.
Endpoint name.
Page ID. Can also be specified in the config file.
API key. Can also be specified in the config file.
API version. Can also be specified in the config file.
Custom API URL in case the user has a StatusPage service running in a custom environment.
SLS Example:
update-my-incident:
statuspage.update:
- id: dz959yz2nd4l
- status: resolved