Interface CfnCampaignProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCampaignProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:05.901Z")
@Stability(Stable)
public interface CfnCampaignProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnCampaign.
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.connectcampaignsv2.*;
Object agentlessConfig;
CfnCampaignProps cfnCampaignProps = CfnCampaignProps.builder()
.channelSubtypeConfig(ChannelSubtypeConfigProperty.builder()
.email(EmailChannelSubtypeConfigProperty.builder()
.defaultOutboundConfig(EmailOutboundConfigProperty.builder()
.connectSourceEmailAddress("connectSourceEmailAddress")
.wisdomTemplateArn("wisdomTemplateArn")
// the properties below are optional
.sourceEmailAddressDisplayName("sourceEmailAddressDisplayName")
.build())
.outboundMode(EmailOutboundModeProperty.builder()
.agentlessConfig(agentlessConfig)
.build())
// the properties below are optional
.capacity(123)
.build())
.sms(SmsChannelSubtypeConfigProperty.builder()
.defaultOutboundConfig(SmsOutboundConfigProperty.builder()
.connectSourcePhoneNumberArn("connectSourcePhoneNumberArn")
.wisdomTemplateArn("wisdomTemplateArn")
.build())
.outboundMode(SmsOutboundModeProperty.builder()
.agentlessConfig(agentlessConfig)
.build())
// the properties below are optional
.capacity(123)
.build())
.telephony(TelephonyChannelSubtypeConfigProperty.builder()
.defaultOutboundConfig(TelephonyOutboundConfigProperty.builder()
.connectContactFlowId("connectContactFlowId")
// the properties below are optional
.answerMachineDetectionConfig(AnswerMachineDetectionConfigProperty.builder()
.enableAnswerMachineDetection(false)
// the properties below are optional
.awaitAnswerMachinePrompt(false)
.build())
.connectSourcePhoneNumber("connectSourcePhoneNumber")
.build())
.outboundMode(TelephonyOutboundModeProperty.builder()
.agentlessConfig(agentlessConfig)
.predictiveConfig(PredictiveConfigProperty.builder()
.bandwidthAllocation(123)
.build())
.progressiveConfig(ProgressiveConfigProperty.builder()
.bandwidthAllocation(123)
.build())
.build())
// the properties below are optional
.capacity(123)
.connectQueueId("connectQueueId")
.build())
.build())
.connectInstanceId("connectInstanceId")
.name("name")
// the properties below are optional
.communicationLimitsOverride(CommunicationLimitsConfigProperty.builder()
.allChannelsSubtypes(CommunicationLimitsProperty.builder()
.communicationLimitList(List.of(CommunicationLimitProperty.builder()
.frequency(123)
.maxCountPerRecipient(123)
.unit("unit")
.build()))
.build())
.build())
.communicationTimeConfig(CommunicationTimeConfigProperty.builder()
.localTimeZoneConfig(LocalTimeZoneConfigProperty.builder()
.defaultTimeZone("defaultTimeZone")
.localTimeZoneDetection(List.of("localTimeZoneDetection"))
.build())
// the properties below are optional
.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())
// the properties below are optional
.restrictedPeriods(RestrictedPeriodsProperty.builder()
.restrictedPeriodList(List.of(RestrictedPeriodProperty.builder()
.endDate("endDate")
.startDate("startDate")
// the properties below are optional
.name("name")
.build()))
.build())
.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())
// the properties below are optional
.restrictedPeriods(RestrictedPeriodsProperty.builder()
.restrictedPeriodList(List.of(RestrictedPeriodProperty.builder()
.endDate("endDate")
.startDate("startDate")
// the properties below are optional
.name("name")
.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())
// the properties below are optional
.restrictedPeriods(RestrictedPeriodsProperty.builder()
.restrictedPeriodList(List.of(RestrictedPeriodProperty.builder()
.endDate("endDate")
.startDate("startDate")
// the properties below are optional
.name("name")
.build()))
.build())
.build())
.build())
.connectCampaignFlowArn("connectCampaignFlowArn")
.schedule(ScheduleProperty.builder()
.endTime("endTime")
.startTime("startTime")
// the properties below are optional
.refreshFrequency("refreshFrequency")
.build())
.source(SourceProperty.builder()
.customerProfilesSegmentArn("customerProfilesSegmentArn")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCampaignPropsstatic final classAn implementation forCfnCampaignProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnCampaignProps.Builderbuilder()The possible types of channel subtype config parameters.default ObjectCommunication limits config.default ObjectCampaign communication time config.default StringArn.Amazon Connect Instance Id.getName()Campaign name.default ObjectCampaign schedule.default ObjectThe possible types of channel config parameters.getTags()One or more tags.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getChannelSubtypeConfig
The possible types of channel subtype config parameters.- See Also:
-
getConnectInstanceId
Amazon Connect Instance Id.- See Also:
-
getName
Campaign name.- See Also:
-
getCommunicationLimitsOverride
Communication limits config.- See Also:
-
getCommunicationTimeConfig
Campaign communication time config.- See Also:
-
getConnectCampaignFlowArn
Arn.- See Also:
-
getSchedule
Campaign schedule.- See Also:
-
getSource
The possible types of channel config parameters.- See Also:
-
getTags
One or more tags.- See Also:
-
builder
- Returns:
- a
CfnCampaignProps.BuilderofCfnCampaignProps
-