Skip to main content
POST
Create a service binding

Authorizations

Authorization
string
header
required

An sre_ak_* API key holding the api:admin scope (or api:config_read, which every write refuses with read_only_key).

Body

application/json
service
string
required

The service to bind.

account_id
string | null

AWS account (twelve digits) the service lives in; null searches every account.

environment
string

Default "", meaning no particular environment.

log_filter
string

A Logs Insights filter fragment. "" clears it.

log_groups
string[]

CloudWatch log group names, replacing the stored list.

metric_selectors
object[]

{namespace, metric_name, dimensions?: [{name, value}]} objects, replacing the stored list.

region
string | null

AWS region the service lives in, for example us-east-1; null searches every region.

trace_service_names
string[]

X-Ray service names, replacing the stored list.

Response

Created.