Skip to content

WebhookEventsSourceConfiguration

Source code in docs_src/capo_eventbridgev2/types/webhook_events_source_configuration.py
class WebhookEventsSourceConfiguration(TypedDict, closed=True):
    auth_configuration: (
        "capo_eventbridgev2.types.webhook_auth_configuration.WebhookAuthConfiguration"
    )
    """<p>How the provider authenticates its requests. Exactly one authentication type must be set, and it can't be changed after the EventSource is created.</p>"""
    kms_key_identifier: NotRequired[
        "capo_eventbridgev2.types.kms_key_identifier.KmsKeyIdentifier"
    ]
    """<p>Optional. The AWS KMS key that encrypts the EventSource's secret in AWS Secrets Manager. Omit it to encrypt the secret with the AWS managed key aws/secretsmanager. A key you supply must be an enabled customer managed key in your account and Region. Changing it re-encrypts the secret under the new key. The previous key can still decrypt the stored versions until the credential is next rotated.</p>"""
    role_arn: "capo_eventbridgev2.types.role_arn.RoleArn"
    """<p>IAM role the service assumes to put the webhook's events on the event bus. Must belong to the calling account.</p>"""
    metadata_http_headers: NotRequired[
        "capo_eventbridgev2.types.webhook_metadata_http_header_list.WebhookMetadataHttpHeaderList"
    ]
    """<p>The HTTP request headers to add to each event's metadata, up to 20. Header names are case-insensitive and can't repeat. Each header is added under its lowercase name. Omit the list to add no headers. Headers that carry credentials or that describe the network path, and the header that carries the static token, can't be listed.</p>"""
    deduplication_configuration: NotRequired[
        "capo_eventbridgev2.types.webhook_deduplication_configuration.WebhookDeduplicationConfiguration"
    ]
    """<p>Optional. Deduplicates this EventSource's events on the event bus. Omit it to deduplicate nothing.</p>"""
    log_configuration: NotRequired[
        "capo_eventbridgev2.types.log_configuration.LogConfiguration"
    ]
    """<p>Optional. Controls the log records EventBridge delivers for this EventSource's webhook requests. Omit it to deliver no logs. Logs are delivered to the destinations you configure with Amazon CloudWatch Logs vended log delivery.</p>"""

auth_configuration instance-attribute

auth_configuration: WebhookAuthConfiguration

How the provider authenticates its requests. Exactly one authentication type must be set, and it can't be changed after the EventSource is created.

deduplication_configuration instance-attribute

deduplication_configuration: NotRequired[WebhookDeduplicationConfiguration]

Optional. Deduplicates this EventSource's events on the event bus. Omit it to deduplicate nothing.

kms_key_identifier instance-attribute

kms_key_identifier: NotRequired[KmsKeyIdentifier]

Optional. The AWS KMS key that encrypts the EventSource's secret in AWS Secrets Manager. Omit it to encrypt the secret with the AWS managed key aws/secretsmanager. A key you supply must be an enabled customer managed key in your account and Region. Changing it re-encrypts the secret under the new key. The previous key can still decrypt the stored versions until the credential is next rotated.

log_configuration instance-attribute

log_configuration: NotRequired[LogConfiguration]

Optional. Controls the log records EventBridge delivers for this EventSource's webhook requests. Omit it to deliver no logs. Logs are delivered to the destinations you configure with Amazon CloudWatch Logs vended log delivery.

metadata_http_headers instance-attribute

metadata_http_headers: NotRequired[WebhookMetadataHttpHeaderList]

The HTTP request headers to add to each event's metadata, up to 20. Header names are case-insensitive and can't repeat. Each header is added under its lowercase name. Omit the list to add no headers. Headers that carry credentials or that describe the network path, and the header that carries the static token, can't be listed.

role_arn instance-attribute

role_arn: RoleArn

IAM role the service assumes to put the webhook's events on the event bus. Must belong to the calling account.