Class: Aws::EventBridgeV2::Types::WebhookAuthConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::EventBridgeV2::Types::WebhookAuthConfiguration
- Defined in:
- gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb
Overview
WebhookAuthConfiguration is a union - when making an API calls you must set exactly one of the members.
WebhookAuthConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of WebhookAuthConfiguration corresponding to the set member.
How the provider authenticates its webhook requests. Exactly one variant must be set.
Defined Under Namespace
Classes: BasicHttpAuthConfiguration, HmacAuthConfiguration, StaticTokenAuthConfiguration, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#basic_http_auth_configuration ⇒ Types::WebhookBasicHttpAuthConfiguration
The provider uses HTTP Basic authentication.
-
#hmac_auth_configuration ⇒ Types::WebhookHmacAuthConfiguration
The provider signs each request with an HMAC of the secret.
-
#static_token_auth_configuration ⇒ Types::WebhookStaticTokenAuthConfiguration
The provider sends a static token in an HTTP header.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#basic_http_auth_configuration ⇒ Types::WebhookBasicHttpAuthConfiguration
The provider uses HTTP Basic authentication.
3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 |
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 3471 class WebhookAuthConfiguration < Struct.new( :static_token_auth_configuration, :basic_http_auth_configuration, :hmac_auth_configuration, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class StaticTokenAuthConfiguration < WebhookAuthConfiguration; end class BasicHttpAuthConfiguration < WebhookAuthConfiguration; end class HmacAuthConfiguration < WebhookAuthConfiguration; end class Unknown < WebhookAuthConfiguration; end end |
#hmac_auth_configuration ⇒ Types::WebhookHmacAuthConfiguration
The provider signs each request with an HMAC of the secret.
3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 |
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 3471 class WebhookAuthConfiguration < Struct.new( :static_token_auth_configuration, :basic_http_auth_configuration, :hmac_auth_configuration, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class StaticTokenAuthConfiguration < WebhookAuthConfiguration; end class BasicHttpAuthConfiguration < WebhookAuthConfiguration; end class HmacAuthConfiguration < WebhookAuthConfiguration; end class Unknown < WebhookAuthConfiguration; end end |
#static_token_auth_configuration ⇒ Types::WebhookStaticTokenAuthConfiguration
The provider sends a static token in an HTTP header.
3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 |
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 3471 class WebhookAuthConfiguration < Struct.new( :static_token_auth_configuration, :basic_http_auth_configuration, :hmac_auth_configuration, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class StaticTokenAuthConfiguration < WebhookAuthConfiguration; end class BasicHttpAuthConfiguration < WebhookAuthConfiguration; end class HmacAuthConfiguration < WebhookAuthConfiguration; end class Unknown < WebhookAuthConfiguration; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
3471 3472 3473 |
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 3471 def unknown @unknown end |