CfnCampaignMixinProps

class aws_cdk.mixins_preview.aws_connectcampaignsv2.mixins.CfnCampaignMixinProps(*, channel_subtype_config=None, communication_limits_override=None, communication_time_config=None, connect_campaign_flow_arn=None, connect_instance_id=None, name=None, schedule=None, source=None, tags=None)

Bases: object

Properties for CfnCampaignPropsMixin.

Parameters:
  • channel_subtype_config (Union[IResolvable, ChannelSubtypeConfigProperty, Dict[str, Any], None]) – Contains channel subtype configuration for an outbound campaign.

  • communication_limits_override (Union[IResolvable, CommunicationLimitsConfigProperty, Dict[str, Any], None]) – Communication limits configuration for an outbound campaign.

  • communication_time_config (Union[IResolvable, CommunicationTimeConfigProperty, Dict[str, Any], None]) – Contains communication time configuration for an outbound campaign.

  • connect_campaign_flow_arn (Optional[str]) – The Amazon Resource Name (ARN) of the Amazon Connect campaign flow associated with the outbound campaign.

  • connect_instance_id (Optional[str]) – The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

  • name (Optional[str]) – The name of the outbound campaign.

  • schedule (Union[IResolvable, ScheduleProperty, Dict[str, Any], None]) – Contains the schedule configuration.

  • source (Union[IResolvable, SourceProperty, Dict[str, Any], None]) – Contains source configuration.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} } .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connectcampaignsv2-campaign.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_connectcampaignsv2 import mixins as connectcampaignsv2_mixins

# agentless_config: Any

