Class CfnWebhook.WebhookAuthConfigurationProperty
The authentication applied to incoming webhook trigger requests.
Inheritance
System.Object
CfnWebhook.WebhookAuthConfigurationProperty
Implements
Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class WebhookAuthConfigurationProperty : Object, CfnWebhook.IWebhookAuthConfigurationProperty
Syntax (vb)
Public Class WebhookAuthConfigurationProperty
Inherits Object
Implements CfnWebhook.IWebhookAuthConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodePipeline;
var webhookAuthConfigurationProperty = new WebhookAuthConfigurationProperty {
AllowedIpRange = "allowedIpRange",
SecretToken = "secretToken"
};
Synopsis
Constructors
WebhookAuthConfigurationProperty() |
Properties
AllowedIpRange | The property used to configure acceptance of webhooks in an IP address range. |
SecretToken | The property used to configure GitHub authentication. |
Constructors
WebhookAuthConfigurationProperty()
public WebhookAuthConfigurationProperty()
Properties
AllowedIpRange
The property used to configure acceptance of webhooks in an IP address range.
public string AllowedIpRange { get; set; }
Property Value
System.String
Remarks
For IP, only the AllowedIPRange
property must be set. This property must be set to a valid CIDR range.
SecretToken
The property used to configure GitHub authentication.
public string SecretToken { get; set; }
Property Value
System.String
Remarks
For GITHUB_HMAC, only the SecretToken
property must be set.