Class CfnCampaignPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.connectcampaignsv2.CfnCampaignPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-14T18:32:10.638Z")
@Stability(Stable)
public class CfnCampaignPropsMixin
extends Mixin
implements software.constructs.IMixin
Creates an outbound campaign.
- For users to be able to view or edit a campaign at a later date by using the Amazon Connect user interface, you must add the instance ID as a tag. For example,
{ "tags": {"owner": "arn:aws:connect:{REGION}:{AWS_ACCOUNT_ID}:instance/{CONNECT_INSTANCE_ID}"}}.- After a campaign is created, you can't add/remove source.
- Configuring maximum ring time is not supported for the Preview dial mode.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.connectcampaignsv2.*;
import software.amazon.awscdk.*;
Object agentlessConfig;
IMergeStrategy mergeStrategy;
CfnCampaignPropsMixin cfnCampaignPropsMixin = CfnCampaignPropsMixin.Builder.create(CfnCampaignMixinProps.builder()
.channelSubtypeConfig(ChannelSubtypeConfigProperty.builder()
.email(EmailChannelSubtypeConfigProperty.builder()
.capacity(123)
.defaultOutboundConfig(EmailOutboundConfigProperty.builder()
.connectSourceEmailAddress("connectSourceEmailAddress")
.sourceEmailAddressDisplayName("sourceEmailAddressDisplayName")
.wisdomTemplateArn("wisdomTemplateArn")
.build())
.outboundMode(EmailOutboundModeProperty.builder()
.agentlessConfig(agentlessConfig)
.build())
.build())
.sms(SmsChannelSubtypeConfigProperty.builder()
.capacity(123)
.defaultOutboundConfig(SmsOutboundConfigProperty.builder()
.connectSourcePhoneNumberArn("connectSourcePhoneNumberArn")
.wisdomTemplateArn("wisdomTemplateArn")
.build())
.outboundMode(SmsOutboundModeProperty.builder()
.agentlessConfig(agentlessConfig)
.build())
.build())
.telephony(TelephonyChannelSubtypeConfigProperty.builder()
.capacity(123)
.connectQueueId("connectQueueId")
.defaultOutboundConfig(TelephonyOutboundConfigProperty.builder()
.answerMachineDetectionConfig(AnswerMachineDetectionConfigProperty.builder()
.awaitAnswerMachinePrompt(false)
.enableAnswerMachineDetection(false)
.build())
.connectContactFlowId("connectContactFlowId")
.connectSourcePhoneNumber("connectSourcePhoneNumber")
.ringTimeout(123)
.build())
.outboundMode(TelephonyOutboundModeProperty.builder()
.agentlessConfig(agentlessConfig)
.predictiveConfig(PredictiveConfigProperty.builder()
.bandwidthAllocation(123)
.build())
.previewConfig(PreviewConfigProperty.builder()
.agentActions(List.of("agentActions"))
.bandwidthAllocation(123)
.timeoutConfig(TimeoutConfigProperty.builder()
.durationInSeconds(123)
.build())
.build())
.progressiveConfig(ProgressiveConfigProperty.builder()
.bandwidthAllocation(123)
.build())
.build())
.build())
.whatsApp(WhatsAppChannelSubtypeConfigProperty.builder()
.capacity(123)
.defaultOutboundConfig(WhatsAppOutboundConfigProperty.builder()
.connectSourcePhoneNumberArn("connectSourcePhoneNumberArn")
.wisdomTemplateArn("wisdomTemplateArn")
.build())
.outboundMode(WhatsAppOutboundModeProperty.builder()
.agentlessConfig(agentlessConfig)
.build())
.build())
.build())
.communicationLimitsOverride(CommunicationLimitsConfigProperty.builder()
.allChannelsSubtypes(CommunicationLimitsProperty.builder()
.communicationLimitList(List.of(CommunicationLimitProperty.builder()
.frequency(123)
.maxCountPerRecipient(123)
.unit("unit")
.build()))
.build())
.instanceLimitsHandling("instanceLimitsHandling")
.build())
.communicationTimeConfig(CommunicationTimeConfigProperty.builder()
.email(TimeWindowProperty.builder()
.openHours(OpenHoursProperty.builder()
.dailyHours(List.of(DailyHourProperty.builder()
.key("key")
.value(List.of(TimeRangeProperty.builder()
.endTime("endTime")
.startTime("startTime")
.build()))
.build()))
.build())
.restrictedPeriods(RestrictedPeriodsProperty.builder()
.restrictedPeriodList(List.of(RestrictedPeriodProperty.builder()
.endDate("endDate")
.name("name")
.startDate("startDate")
.build()))
.build())
.build())
.localTimeZoneConfig(LocalTimeZoneConfigProperty.builder()
.defaultTimeZone("defaultTimeZone")
.localTimeZoneDetection(List.of("localTimeZoneDetection"))
.build())
.sms(TimeWindowProperty.builder()
.openHours(OpenHoursProperty.builder()
.dailyHours(List.of(DailyHourProperty.builder()
.key("key")
.value(List.of(TimeRangeProperty.builder()
.endTime("endTime")
.startTime("startTime")
.build()))
.build()))
.build())
.restrictedPeriods(RestrictedPeriodsProperty.builder()
.restrictedPeriodList(List.of(RestrictedPeriodProperty.builder()
.endDate("endDate")
.name("name")
.startDate("startDate")
.build()))
.build())
.build())
.telephony(TimeWindowProperty.builder()
.openHours(OpenHoursProperty.builder()
.dailyHours(List.of(DailyHourProperty.builder()
.key("key")
.value(List.of(TimeRangeProperty.builder()
.endTime("endTime")
.startTime("startTime")
.build()))
.build()))
.build())
.restrictedPeriods(RestrictedPeriodsProperty.builder()
.restrictedPeriodList(List.of(RestrictedPeriodProperty.builder()
.endDate("endDate")
.name("name")
.startDate("startDate")
.build()))
.build())
.build())
.whatsApp(TimeWindowProperty.builder()
.openHours(OpenHoursProperty.builder()
.dailyHours(List.of(DailyHourProperty.builder()
.key("key")
.value(List.of(TimeRangeProperty.builder()
.endTime("endTime")
.startTime("startTime")
.build()))
.build()))
.build())
.restrictedPeriods(RestrictedPeriodsProperty.builder()
.restrictedPeriodList(List.of(RestrictedPeriodProperty.builder()
.endDate("endDate")
.name("name")
.startDate("startDate")
.build()))
.build())
.build())
.build())
.connectCampaignFlowArn("connectCampaignFlowArn")
.connectInstanceId("connectInstanceId")
.entryLimitsConfig(EntryLimitsConfigProperty.builder()
.maxEntryCount(123)
.minEntryInterval("minEntryInterval")
.build())
.name("name")
.schedule(ScheduleProperty.builder()
.endTime("endTime")
.refreshFrequency("refreshFrequency")
.startTime("startTime")
.build())
.source(SourceProperty.builder()
.customerProfilesSegmentArn("customerProfilesSegmentArn")
.eventTrigger(EventTriggerProperty.builder()
.customerProfilesDomainArn("customerProfilesDomainArn")
.build())
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.type("type")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceContains answering machine detection configuration.static final classA fluent builder forCfnCampaignPropsMixin.static interfaceContains channel subtype configuration for an outbound campaign.static interfaceContains information about a communication limit.static interfaceContains the communication limits configuration for an outbound campaign.static interfaceContains information about communication limits.static interfaceCommunication time configuration for an outbound campaign.static interfaceThe daily hours configuration.static interfaceThe configuration for the email channel subtype.static interfaceThe outbound configuration for email.static interfaceContains information about email outbound mode.static interfaceEntry limits config for a campaign.static interfaceThe event trigger of the campaign.static interfaceThe configuration of timezone for recipient.static interfaceContains information about open hours.static interfaceContains predictive outbound mode configuration.static interfaceContains preview outbound mode configuration.static interfaceContains the progressive outbound mode configuration.static interfaceContains information about a restricted period.static interfaceContains information about restricted periods.static interfaceContains the schedule configuration.static interfaceThe configuration for the SMS channel subtype.static interfaceThe outbound configuration for SMS.static interfaceContains information about the SMS outbound mode.static interfaceContains source configuration.static interfaceThe configuration for the telephony channel subtype.static interfaceThe outbound configuration for telephony.static interfaceContains information about telephony outbound mode.static interfaceContains preview outbound mode timeout configuration.static interfaceContains information about a time range.static interfaceContains information about a time window.static interfaceThe configuration for the WhatsApp channel subtype.static interfaceThe outbound configuration for WhatsApp.static interfaceContains information about the WhatsApp outbound mode.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::ConnectCampaignsV2::Campaign.CfnCampaignPropsMixin(CfnCampaignMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::ConnectCampaignsV2::Campaign.protectedCfnCampaignPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCampaignPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnCampaignMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnCampaignPropsMixin
protected CfnCampaignPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCampaignPropsMixin
protected CfnCampaignPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCampaignPropsMixin
@Stability(Stable) public CfnCampaignPropsMixin(@NotNull CfnCampaignMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::ConnectCampaignsV2::Campaign.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnCampaignPropsMixin
Create a mixin to apply properties toAWS::ConnectCampaignsV2::Campaign.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-