@Stability(value=Stable) public static final class CfnWebhookProps.Builder extends Object implements software.amazon.jsii.Builder<CfnWebhookProps>
CfnWebhookProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnWebhookProps.Builder authentication(String authentication)
CfnWebhookProps.getAuthentication()authentication - Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED. This parameter is required.
this@Stability(value=Stable) public CfnWebhookProps.Builder authenticationConfiguration(IResolvable authenticationConfiguration)
CfnWebhookProps.getAuthenticationConfiguration()authenticationConfiguration - Properties that configure the authentication applied to incoming webhook trigger requests. This parameter is required.
The required properties depend on the authentication type. For GITHUB_HMAC, only the SecretToken property must be set. For IP, only the AllowedIPRange property must be set to a valid CIDR range. For UNAUTHENTICATED, no properties can be set.this@Stability(value=Stable) public CfnWebhookProps.Builder authenticationConfiguration(CfnWebhook.WebhookAuthConfigurationProperty authenticationConfiguration)
CfnWebhookProps.getAuthenticationConfiguration()authenticationConfiguration - Properties that configure the authentication applied to incoming webhook trigger requests. This parameter is required.
The required properties depend on the authentication type. For GITHUB_HMAC, only the SecretToken property must be set. For IP, only the AllowedIPRange property must be set to a valid CIDR range. For UNAUTHENTICATED, no properties can be set.this@Stability(value=Stable) public CfnWebhookProps.Builder filters(IResolvable filters)
CfnWebhookProps.getFilters()filters - A list of rules applied to the body/payload sent in the POST request to a webhook URL. This parameter is required.
All defined rules must pass for the request to be accepted and the pipeline started.this@Stability(value=Stable) public CfnWebhookProps.Builder filters(List<? extends Object> filters)
CfnWebhookProps.getFilters()filters - A list of rules applied to the body/payload sent in the POST request to a webhook URL. This parameter is required.
All defined rules must pass for the request to be accepted and the pipeline started.this@Stability(value=Stable) public CfnWebhookProps.Builder targetAction(String targetAction)
CfnWebhookProps.getTargetAction()targetAction - The name of the action in a pipeline you want to connect to the webhook. This parameter is required.
The action must be from the source (first) stage of the pipeline.this@Stability(value=Stable) public CfnWebhookProps.Builder targetPipeline(String targetPipeline)
CfnWebhookProps.getTargetPipeline()targetPipeline - The name of the pipeline you want to connect to the webhook. This parameter is required.this@Stability(value=Stable) public CfnWebhookProps.Builder targetPipelineVersion(Number targetPipelineVersion)
CfnWebhookProps.getTargetPipelineVersion()targetPipelineVersion - The version number of the pipeline to be connected to the trigger request. This parameter is required.
Required: Yes
Type: Integer
Update requires: No interruption
this@Stability(value=Stable) public CfnWebhookProps.Builder name(String name)
CfnWebhookProps.getName()name - The name of the webhook.this@Stability(value=Stable) public CfnWebhookProps.Builder registerWithThirdParty(Boolean registerWithThirdParty)
CfnWebhookProps.getRegisterWithThirdParty()registerWithThirdParty - Configures a connection between the webhook that was created and the external tool with events to be detected.this@Stability(value=Stable) public CfnWebhookProps.Builder registerWithThirdParty(IResolvable registerWithThirdParty)
CfnWebhookProps.getRegisterWithThirdParty()registerWithThirdParty - Configures a connection between the webhook that was created and the external tool with events to be detected.this@Stability(value=Stable) public CfnWebhookProps build()
build in interface software.amazon.jsii.Builder<CfnWebhookProps>CfnWebhookPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.