Class CfnWebhookMixinProps.Jsii$Proxy
- All Implemented Interfaces:
CfnWebhookMixinProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnWebhookMixinProps
CfnWebhookMixinProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cfnpropertymixins.services.codepipeline.CfnWebhookMixinProps
CfnWebhookMixinProps.Builder, CfnWebhookMixinProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnWebhookMixinProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnWebhookMixinProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringSupported options are GITHUB_HMAC, IP, and UNAUTHENTICATED.final ObjectProperties that configure the authentication applied to incoming webhook trigger requests.final ObjectA list of rules applied to the body/payload sent in the POST request to a webhook URL.final StringgetName()The name of the webhook.final ObjectConfigures a connection between the webhook that was created and the external tool with events to be detected.final StringThe name of the action in a pipeline you want to connect to the webhook.final StringThe name of the pipeline you want to connect to the webhook.final NumberThe version number of the pipeline to be connected to the trigger request.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnWebhookMixinProps.Builder.
-
-
Method Details
-
getAuthentication
Description copied from interface:CfnWebhookMixinPropsSupported options are GITHUB_HMAC, IP, and UNAUTHENTICATED.When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities. > If a secret token was provided, it will be redacted in the response.
- For information about the authentication scheme implemented by GITHUB_HMAC, see Securing your webhooks on the GitHub Developer website.
- IP rejects webhooks trigger requests unless they originate from an IP address in the IP range whitelisted in the authentication configuration.
- UNAUTHENTICATED accepts all webhook trigger requests regardless of origin.
- Specified by:
getAuthenticationin interfaceCfnWebhookMixinProps- See Also:
-
getAuthenticationConfiguration
Description copied from interface:CfnWebhookMixinPropsProperties that configure the authentication applied to incoming webhook trigger requests.The required properties depend on the authentication type. For GITHUB_HMAC, only the
SecretTokenproperty must be set. For IP, only theAllowedIPRangeproperty must be set to a valid CIDR range. For UNAUTHENTICATED, no properties can be set.Returns union: either
IResolvableorCfnWebhookPropsMixin.WebhookAuthConfigurationProperty- Specified by:
getAuthenticationConfigurationin interfaceCfnWebhookMixinProps- See Also:
-
getFilters
Description copied from interface:CfnWebhookMixinPropsA list of rules applied to the body/payload sent in the POST request to a webhook URL.All defined rules must pass for the request to be accepted and the pipeline started.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnWebhookPropsMixin.WebhookFilterRuleProperty>- Specified by:
getFiltersin interfaceCfnWebhookMixinProps- See Also:
-
getName
Description copied from interface:CfnWebhookMixinPropsThe name of the webhook.- Specified by:
getNamein interfaceCfnWebhookMixinProps- See Also:
-
getRegisterWithThirdParty
Description copied from interface:CfnWebhookMixinPropsConfigures a connection between the webhook that was created and the external tool with events to be detected.Returns union: either
BooleanorIResolvable- Specified by:
getRegisterWithThirdPartyin interfaceCfnWebhookMixinProps- See Also:
-
getTargetAction
Description copied from interface:CfnWebhookMixinPropsThe name of the action in a pipeline you want to connect to the webhook.The action must be from the source (first) stage of the pipeline.
- Specified by:
getTargetActionin interfaceCfnWebhookMixinProps- See Also:
-
getTargetPipeline
Description copied from interface:CfnWebhookMixinPropsThe name of the pipeline you want to connect to the webhook.- Specified by:
getTargetPipelinein interfaceCfnWebhookMixinProps- See Also:
-
getTargetPipelineVersion
Description copied from interface:CfnWebhookMixinPropsThe version number of the pipeline to be connected to the trigger request.Required: Yes
Type: Integer
Update requires: No interruption
- Specified by:
getTargetPipelineVersionin interfaceCfnWebhookMixinProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-