@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:05.545Z") @Stability(value=Stable) public interface CfnWebhookProps 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.*;
CfnWebhookProps cfnWebhookProps = CfnWebhookProps.builder()
.authentication("authentication")
.authenticationConfiguration(WebhookAuthConfigurationProperty.builder()
.allowedIpRange("allowedIpRange")
.secretToken("secretToken")
.build())
.filters(List.of(WebhookFilterRuleProperty.builder()
.jsonPath("jsonPath")
// the properties below are optional
.matchEquals("matchEquals")
.build()))
.targetAction("targetAction")
.targetPipeline("targetPipeline")
.targetPipelineVersion(123)
// the properties below are optional
.name("name")
.registerWithThirdParty(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnWebhookProps.Builder
A builder for
CfnWebhookProps |
static class |
CfnWebhookProps.Jsii$Proxy
An implementation for
CfnWebhookProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnWebhookProps.Builder |
builder() |
String |
getAuthentication()
`AWS::CodePipeline::Webhook.Authentication`.
|
Object |
getAuthenticationConfiguration()
`AWS::CodePipeline::Webhook.AuthenticationConfiguration`.
|
Object |
getFilters()
`AWS::CodePipeline::Webhook.Filters`.
|
default String |
getName()
`AWS::CodePipeline::Webhook.Name`.
|
default Object |
getRegisterWithThirdParty()
`AWS::CodePipeline::Webhook.RegisterWithThirdParty`.
|
String |
getTargetAction()
`AWS::CodePipeline::Webhook.TargetAction`.
|
String |
getTargetPipeline()
`AWS::CodePipeline::Webhook.TargetPipeline`.
|
Number |
getTargetPipelineVersion()
`AWS::CodePipeline::Webhook.TargetPipelineVersion`.
|
@Stability(value=Stable) @NotNull String getAuthentication()
@Stability(value=Stable) @NotNull Object getAuthenticationConfiguration()
@Stability(value=Stable) @NotNull Object getFilters()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @Nullable default Object getRegisterWithThirdParty()
@Stability(value=Stable) @NotNull String getTargetAction()
@Stability(value=Stable) @NotNull String getTargetPipeline()
@Stability(value=Stable) @NotNull Number getTargetPipelineVersion()
@Stability(value=Stable) static CfnWebhookProps.Builder builder()
CfnWebhookProps.Builder of CfnWebhookPropsCopyright © 2021. All rights reserved.