Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data WebhookAuthConfiguration Source #
The authentication applied to incoming webhook trigger requests.
See: newWebhookAuthConfiguration
smart constructor.
WebhookAuthConfiguration' | |
|
Instances
newWebhookAuthConfiguration :: WebhookAuthConfiguration Source #
Create a value of WebhookAuthConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allowedIPRange:WebhookAuthConfiguration'
, webhookAuthConfiguration_allowedIPRange
- The property used to configure acceptance of webhooks in an IP address
range. For IP, only the AllowedIPRange
property must be set. This
property must be set to a valid CIDR range.
$sel:secretToken:WebhookAuthConfiguration'
, webhookAuthConfiguration_secretToken
- The property used to configure GitHub authentication. For GITHUB_HMAC,
only the SecretToken
property must be set.
webhookAuthConfiguration_allowedIPRange :: Lens' WebhookAuthConfiguration (Maybe Text) Source #
The property used to configure acceptance of webhooks in an IP address
range. For IP, only the AllowedIPRange
property must be set. This
property must be set to a valid CIDR range.
webhookAuthConfiguration_secretToken :: Lens' WebhookAuthConfiguration (Maybe Text) Source #
The property used to configure GitHub authentication. For GITHUB_HMAC,
only the SecretToken
property must be set.