hook
construct an aws.sdk.kotlin.services.pinpoint.model.CampaignHook inside the given block
The settings for the AWS Lambda function to invoke as a code hook for the campaign. You can use this hook to customize the segment that's used by the campaign.