WebhookStaticTokenAuthConfiguration
¶
Source code in docs_src/capo_eventbridgev2/types/webhook_static_token_auth_configuration.py
secret_value
instance-attribute
¶
secret_value: NotRequired[WebhookSecretValue]
The token the provider sends in the header. If you omit it, EventBridge generates one. EventBridge stores the token only in AWS Secrets Manager and never returns it, including from DescribeEventSource. EventBridge compares it against the entire header value, so a provider that sends Authorization: Bearer <token> needs SecretValue to include the "Bearer " prefix.
token_http_header
instance-attribute
¶
token_http_header: WebhookHeaderName
The name of the header that carries the secret, for example X-Webhook-Secret. Reserved names are rejected: the names EventBridge's edge writes, such as Host and the X-Forwarded-* family, and the hop-by-hop and framing names an HTTP intermediary may rewrite, such as Connection and Content-Length. Authorization is allowed.