Interface WebhookStaticTokenAuthConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WebhookStaticTokenAuthConfiguration.Builder,,WebhookStaticTokenAuthConfiguration> SdkBuilder<WebhookStaticTokenAuthConfiguration.Builder,,WebhookStaticTokenAuthConfiguration> SdkPojo
- Enclosing class:
WebhookStaticTokenAuthConfiguration
@Mutable
@NotThreadSafe
public static interface WebhookStaticTokenAuthConfiguration.Builder
extends SdkPojo, CopyableBuilder<WebhookStaticTokenAuthConfiguration.Builder,WebhookStaticTokenAuthConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionsecretValue(String secretValue) The token the provider sends in the header.tokenHttpHeader(String tokenHttpHeader) The name of the header that carries the secret, for example X-Webhook-Secret.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
tokenHttpHeader
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.
- Parameters:
tokenHttpHeader- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretValue
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.
- Parameters:
secretValue- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-