Class: Aws::EventBridgeV2::Types::WebhookCredential
- Inherits:
-
Struct
- Object
- Struct
- Aws::EventBridgeV2::Types::WebhookCredential
- Defined in:
- gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb
Overview
WebhookCredential is a union - when making an API calls you must set exactly one of the members.
A new webhook credential. Exactly one variant must be set.
Defined Under Namespace
Classes: BasicHttpPassword, HmacSecretValue, StaticTokenSecretValue, Unknown
Constant Summary collapse
- SENSITIVE =
[:static_token_secret_value, :basic_http_password, :hmac_secret_value]
Instance Attribute Summary collapse
-
#basic_http_password ⇒ String
The new password for HTTP Basic authentication.
-
#hmac_secret_value ⇒ String
The new HMAC secret, in the SecretEncoding of the EventSource.
-
#static_token_secret_value ⇒ String
The new token for static token authentication.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#basic_http_password ⇒ String
The new password for HTTP Basic authentication. The username does not change.
3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 |
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 3533 class WebhookCredential < Struct.new( :static_token_secret_value, :basic_http_password, :hmac_secret_value, :unknown) SENSITIVE = [:static_token_secret_value, :basic_http_password, :hmac_secret_value] include Aws::Structure include Aws::Structure::Union class StaticTokenSecretValue < WebhookCredential; end class BasicHttpPassword < WebhookCredential; end class HmacSecretValue < WebhookCredential; end class Unknown < WebhookCredential; end end |
#hmac_secret_value ⇒ String
The new HMAC secret, in the SecretEncoding of the EventSource. With BASE64, EventBridge removes a leading "whsec_". The key must be 16 to 512 bytes; with BASE64 SecretEncoding, this is measured after decoding.
3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 |
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 3533 class WebhookCredential < Struct.new( :static_token_secret_value, :basic_http_password, :hmac_secret_value, :unknown) SENSITIVE = [:static_token_secret_value, :basic_http_password, :hmac_secret_value] include Aws::Structure include Aws::Structure::Union class StaticTokenSecretValue < WebhookCredential; end class BasicHttpPassword < WebhookCredential; end class HmacSecretValue < WebhookCredential; end class Unknown < WebhookCredential; end end |
#static_token_secret_value ⇒ String
The new token for static token authentication.
3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 |
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 3533 class WebhookCredential < Struct.new( :static_token_secret_value, :basic_http_password, :hmac_secret_value, :unknown) SENSITIVE = [:static_token_secret_value, :basic_http_password, :hmac_secret_value] include Aws::Structure include Aws::Structure::Union class StaticTokenSecretValue < WebhookCredential; end class BasicHttpPassword < WebhookCredential; end class HmacSecretValue < WebhookCredential; end class Unknown < WebhookCredential; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
3533 3534 3535 |
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 3533 def unknown @unknown end |