@Stability(value=Stable)
public static interface CfnWebhook.WebhookAuthConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.*;
WebhookAuthConfigurationProperty webhookAuthConfigurationProperty = WebhookAuthConfigurationProperty.builder()
.allowedIpRange("allowedIpRange")
.secretToken("secretToken")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnWebhook.WebhookAuthConfigurationProperty.Builder
A builder for
CfnWebhook.WebhookAuthConfigurationProperty |
static class |
CfnWebhook.WebhookAuthConfigurationProperty.Jsii$Proxy
An implementation for
CfnWebhook.WebhookAuthConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnWebhook.WebhookAuthConfigurationProperty.Builder |
builder() |
default String |
getAllowedIpRange()
The property used to configure acceptance of webhooks in an IP address range.
|
default String |
getSecretToken()
The property used to configure GitHub authentication.
|
@Stability(value=Stable) @Nullable default String getAllowedIpRange()
For IP, only the AllowedIPRange property must be set. This property must be set to a valid CIDR range.
@Stability(value=Stable) @Nullable default String getSecretToken()
For GITHUB_HMAC, only the SecretToken property must be set.
@Stability(value=Stable) static CfnWebhook.WebhookAuthConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.