public static interface CfnWebhook.WebhookAuthConfigurationProperty
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 java.lang.String |
getAllowedIpRange()
The property used to configure acceptance of webhooks in an IP address range.
|
default java.lang.String |
getSecretToken()
The property used to configure GitHub authentication.
|
default java.lang.String getAllowedIpRange()
For IP, only the AllowedIPRange
property must be set. This property must be set to a valid CIDR range.
default java.lang.String getSecretToken()
For GITHUB_HMAC, only the SecretToken
property must be set.
static CfnWebhook.WebhookAuthConfigurationProperty.Builder builder()