Interface CfnCampaign.CampaignHookProperty
- All Superinterfaces:
 software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
 CfnCampaign.CampaignHookProperty.Jsii$Proxy
- Enclosing class:
 - CfnCampaign
 
@Stability(Stable)
public static interface CfnCampaign.CampaignHookProperty
extends software.amazon.jsii.JsiiSerializable
Specifies settings for invoking an Lambda function that customizes a segment for a campaign.
 
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.pinpoint.*;
 CampaignHookProperty campaignHookProperty = CampaignHookProperty.builder()
         .lambdaFunctionName("lambdaFunctionName")
         .mode("mode")
         .webUrl("webUrl")
         .build();
 - 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCampaign.CampaignHookPropertystatic final classAn implementation forCfnCampaign.CampaignHookProperty - 
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name or Amazon Resource Name (ARN) of the Lambda function that Amazon Pinpoint invokes to customize a segment for a campaign.default StringgetMode()The mode that Amazon Pinpoint uses to invoke the Lambda function.default StringThe web URL that Amazon Pinpoint calls to invoke the Lambda function over HTTPS.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson 
- 
Method Details
- 
getLambdaFunctionName
The name or Amazon Resource Name (ARN) of the Lambda function that Amazon Pinpoint invokes to customize a segment for a campaign. - 
getMode
The mode that Amazon Pinpoint uses to invoke the Lambda function. Possible values are:.FILTER- Invoke the function to customize the segment that's used by a campaign.DELIVERY- (Deprecated) Previously, invoked the function to send a campaign through a custom channel. This functionality is not supported anymore. To send a campaign through a custom channel, use theCustomDeliveryConfigurationandCampaignCustomMessageobjects of the campaign.
 - 
getWebUrl
The web URL that Amazon Pinpoint calls to invoke the Lambda function over HTTPS. - 
builder
 
 -