libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodePipeline.Types.WebhookAuthConfiguration

Description

 
Synopsis

Documentation

data WebhookAuthConfiguration Source #

The authentication applied to incoming webhook trigger requests.

See: newWebhookAuthConfiguration smart constructor.

Constructors

WebhookAuthConfiguration' 

Fields

  • allowedIPRange :: Maybe Text

    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.

  • secretToken :: Maybe Text

    The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property must be set.

Instances

Instances details
Eq WebhookAuthConfiguration Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.WebhookAuthConfiguration

Read WebhookAuthConfiguration Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.WebhookAuthConfiguration

Show WebhookAuthConfiguration Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.WebhookAuthConfiguration

Generic WebhookAuthConfiguration Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.WebhookAuthConfiguration

Associated Types

type Rep WebhookAuthConfiguration :: Type -> Type #

NFData WebhookAuthConfiguration Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.WebhookAuthConfiguration

Hashable WebhookAuthConfiguration Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.WebhookAuthConfiguration

ToJSON WebhookAuthConfiguration Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.WebhookAuthConfiguration

FromJSON WebhookAuthConfiguration Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.WebhookAuthConfiguration

type Rep WebhookAuthConfiguration Source # 
Instance details

Defined in Amazonka.CodePipeline.Types.WebhookAuthConfiguration

type Rep WebhookAuthConfiguration = D1 ('MetaData "WebhookAuthConfiguration" "Amazonka.CodePipeline.Types.WebhookAuthConfiguration" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" 'False) (C1 ('MetaCons "WebhookAuthConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "allowedIPRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secretToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.