cfn_campaign_mixin_props = connectcampaignsv2_mixins.CfnCampaignMixinProps(
    channel_subtype_config=connectcampaignsv2_mixins.CfnCampaignPropsMixin.ChannelSubtypeConfigProperty(
        email=connectcampaignsv2_mixins.CfnCampaignPropsMixin.EmailChannelSubtypeConfigProperty(
            capacity=123,
            default_outbound_config=connectcampaignsv2_mixins.CfnCampaignPropsMixin.EmailOutboundConfigProperty(
                connect_source_email_address="connectSourceEmailAddress",
                source_email_address_display_name="sourceEmailAddressDisplayName",
                wisdom_template_arn="wisdomTemplateArn"
            ),
            outbound_mode=connectcampaignsv2_mixins.CfnCampaignPropsMixin.EmailOutboundModeProperty(
                agentless_config=agentless_config
            )
        ),
        sms=connectcampaignsv2_mixins.CfnCampaignPropsMixin.SmsChannelSubtypeConfigProperty(
            capacity=123,
            default_outbound_config=connectcampaignsv2_mixins.CfnCampaignPropsMixin.SmsOutboundConfigProperty(
                connect_source_phone_number_arn="connectSourcePhoneNumberArn",
                wisdom_template_arn="wisdomTemplateArn"
            ),
            outbound_mode=connectcampaignsv2_mixins.CfnCampaignPropsMixin.SmsOutboundModeProperty(
                agentless_config=agentless_config
            )
        ),
        telephony=connectcampaignsv2_mixins.CfnCampaignPropsMixin.TelephonyChannelSubtypeConfigProperty(
            capacity=123,
            connect_queue_id="connectQueueId",
            default_outbound_config=connectcampaignsv2_mixins.CfnCampaignPropsMixin.TelephonyOutboundConfigProperty(
                answer_machine_detection_config=connectcampaignsv2_mixins.CfnCampaignPropsMixin.AnswerMachineDetectionConfigProperty(
                    await_answer_machine_prompt=False,
                    enable_answer_machine_detection=False
                ),
                connect_contact_flow_id="connectContactFlowId",
                connect_source_phone_number="connectSourcePhoneNumber",
                ring_timeout=123
            ),
            outbound_mode=connectcampaignsv2_mixins.CfnCampaignPropsMixin.TelephonyOutboundModeProperty(
                agentless_config=agentless_config,
                predictive_config=connectcampaignsv2_mixins.CfnCampaignPropsMixin.PredictiveConfigProperty(
                    bandwidth_allocation=123
                ),
                preview_config=connectcampaignsv2_mixins.CfnCampaignPropsMixin.PreviewConfigProperty(
                    agent_actions=["agentActions"],
                    bandwidth_allocation=123,
                    timeout_config=connectcampaignsv2_mixins.CfnCampaignPropsMixin.TimeoutConfigProperty(
                        duration_in_seconds=123
                    )
                ),
                progressive_config=connectcampaignsv2_mixins.CfnCampaignPropsMixin.ProgressiveConfigProperty(
                    bandwidth_allocation=123
                )
            )
        )
    ),
    communication_limits_override=connectcampaignsv2_mixins.CfnCampaignPropsMixin.CommunicationLimitsConfigProperty(
        all_channels_subtypes=connectcampaignsv2_mixins.CfnCampaignPropsMixin.CommunicationLimitsProperty(
            communication_limit_list=[connectcampaignsv2_mixins.CfnCampaignPropsMixin.CommunicationLimitProperty(
                frequency=123,
                max_count_per_recipient=123,
                unit="unit"
            )]
        ),
        instance_limits_handling="instanceLimitsHandling"
    ),
    communication_time_config=connectcampaignsv2_mixins.CfnCampaignPropsMixin.CommunicationTimeConfigProperty(
        email=connectcampaignsv2_mixins.CfnCampaignPropsMixin.TimeWindowProperty(
            open_hours=connectcampaignsv2_mixins.CfnCampaignPropsMixin.OpenHoursProperty(
                daily_hours=[connectcampaignsv2_mixins.CfnCampaignPropsMixin.DailyHourProperty(
                    key="key",
                    value=[connectcampaignsv2_mixins.CfnCampaignPropsMixin.TimeRangeProperty(
                        end_time="endTime",
                        start_time="startTime"
                    )]
                )]
            ),
            restricted_periods=connectcampaignsv2_mixins.CfnCampaignPropsMixin.RestrictedPeriodsProperty(
                restricted_period_list=[connectcampaignsv2_mixins.CfnCampaignPropsMixin.RestrictedPeriodProperty(
                    end_date="endDate",
                    name="name",
                    start_date="startDate"
                )]
            )
        ),
        local_time_zone_config=connectcampaignsv2_mixins.CfnCampaignPropsMixin.LocalTimeZoneConfigProperty(
            default_time_zone="defaultTimeZone",
            local_time_zone_detection=["localTimeZoneDetection"]
        ),
        sms=connectcampaignsv2_mixins.CfnCampaignPropsMixin.TimeWindowProperty(
            open_hours=connectcampaignsv2_mixins.CfnCampaignPropsMixin.OpenHoursProperty(
                daily_hours=[connectcampaignsv2_mixins.CfnCampaignPropsMixin.DailyHourProperty(
                    key="key",
                    value=[connectcampaignsv2_mixins.CfnCampaignPropsMixin.TimeRangeProperty(
                        end_time="endTime",
                        start_time="startTime"
                    )]
                )]
            ),
            restricted_periods=connectcampaignsv2_mixins.CfnCampaignPropsMixin.RestrictedPeriodsProperty(
                restricted_period_list=[connectcampaignsv2_mixins.CfnCampaignPropsMixin.RestrictedPeriodProperty(
                    end_date="endDate",
                    name="name",
                    start_date="startDate"
                )]
            )
        ),
        telephony=connectcampaignsv2_mixins.CfnCampaignPropsMixin.TimeWindowProperty(
            open_hours=connectcampaignsv2_mixins.CfnCampaignPropsMixin.OpenHoursProperty(
                daily_hours=[connectcampaignsv2_mixins.CfnCampaignPropsMixin.DailyHourProperty(
                    key="key",
                    value=[connectcampaignsv2_mixins.CfnCampaignPropsMixin.TimeRangeProperty(
                        end_time="endTime",
                        start_time="startTime"
                    )]
                )]
            ),
            restricted_periods=connectcampaignsv2_mixins.CfnCampaignPropsMixin.RestrictedPeriodsProperty(
                restricted_period_list=[connectcampaignsv2_mixins.CfnCampaignPropsMixin.RestrictedPeriodProperty(
                    end_date="endDate",
                    name="name",
                    start_date="startDate"
                )]
            )
        )
    ),
    connect_campaign_flow_arn="connectCampaignFlowArn",
    connect_instance_id="connectInstanceId",
    name="name",
    schedule=connectcampaignsv2_mixins.CfnCampaignPropsMixin.ScheduleProperty(
        end_time="endTime",
        refresh_frequency="refreshFrequency",
        start_time="startTime"
    ),
    source=connectcampaignsv2_mixins.CfnCampaignPropsMixin.SourceProperty(
        customer_profiles_segment_arn="customerProfilesSegmentArn",
        event_trigger=connectcampaignsv2_mixins.CfnCampaignPropsMixin.EventTriggerProperty(
            customer_profiles_domain_arn="customerProfilesDomainArn"
        )
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

channel_subtype_config

Contains channel subtype configuration for an outbound campaign.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connectcampaignsv2-campaign.html#cfn-connectcampaignsv2-campaign-channelsubtypeconfig

communication_limits_override

Communication limits configuration for an outbound campaign.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connectcampaignsv2-campaign.html#cfn-connectcampaignsv2-campaign-communicationlimitsoverride

communication_time_config

Contains communication time configuration for an outbound campaign.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connectcampaignsv2-campaign.html#cfn-connectcampaignsv2-campaign-communicationtimeconfig

connect_campaign_flow_arn

The Amazon Resource Name (ARN) of the Amazon Connect campaign flow associated with the outbound campaign.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connectcampaignsv2-campaign.html#cfn-connectcampaignsv2-campaign-connectcampaignflowarn

connect_instance_id

The identifier of the Amazon Connect instance.

You can find the instanceId in the ARN of the instance.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connectcampaignsv2-campaign.html#cfn-connectcampaignsv2-campaign-connectinstanceid

name

The name of the outbound campaign.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connectcampaignsv2-campaign.html#cfn-connectcampaignsv2-campaign-name

schedule

Contains the schedule configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connectcampaignsv2-campaign.html#cfn-connectcampaignsv2-campaign-schedule

source

Contains source configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connectcampaignsv2-campaign.html#cfn-connectcampaignsv2-campaign-source

tags

The tags used to organize, track, or control access for this resource.

For example, { "tags": {"key1":"value1", "key2":"value2"} } .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connectcampaignsv2-campaign.html#cfn-connectcampaignsv2-campaign-tags