Show / Hide Table of Contents

Class CfnWebhook.WebhookAuthConfigurationProperty

The authentication applied to incoming webhook trigger requests.

Inheritance
System.Object
CfnWebhook.WebhookAuthConfigurationProperty
Implements
CfnWebhook.IWebhookAuthConfigurationProperty
Namespace: Amazon.CDK.AWS.CodePipeline
Assembly: Amazon.CDK.AWS.CodePipeline.dll
Syntax (csharp)
public class WebhookAuthConfigurationProperty : Object, CfnWebhook.IWebhookAuthConfigurationProperty
Syntax (vb)
Public Class WebhookAuthConfigurationProperty
    Inherits Object
    Implements CfnWebhook.IWebhookAuthConfigurationProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookauthconfiguration.html

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;

WebhookAuthConfigurationProperty 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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookauthconfiguration.html#cfn-codepipeline-webhook-webhookauthconfiguration-allowediprange

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-webhook-webhookauthconfiguration.html#cfn-codepipeline-webhook-webhookauthconfiguration-secrettoken

Implements

CfnWebhook.IWebhookAuthConfigurationProperty
Back to top Generated by DocFX