Class CfnCampaign
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.connectcampaignsv2.CfnCampaign
- All Implemented Interfaces:
IInspectable,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-21T06:34:05.889Z")
@Stability(Stable)
public class CfnCampaign
extends CfnResource
implements IInspectable, ITaggableV2
Definition of AWS::ConnectCampaignsV2::Campaign Resource Type.
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;
CfnCampaign cfnCampaign = CfnCampaign.Builder.create(this, "MyCfnCampaign")
.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 TypeClassDescriptionstatic interfaceThe configuration used for answering machine detection during outbound calls.static final classA fluent builder forCfnCampaign.static interfaceThe possible types of channel subtype config parameters.static interfaceCommunication Limit.static interfaceCommunication limits config.static interfaceCommunication limits.static interfaceCampaign communication time config.static interfaceDaily Hour.static interfaceEmail Channel Subtype config.static interfaceDefault SMS outbound config.static interfaceEmail Outbound Mode.static interfaceLocal time zone config.static interfaceOpen Hours config.static interfacePredictive config.static interfaceProgressive config.static interfaceRestricted period.static interfaceRestricted period config.static interfaceCampaign schedule.static interfaceSMS Channel Subtype config.static interfaceDefault SMS outbound config.static interfaceSMS Outbound Mode.static interfaceThe possible types of channel config parameters.static interfaceTelephony Channel Subtype config.static interfaceDefault Telephone Outbound config.static interfaceTelephony Outbound Mode.static interfaceTime range in 24 hour format.static interfaceTime window config.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnCampaign(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCampaign(software.amazon.jsii.JsiiObjectRef objRef) CfnCampaign(software.constructs.Construct scope, String id, CfnCampaignProps props) -
Method Summary
Modifier and TypeMethodDescriptionAmazon Connect Campaign Arn.Tag Manager which manages the tags for this resource.The possible types of channel subtype config parameters.Communication limits config.Campaign communication time config.Arn.Amazon Connect Instance Id.getName()Campaign name.Campaign schedule.The possible types of channel config parameters.getTags()One or more tags.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidThe possible types of channel subtype config parameters.voidThe possible types of channel subtype config parameters.voidCommunication limits config.voidCommunication limits config.voidCampaign communication time config.voidCampaign communication time config.voidsetConnectCampaignFlowArn(String value) Arn.voidsetConnectInstanceId(String value) Amazon Connect Instance Id.voidCampaign name.voidsetSchedule(IResolvable value) Campaign schedule.voidCampaign schedule.voidsetSource(IResolvable value) The possible types of channel config parameters.voidThe possible types of channel config parameters.voidOne or more tags.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods 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, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnCampaign
protected CfnCampaign(software.amazon.jsii.JsiiObjectRef objRef) -
CfnCampaign
protected CfnCampaign(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnCampaign
@Stability(Stable) public CfnCampaign(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCampaignProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
Amazon Connect Campaign Arn. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getChannelSubtypeConfig
The possible types of channel subtype config parameters. -
setChannelSubtypeConfig
The possible types of channel subtype config parameters. -
setChannelSubtypeConfig
@Stability(Stable) public void setChannelSubtypeConfig(@NotNull CfnCampaign.ChannelSubtypeConfigProperty value) The possible types of channel subtype config parameters. -
getConnectInstanceId
Amazon Connect Instance Id. -
setConnectInstanceId
Amazon Connect Instance Id. -
getName
Campaign name. -
setName
Campaign name. -
getCommunicationLimitsOverride
Communication limits config. -
setCommunicationLimitsOverride
Communication limits config. -
setCommunicationLimitsOverride
@Stability(Stable) public void setCommunicationLimitsOverride(@Nullable CfnCampaign.CommunicationLimitsConfigProperty value) Communication limits config. -
getCommunicationTimeConfig
Campaign communication time config. -
setCommunicationTimeConfig
Campaign communication time config. -
setCommunicationTimeConfig
@Stability(Stable) public void setCommunicationTimeConfig(@Nullable CfnCampaign.CommunicationTimeConfigProperty value) Campaign communication time config. -
getConnectCampaignFlowArn
Arn. -
setConnectCampaignFlowArn
Arn. -
getSchedule
Campaign schedule. -
setSchedule
Campaign schedule. -
setSchedule
Campaign schedule. -
getSource
The possible types of channel config parameters. -
setSource
The possible types of channel config parameters. -
setSource
The possible types of channel config parameters. -
getTags
One or more tags. -
setTags
One or more tags.
-