Interface CfnCampaignProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCampaignProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:35.777Z")
@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())
.instanceLimitsHandling("instanceLimitsHandling")
.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")
.eventTrigger(EventTriggerProperty.builder()
.customerProfilesDomainArn("customerProfilesDomainArn")
.build())
.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()Contains channel subtype configuration for an outbound campaign.default ObjectCommunication limits configuration for an outbound campaign.default ObjectContains communication time configuration for an outbound campaign.default StringThe Amazon Resource Name (ARN) of the Amazon Connect campaign flow associated with the outbound campaign.The identifier of the Amazon Connect instance.getName()The name of the outbound campaign.default ObjectContains the schedule configuration.default ObjectContains source configuration.getTags()The tags used to organize, track, or control access for this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getChannelSubtypeConfig
Contains channel subtype configuration for an outbound campaign.Returns union: either
IResolvableorCfnCampaign.ChannelSubtypeConfigProperty- See Also:
-
getConnectInstanceId
The identifier of the Amazon Connect instance.You can find the
instanceIdin the ARN of the instance.- See Also:
-
getName
The name of the outbound campaign.- See Also:
-
getCommunicationLimitsOverride
Communication limits configuration for an outbound campaign.Returns union: either
IResolvableorCfnCampaign.CommunicationLimitsConfigProperty- See Also:
-
getCommunicationTimeConfig
Contains communication time configuration for an outbound campaign.Returns union: either
IResolvableorCfnCampaign.CommunicationTimeConfigProperty- See Also:
-
getConnectCampaignFlowArn
The Amazon Resource Name (ARN) of the Amazon Connect campaign flow associated with the outbound campaign.- See Also:
-
getSchedule
Contains the schedule configuration.Returns union: either
IResolvableorCfnCampaign.ScheduleProperty- See Also:
-
getSource
Contains source configuration.Returns union: either
IResolvableorCfnCampaign.SourceProperty- See Also:
-
getTags
The tags used to organize, track, or control access for this resource.For example,
{ "tags": {"key1":"value1", "key2":"value2"} }.- See Also:
-
builder
- Returns:
- a
CfnCampaignProps.BuilderofCfnCampaignProps
-