awsconnectcampaignsv2

package
v2.177.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

README

AWS::ConnectCampaignsV2 Construct Library

---

All classes with the Cfn prefix in this module (CFN Resources) are always stable and safe to use.


This module is part of the AWS Cloud Development Kit project.

import connectcampaigns "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::ConnectCampaignsV2.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CfnCampaign_CFN_RESOURCE_TYPE_NAME

func CfnCampaign_CFN_RESOURCE_TYPE_NAME() *string

func CfnCampaign_IsCfnElement

func CfnCampaign_IsCfnElement(x interface{}) *bool

Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.

Returns: The construct as a stack element or undefined if it is not a stack element.

func CfnCampaign_IsCfnResource

func CfnCampaign_IsCfnResource(x interface{}) *bool

Check whether the given object is a CfnResource.

func CfnCampaign_IsConstruct

func CfnCampaign_IsConstruct(x interface{}) *bool

Checks if `x` is a construct.

Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.

Returns: true if `x` is an object created from a class which extends `Construct`.

func NewCfnCampaign_Override

func NewCfnCampaign_Override(c CfnCampaign, scope constructs.Construct, id *string, props *CfnCampaignProps)

Types

type CfnCampaign

type CfnCampaign interface {
	awscdk.CfnResource
	awscdk.IInspectable
	awscdk.ITaggableV2
	// The Amazon Resource Name (ARN).
	AttrArn() *string
	// Tag Manager which manages the tags for this resource.
	CdkTagManager() awscdk.TagManager
	// Options for this resource, such as condition, update policy etc.
	CfnOptions() awscdk.ICfnResourceOptions
	CfnProperties() *map[string]interface{}
	// AWS resource type.
	CfnResourceType() *string
	// Contains channel subtype configuration for an outbound campaign.
	ChannelSubtypeConfig() interface{}
	SetChannelSubtypeConfig(val interface{})
	// Communication limits configuration for an outbound campaign.
	CommunicationLimitsOverride() interface{}
	SetCommunicationLimitsOverride(val interface{})
	// Contains communication time configuration for an outbound campaign.
	CommunicationTimeConfig() interface{}
	SetCommunicationTimeConfig(val interface{})
	// The Amazon Resource Name (ARN) of the Amazon Connect campaign flow associated with the outbound campaign.
	ConnectCampaignFlowArn() *string
	SetConnectCampaignFlowArn(val *string)
	// The identifier of the Amazon Connect instance.
	ConnectInstanceId() *string
	SetConnectInstanceId(val *string)
	// Returns: the stack trace of the point where this Resource was created from, sourced
	// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
	// node +internal+ entries filtered.
	CreationStack() *[]*string
	// The logical ID for this CloudFormation stack element.
	//
	// The logical ID of the element
	// is calculated from the path of the resource node in the construct tree.
	//
	// To override this value, use `overrideLogicalId(newLogicalId)`.
	//
	// Returns: the logical ID as a stringified token. This value will only get
	// resolved during synthesis.
	LogicalId() *string
	// The name of the outbound campaign.
	Name() *string
	SetName(val *string)
	// The tree node.
	Node() constructs.Node
	// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
	//
	// If, by any chance, the intrinsic reference of a resource is not a string, you could
	// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
	Ref() *string
	// Contains the schedule configuration.
	Schedule() interface{}
	SetSchedule(val interface{})
	// Contains source configuration.
	Source() interface{}
	SetSource(val interface{})
	// The stack in which this element is defined.
	//
	// CfnElements must be defined within a stack scope (directly or indirectly).
	Stack() awscdk.Stack
	// The tags used to organize, track, or control access for this resource.
	Tags() *[]*awscdk.CfnTag
	SetTags(val *[]*awscdk.CfnTag)
	// Deprecated.
	// Deprecated: use `updatedProperties`
	//
	// Return properties modified after initiation
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperites() *map[string]interface{}
	// Return properties modified after initiation.
	//
	// Resources that expose mutable properties should override this function to
	// collect and return the properties object for this resource.
	UpdatedProperties() *map[string]interface{}
	// Syntactic sugar for `addOverride(path, undefined)`.
	AddDeletionOverride(path *string)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	//
	// This can be used for resources across stacks (or nested stack) boundaries
	// and the dependency will automatically be transferred to the relevant scope.
	AddDependency(target awscdk.CfnResource)
	// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
	// Deprecated: use addDependency.
	AddDependsOn(target awscdk.CfnResource)
	// Add a value to the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	AddMetadata(key *string, value interface{})
	// Adds an override to the synthesized CloudFormation resource.
	//
	// To add a
	// property override, either use `addPropertyOverride` or prefix `path` with
	// "Properties." (i.e. `Properties.TopicName`).
	//
	// If the override is nested, separate each nested level using a dot (.) in the path parameter.
	// If there is an array as part of the nesting, specify the index in the path.
	//
	// To include a literal `.` in the property name, prefix with a `\`. In most
	// programming languages you will need to write this as `"\\."` because the
	// `\` itself will need to be escaped.
	//
	// For example,
	// “`typescript
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
	// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
	// “`
	// would add the overrides
	// “`json
	// "Properties": {
	//   "GlobalSecondaryIndexes": [
	//     {
	//       "Projection": {
	//         "NonKeyAttributes": [ "myattribute" ]
	//         ...
	//       }
	//       ...
	//     },
	//     {
	//       "ProjectionType": "INCLUDE"
	//       ...
	//     },
	//   ]
	//   ...
	// }
	// “`
	//
	// The `value` argument to `addOverride` will not be processed or translated
	// in any way. Pass raw JSON values in here with the correct capitalization
	// for CloudFormation. If you pass CDK classes or structs, they will be
	// rendered with lowercased key names, and CloudFormation will reject the
	// template.
	AddOverride(path *string, value interface{})
	// Adds an override that deletes the value of a property from the resource definition.
	AddPropertyDeletionOverride(propertyPath *string)
	// Adds an override to a resource property.
	//
	// Syntactic sugar for `addOverride("Properties.<...>", value)`.
	AddPropertyOverride(propertyPath *string, value interface{})
	// Sets the deletion policy of the resource based on the removal policy specified.
	//
	// The Removal Policy controls what happens to this resource when it stops
	// being managed by CloudFormation, either because you've removed it from the
	// CDK application or because you've made a change that requires the resource
	// to be replaced.
	//
	// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
	// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
	// cases, a snapshot can be taken of the resource prior to deletion
	// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
	// can be found in the following link:.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
	//
	ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
	// Returns a token for an runtime attribute of this resource.
	//
	// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
	// in case there is no generated attribute.
	GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
	// Retrieve a value value from the CloudFormation Resource Metadata.
	// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
	//
	// Note that this is a different set of metadata from CDK node metadata; this
	// metadata ends up in the stack template under the resource, whereas CDK
	// node metadata ends up in the Cloud Assembly.
	//
	GetMetadata(key *string) interface{}
	// Examines the CloudFormation resource and discloses attributes.
	Inspect(inspector awscdk.TreeInspector)
	// Retrieves an array of resources this resource depends on.
	//
	// This assembles dependencies on resources across stacks (including nested stacks)
	// automatically.
	ObtainDependencies() *[]interface{}
	// Get a shallow copy of dependencies between this resource and other resources in the same stack.
	ObtainResourceDependencies() *[]awscdk.CfnResource
	// Overrides the auto-generated logical ID with a specific ID.
	OverrideLogicalId(newLogicalId *string)
	// Indicates that this resource no longer depends on another resource.
	//
	// This can be used for resources across stacks (including nested stacks)
	// and the dependency will automatically be removed from the relevant scope.
	RemoveDependency(target awscdk.CfnResource)
	RenderProperties(props *map[string]interface{}) *map[string]interface{}
	// Replaces one dependency with another.
	ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
	// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
	//
	// Returns: `true` if the resource should be included or `false` is the resource
	// should be omitted.
	ShouldSynthesize() *bool
	// Returns a string representation of this construct.
	//
	// Returns: a string representation of this resource.
	ToString() *string
	ValidateProperties(_properties interface{})
}

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.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var agentlessConfig interface{}

cfnCampaign := awscdk.Aws_connectcampaignsv2.NewCfnCampaign(this, jsii.String("MyCfnCampaign"), &CfnCampaignProps{
	ChannelSubtypeConfig: &ChannelSubtypeConfigProperty{
		Email: &EmailChannelSubtypeConfigProperty{
			DefaultOutboundConfig: &EmailOutboundConfigProperty{
				ConnectSourceEmailAddress: jsii.String("connectSourceEmailAddress"),
				WisdomTemplateArn: jsii.String("wisdomTemplateArn"),

				// the properties below are optional
				SourceEmailAddressDisplayName: jsii.String("sourceEmailAddressDisplayName"),
			},
			OutboundMode: &EmailOutboundModeProperty{
				AgentlessConfig: agentlessConfig,
			},

			// the properties below are optional
			Capacity: jsii.Number(123),
		},
		Sms: &SmsChannelSubtypeConfigProperty{
			DefaultOutboundConfig: &SmsOutboundConfigProperty{
				ConnectSourcePhoneNumberArn: jsii.String("connectSourcePhoneNumberArn"),
				WisdomTemplateArn: jsii.String("wisdomTemplateArn"),
			},
			OutboundMode: &SmsOutboundModeProperty{
				AgentlessConfig: agentlessConfig,
			},

			// the properties below are optional
			Capacity: jsii.Number(123),
		},
		Telephony: &TelephonyChannelSubtypeConfigProperty{
			DefaultOutboundConfig: &TelephonyOutboundConfigProperty{
				ConnectContactFlowId: jsii.String("connectContactFlowId"),

				// the properties below are optional
				AnswerMachineDetectionConfig: &AnswerMachineDetectionConfigProperty{
					EnableAnswerMachineDetection: jsii.Boolean(false),

					// the properties below are optional
					AwaitAnswerMachinePrompt: jsii.Boolean(false),
				},
				ConnectSourcePhoneNumber: jsii.String("connectSourcePhoneNumber"),
			},
			OutboundMode: &TelephonyOutboundModeProperty{
				AgentlessConfig: agentlessConfig,
				PredictiveConfig: &PredictiveConfigProperty{
					BandwidthAllocation: jsii.Number(123),
				},
				ProgressiveConfig: &ProgressiveConfigProperty{
					BandwidthAllocation: jsii.Number(123),
				},
			},

			// the properties below are optional
			Capacity: jsii.Number(123),
			ConnectQueueId: jsii.String("connectQueueId"),
		},
	},
	ConnectInstanceId: jsii.String("connectInstanceId"),
	Name: jsii.String("name"),

	// the properties below are optional
	CommunicationLimitsOverride: &CommunicationLimitsConfigProperty{
		AllChannelsSubtypes: &CommunicationLimitsProperty{
			CommunicationLimitList: []interface{}{
				&CommunicationLimitProperty{
					Frequency: jsii.Number(123),
					MaxCountPerRecipient: jsii.Number(123),
					Unit: jsii.String("unit"),
				},
			},
		},
	},
	CommunicationTimeConfig: &CommunicationTimeConfigProperty{
		LocalTimeZoneConfig: &LocalTimeZoneConfigProperty{
			DefaultTimeZone: jsii.String("defaultTimeZone"),
			LocalTimeZoneDetection: []*string{
				jsii.String("localTimeZoneDetection"),
			},
		},

		// the properties below are optional
		Email: &TimeWindowProperty{
			OpenHours: &OpenHoursProperty{
				DailyHours: []interface{}{
					&DailyHourProperty{
						Key: jsii.String("key"),
						Value: []interface{}{
							&TimeRangeProperty{
								EndTime: jsii.String("endTime"),
								StartTime: jsii.String("startTime"),
							},
						},
					},
				},
			},

			// the properties below are optional
			RestrictedPeriods: &RestrictedPeriodsProperty{
				RestrictedPeriodList: []interface{}{
					&RestrictedPeriodProperty{
						EndDate: jsii.String("endDate"),
						StartDate: jsii.String("startDate"),

						// the properties below are optional
						Name: jsii.String("name"),
					},
				},
			},
		},
		Sms: &TimeWindowProperty{
			OpenHours: &OpenHoursProperty{
				DailyHours: []interface{}{
					&DailyHourProperty{
						Key: jsii.String("key"),
						Value: []interface{}{
							&TimeRangeProperty{
								EndTime: jsii.String("endTime"),
								StartTime: jsii.String("startTime"),
							},
						},
					},
				},
			},

			// the properties below are optional
			RestrictedPeriods: &RestrictedPeriodsProperty{
				RestrictedPeriodList: []interface{}{
					&RestrictedPeriodProperty{
						EndDate: jsii.String("endDate"),
						StartDate: jsii.String("startDate"),

						// the properties below are optional
						Name: jsii.String("name"),
					},
				},
			},
		},
		Telephony: &TimeWindowProperty{
			OpenHours: &OpenHoursProperty{
				DailyHours: []interface{}{
					&DailyHourProperty{
						Key: jsii.String("key"),
						Value: []interface{}{
							&TimeRangeProperty{
								EndTime: jsii.String("endTime"),
								StartTime: jsii.String("startTime"),
							},
						},
					},
				},
			},

			// the properties below are optional
			RestrictedPeriods: &RestrictedPeriodsProperty{
				RestrictedPeriodList: []interface{}{
					&RestrictedPeriodProperty{
						EndDate: jsii.String("endDate"),
						StartDate: jsii.String("startDate"),

						// the properties below are optional
						Name: jsii.String("name"),
					},
				},
			},
		},
	},
	ConnectCampaignFlowArn: jsii.String("connectCampaignFlowArn"),
	Schedule: &ScheduleProperty{
		EndTime: jsii.String("endTime"),
		StartTime: jsii.String("startTime"),

		// the properties below are optional
		RefreshFrequency: jsii.String("refreshFrequency"),
	},
	Source: &SourceProperty{
		CustomerProfilesSegmentArn: jsii.String("customerProfilesSegmentArn"),
		EventTrigger: &EventTriggerProperty{
			CustomerProfilesDomainArn: jsii.String("customerProfilesDomainArn"),
		},
	},
	Tags: []cfnTag{
		&cfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
})

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

func NewCfnCampaign

func NewCfnCampaign(scope constructs.Construct, id *string, props *CfnCampaignProps) CfnCampaign

type CfnCampaignProps

type CfnCampaignProps struct {
	// 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
	//
	ChannelSubtypeConfig interface{} `field:"required" json:"channelSubtypeConfig" yaml:"channelSubtypeConfig"`
	// 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
	//
	ConnectInstanceId *string `field:"required" json:"connectInstanceId" yaml:"connectInstanceId"`
	// The name of the outbound campaign.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connectcampaignsv2-campaign.html#cfn-connectcampaignsv2-campaign-name
	//
	Name *string `field:"required" json:"name" yaml:"name"`
	// 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
	//
	CommunicationLimitsOverride interface{} `field:"optional" json:"communicationLimitsOverride" yaml:"communicationLimitsOverride"`
	// 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
	//
	CommunicationTimeConfig interface{} `field:"optional" json:"communicationTimeConfig" yaml:"communicationTimeConfig"`
	// 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
	//
	ConnectCampaignFlowArn *string `field:"optional" json:"connectCampaignFlowArn" yaml:"connectCampaignFlowArn"`
	// Contains the schedule configuration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connectcampaignsv2-campaign.html#cfn-connectcampaignsv2-campaign-schedule
	//
	Schedule interface{} `field:"optional" json:"schedule" yaml:"schedule"`
	// Contains source configuration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connectcampaignsv2-campaign.html#cfn-connectcampaignsv2-campaign-source
	//
	Source interface{} `field:"optional" json:"source" yaml:"source"`
	// 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
	//
	Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}

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 "github.com/aws/aws-cdk-go/awscdk"

var agentlessConfig interface{}

cfnCampaignProps := &CfnCampaignProps{
	ChannelSubtypeConfig: &ChannelSubtypeConfigProperty{
		Email: &EmailChannelSubtypeConfigProperty{
			DefaultOutboundConfig: &EmailOutboundConfigProperty{
				ConnectSourceEmailAddress: jsii.String("connectSourceEmailAddress"),
				WisdomTemplateArn: jsii.String("wisdomTemplateArn"),

				// the properties below are optional
				SourceEmailAddressDisplayName: jsii.String("sourceEmailAddressDisplayName"),
			},
			OutboundMode: &EmailOutboundModeProperty{
				AgentlessConfig: agentlessConfig,
			},

			// the properties below are optional
			Capacity: jsii.Number(123),
		},
		Sms: &SmsChannelSubtypeConfigProperty{
			DefaultOutboundConfig: &SmsOutboundConfigProperty{
				ConnectSourcePhoneNumberArn: jsii.String("connectSourcePhoneNumberArn"),
				WisdomTemplateArn: jsii.String("wisdomTemplateArn"),
			},
			OutboundMode: &SmsOutboundModeProperty{
				AgentlessConfig: agentlessConfig,
			},

			// the properties below are optional
			Capacity: jsii.Number(123),
		},
		Telephony: &TelephonyChannelSubtypeConfigProperty{
			DefaultOutboundConfig: &TelephonyOutboundConfigProperty{
				ConnectContactFlowId: jsii.String("connectContactFlowId"),

				// the properties below are optional
				AnswerMachineDetectionConfig: &AnswerMachineDetectionConfigProperty{
					EnableAnswerMachineDetection: jsii.Boolean(false),

					// the properties below are optional
					AwaitAnswerMachinePrompt: jsii.Boolean(false),
				},
				ConnectSourcePhoneNumber: jsii.String("connectSourcePhoneNumber"),
			},
			OutboundMode: &TelephonyOutboundModeProperty{
				AgentlessConfig: agentlessConfig,
				PredictiveConfig: &PredictiveConfigProperty{
					BandwidthAllocation: jsii.Number(123),
				},
				ProgressiveConfig: &ProgressiveConfigProperty{
					BandwidthAllocation: jsii.Number(123),
				},
			},

			// the properties below are optional
			Capacity: jsii.Number(123),
			ConnectQueueId: jsii.String("connectQueueId"),
		},
	},
	ConnectInstanceId: jsii.String("connectInstanceId"),
	Name: jsii.String("name"),

	// the properties below are optional
	CommunicationLimitsOverride: &CommunicationLimitsConfigProperty{
		AllChannelsSubtypes: &CommunicationLimitsProperty{
			CommunicationLimitList: []interface{}{
				&CommunicationLimitProperty{
					Frequency: jsii.Number(123),
					MaxCountPerRecipient: jsii.Number(123),
					Unit: jsii.String("unit"),
				},
			},
		},
	},
	CommunicationTimeConfig: &CommunicationTimeConfigProperty{
		LocalTimeZoneConfig: &LocalTimeZoneConfigProperty{
			DefaultTimeZone: jsii.String("defaultTimeZone"),
			LocalTimeZoneDetection: []*string{
				jsii.String("localTimeZoneDetection"),
			},
		},

		// the properties below are optional
		Email: &TimeWindowProperty{
			OpenHours: &OpenHoursProperty{
				DailyHours: []interface{}{
					&DailyHourProperty{
						Key: jsii.String("key"),
						Value: []interface{}{
							&TimeRangeProperty{
								EndTime: jsii.String("endTime"),
								StartTime: jsii.String("startTime"),
							},
						},
					},
				},
			},

			// the properties below are optional
			RestrictedPeriods: &RestrictedPeriodsProperty{
				RestrictedPeriodList: []interface{}{
					&RestrictedPeriodProperty{
						EndDate: jsii.String("endDate"),
						StartDate: jsii.String("startDate"),

						// the properties below are optional
						Name: jsii.String("name"),
					},
				},
			},
		},
		Sms: &TimeWindowProperty{
			OpenHours: &OpenHoursProperty{
				DailyHours: []interface{}{
					&DailyHourProperty{
						Key: jsii.String("key"),
						Value: []interface{}{
							&TimeRangeProperty{
								EndTime: jsii.String("endTime"),
								StartTime: jsii.String("startTime"),
							},
						},
					},
				},
			},

			// the properties below are optional
			RestrictedPeriods: &RestrictedPeriodsProperty{
				RestrictedPeriodList: []interface{}{
					&RestrictedPeriodProperty{
						EndDate: jsii.String("endDate"),
						StartDate: jsii.String("startDate"),

						// the properties below are optional
						Name: jsii.String("name"),
					},
				},
			},
		},
		Telephony: &TimeWindowProperty{
			OpenHours: &OpenHoursProperty{
				DailyHours: []interface{}{
					&DailyHourProperty{
						Key: jsii.String("key"),
						Value: []interface{}{
							&TimeRangeProperty{
								EndTime: jsii.String("endTime"),
								StartTime: jsii.String("startTime"),
							},
						},
					},
				},
			},

			// the properties below are optional
			RestrictedPeriods: &RestrictedPeriodsProperty{
				RestrictedPeriodList: []interface{}{
					&RestrictedPeriodProperty{
						EndDate: jsii.String("endDate"),
						StartDate: jsii.String("startDate"),

						// the properties below are optional
						Name: jsii.String("name"),
					},
				},
			},
		},
	},
	ConnectCampaignFlowArn: jsii.String("connectCampaignFlowArn"),
	Schedule: &ScheduleProperty{
		EndTime: jsii.String("endTime"),
		StartTime: jsii.String("startTime"),

		// the properties below are optional
		RefreshFrequency: jsii.String("refreshFrequency"),
	},
	Source: &SourceProperty{
		CustomerProfilesSegmentArn: jsii.String("customerProfilesSegmentArn"),
		EventTrigger: &EventTriggerProperty{
			CustomerProfilesDomainArn: jsii.String("customerProfilesDomainArn"),
		},
	},
	Tags: []cfnTag{
		&cfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

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

type CfnCampaign_AnswerMachineDetectionConfigProperty

type CfnCampaign_AnswerMachineDetectionConfigProperty struct {
	// Enables answering machine detection.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-answermachinedetectionconfig.html#cfn-connectcampaignsv2-campaign-answermachinedetectionconfig-enableanswermachinedetection
	//
	EnableAnswerMachineDetection interface{} `field:"required" json:"enableAnswerMachineDetection" yaml:"enableAnswerMachineDetection"`
	// Whether or not waiting for an answer machine prompt is enabled.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-answermachinedetectionconfig.html#cfn-connectcampaignsv2-campaign-answermachinedetectionconfig-awaitanswermachineprompt
	//
	AwaitAnswerMachinePrompt interface{} `field:"optional" json:"awaitAnswerMachinePrompt" yaml:"awaitAnswerMachinePrompt"`
}

Contains answering machine detection configuration.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

answerMachineDetectionConfigProperty := &AnswerMachineDetectionConfigProperty{
	EnableAnswerMachineDetection: jsii.Boolean(false),

	// the properties below are optional
	AwaitAnswerMachinePrompt: jsii.Boolean(false),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-answermachinedetectionconfig.html

type CfnCampaign_ChannelSubtypeConfigProperty

type CfnCampaign_ChannelSubtypeConfigProperty struct {
	// The configuration of the email channel subtype.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-channelsubtypeconfig.html#cfn-connectcampaignsv2-campaign-channelsubtypeconfig-email
	//
	Email interface{} `field:"optional" json:"email" yaml:"email"`
	// The configuration of the SMS channel subtype.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-channelsubtypeconfig.html#cfn-connectcampaignsv2-campaign-channelsubtypeconfig-sms
	//
	Sms interface{} `field:"optional" json:"sms" yaml:"sms"`
	// The configuration of the telephony channel subtype.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-channelsubtypeconfig.html#cfn-connectcampaignsv2-campaign-channelsubtypeconfig-telephony
	//
	Telephony interface{} `field:"optional" json:"telephony" yaml:"telephony"`
}

Contains channel subtype configuration for an outbound campaign.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var agentlessConfig interface{}

channelSubtypeConfigProperty := &ChannelSubtypeConfigProperty{
	Email: &EmailChannelSubtypeConfigProperty{
		DefaultOutboundConfig: &EmailOutboundConfigProperty{
			ConnectSourceEmailAddress: jsii.String("connectSourceEmailAddress"),
			WisdomTemplateArn: jsii.String("wisdomTemplateArn"),

			// the properties below are optional
			SourceEmailAddressDisplayName: jsii.String("sourceEmailAddressDisplayName"),
		},
		OutboundMode: &EmailOutboundModeProperty{
			AgentlessConfig: agentlessConfig,
		},

		// the properties below are optional
		Capacity: jsii.Number(123),
	},
	Sms: &SmsChannelSubtypeConfigProperty{
		DefaultOutboundConfig: &SmsOutboundConfigProperty{
			ConnectSourcePhoneNumberArn: jsii.String("connectSourcePhoneNumberArn"),
			WisdomTemplateArn: jsii.String("wisdomTemplateArn"),
		},
		OutboundMode: &SmsOutboundModeProperty{
			AgentlessConfig: agentlessConfig,
		},

		// the properties below are optional
		Capacity: jsii.Number(123),
	},
	Telephony: &TelephonyChannelSubtypeConfigProperty{
		DefaultOutboundConfig: &TelephonyOutboundConfigProperty{
			ConnectContactFlowId: jsii.String("connectContactFlowId"),

			// the properties below are optional
			AnswerMachineDetectionConfig: &AnswerMachineDetectionConfigProperty{
				EnableAnswerMachineDetection: jsii.Boolean(false),

				// the properties below are optional
				AwaitAnswerMachinePrompt: jsii.Boolean(false),
			},
			ConnectSourcePhoneNumber: jsii.String("connectSourcePhoneNumber"),
		},
		OutboundMode: &TelephonyOutboundModeProperty{
			AgentlessConfig: agentlessConfig,
			PredictiveConfig: &PredictiveConfigProperty{
				BandwidthAllocation: jsii.Number(123),
			},
			ProgressiveConfig: &ProgressiveConfigProperty{
				BandwidthAllocation: jsii.Number(123),
			},
		},

		// the properties below are optional
		Capacity: jsii.Number(123),
		ConnectQueueId: jsii.String("connectQueueId"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-channelsubtypeconfig.html

type CfnCampaign_CommunicationLimitProperty

type CfnCampaign_CommunicationLimitProperty struct {
	// The frequency of communication limit evaluation.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-communicationlimit.html#cfn-connectcampaignsv2-campaign-communicationlimit-frequency
	//
	Frequency *float64 `field:"required" json:"frequency" yaml:"frequency"`
	// The maximum outreaching count for each recipient.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-communicationlimit.html#cfn-connectcampaignsv2-campaign-communicationlimit-maxcountperrecipient
	//
	MaxCountPerRecipient *float64 `field:"required" json:"maxCountPerRecipient" yaml:"maxCountPerRecipient"`
	// The unit of communication limit evaluation.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-communicationlimit.html#cfn-connectcampaignsv2-campaign-communicationlimit-unit
	//
	Unit *string `field:"required" json:"unit" yaml:"unit"`
}

Contains information about a communication limit.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

communicationLimitProperty := &CommunicationLimitProperty{
	Frequency: jsii.Number(123),
	MaxCountPerRecipient: jsii.Number(123),
	Unit: jsii.String("unit"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-communicationlimit.html

type CfnCampaign_CommunicationLimitsConfigProperty

type CfnCampaign_CommunicationLimitsConfigProperty struct {
	// The CommunicationLimits that apply to all channel subtypes defined in an outbound campaign.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-communicationlimitsconfig.html#cfn-connectcampaignsv2-campaign-communicationlimitsconfig-allchannelssubtypes
	//
	AllChannelsSubtypes interface{} `field:"optional" json:"allChannelsSubtypes" yaml:"allChannelsSubtypes"`
}

Contains the communication limits configuration for an outbound campaign.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

communicationLimitsConfigProperty := &CommunicationLimitsConfigProperty{
	AllChannelsSubtypes: &CommunicationLimitsProperty{
		CommunicationLimitList: []interface{}{
			&CommunicationLimitProperty{
				Frequency: jsii.Number(123),
				MaxCountPerRecipient: jsii.Number(123),
				Unit: jsii.String("unit"),
			},
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-communicationlimitsconfig.html

type CfnCampaign_CommunicationLimitsProperty

type CfnCampaign_CommunicationLimitsProperty struct {
	// The list of CommunicationLimits.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-communicationlimits.html#cfn-connectcampaignsv2-campaign-communicationlimits-communicationlimitlist
	//
	CommunicationLimitList interface{} `field:"optional" json:"communicationLimitList" yaml:"communicationLimitList"`
}

Contains information about communication limits.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

communicationLimitsProperty := &CommunicationLimitsProperty{
	CommunicationLimitList: []interface{}{
		&CommunicationLimitProperty{
			Frequency: jsii.Number(123),
			MaxCountPerRecipient: jsii.Number(123),
			Unit: jsii.String("unit"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-communicationlimits.html

type CfnCampaign_CommunicationTimeConfigProperty

type CfnCampaign_CommunicationTimeConfigProperty struct {
	// The local timezone configuration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-communicationtimeconfig.html#cfn-connectcampaignsv2-campaign-communicationtimeconfig-localtimezoneconfig
	//
	LocalTimeZoneConfig interface{} `field:"required" json:"localTimeZoneConfig" yaml:"localTimeZoneConfig"`
	// The communication time configuration for the email channel subtype.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-communicationtimeconfig.html#cfn-connectcampaignsv2-campaign-communicationtimeconfig-email
	//
	Email interface{} `field:"optional" json:"email" yaml:"email"`
	// The communication time configuration for the SMS channel subtype.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-communicationtimeconfig.html#cfn-connectcampaignsv2-campaign-communicationtimeconfig-sms
	//
	Sms interface{} `field:"optional" json:"sms" yaml:"sms"`
	// The communication time configuration for the telephony channel subtype.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-communicationtimeconfig.html#cfn-connectcampaignsv2-campaign-communicationtimeconfig-telephony
	//
	Telephony interface{} `field:"optional" json:"telephony" yaml:"telephony"`
}

Communication time configuration for an outbound campaign.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

communicationTimeConfigProperty := &CommunicationTimeConfigProperty{
	LocalTimeZoneConfig: &LocalTimeZoneConfigProperty{
		DefaultTimeZone: jsii.String("defaultTimeZone"),
		LocalTimeZoneDetection: []*string{
			jsii.String("localTimeZoneDetection"),
		},
	},

	// the properties below are optional
	Email: &TimeWindowProperty{
		OpenHours: &OpenHoursProperty{
			DailyHours: []interface{}{
				&DailyHourProperty{
					Key: jsii.String("key"),
					Value: []interface{}{
						&TimeRangeProperty{
							EndTime: jsii.String("endTime"),
							StartTime: jsii.String("startTime"),
						},
					},
				},
			},
		},

		// the properties below are optional
		RestrictedPeriods: &RestrictedPeriodsProperty{
			RestrictedPeriodList: []interface{}{
				&RestrictedPeriodProperty{
					EndDate: jsii.String("endDate"),
					StartDate: jsii.String("startDate"),

					// the properties below are optional
					Name: jsii.String("name"),
				},
			},
		},
	},
	Sms: &TimeWindowProperty{
		OpenHours: &OpenHoursProperty{
			DailyHours: []interface{}{
				&DailyHourProperty{
					Key: jsii.String("key"),
					Value: []interface{}{
						&TimeRangeProperty{
							EndTime: jsii.String("endTime"),
							StartTime: jsii.String("startTime"),
						},
					},
				},
			},
		},

		// the properties below are optional
		RestrictedPeriods: &RestrictedPeriodsProperty{
			RestrictedPeriodList: []interface{}{
				&RestrictedPeriodProperty{
					EndDate: jsii.String("endDate"),
					StartDate: jsii.String("startDate"),

					// the properties below are optional
					Name: jsii.String("name"),
				},
			},
		},
	},
	Telephony: &TimeWindowProperty{
		OpenHours: &OpenHoursProperty{
			DailyHours: []interface{}{
				&DailyHourProperty{
					Key: jsii.String("key"),
					Value: []interface{}{
						&TimeRangeProperty{
							EndTime: jsii.String("endTime"),
							StartTime: jsii.String("startTime"),
						},
					},
				},
			},
		},

		// the properties below are optional
		RestrictedPeriods: &RestrictedPeriodsProperty{
			RestrictedPeriodList: []interface{}{
				&RestrictedPeriodProperty{
					EndDate: jsii.String("endDate"),
					StartDate: jsii.String("startDate"),

					// the properties below are optional
					Name: jsii.String("name"),
				},
			},
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-communicationtimeconfig.html

type CfnCampaign_DailyHourProperty

type CfnCampaign_DailyHourProperty struct {
	// The key for DailyHour.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-dailyhour.html#cfn-connectcampaignsv2-campaign-dailyhour-key
	//
	Key *string `field:"optional" json:"key" yaml:"key"`
	// The value for DailyHour.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-dailyhour.html#cfn-connectcampaignsv2-campaign-dailyhour-value
	//
	Value interface{} `field:"optional" json:"value" yaml:"value"`
}

The daily hours configuration.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

dailyHourProperty := &DailyHourProperty{
	Key: jsii.String("key"),
	Value: []interface{}{
		&TimeRangeProperty{
			EndTime: jsii.String("endTime"),
			StartTime: jsii.String("startTime"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-dailyhour.html

type CfnCampaign_EmailChannelSubtypeConfigProperty

type CfnCampaign_EmailChannelSubtypeConfigProperty struct {
	// The default email outbound configuration of an outbound campaign.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-emailchannelsubtypeconfig.html#cfn-connectcampaignsv2-campaign-emailchannelsubtypeconfig-defaultoutboundconfig
	//
	DefaultOutboundConfig interface{} `field:"required" json:"defaultOutboundConfig" yaml:"defaultOutboundConfig"`
	// The outbound mode for email of an outbound campaign.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-emailchannelsubtypeconfig.html#cfn-connectcampaignsv2-campaign-emailchannelsubtypeconfig-outboundmode
	//
	OutboundMode interface{} `field:"required" json:"outboundMode" yaml:"outboundMode"`
	// The allocation of email capacity between multiple running outbound campaigns.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-emailchannelsubtypeconfig.html#cfn-connectcampaignsv2-campaign-emailchannelsubtypeconfig-capacity
	//
	Capacity *float64 `field:"optional" json:"capacity" yaml:"capacity"`
}

The configuration for the email channel subtype.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var agentlessConfig interface{}

emailChannelSubtypeConfigProperty := &EmailChannelSubtypeConfigProperty{
	DefaultOutboundConfig: &EmailOutboundConfigProperty{
		ConnectSourceEmailAddress: jsii.String("connectSourceEmailAddress"),
		WisdomTemplateArn: jsii.String("wisdomTemplateArn"),

		// the properties below are optional
		SourceEmailAddressDisplayName: jsii.String("sourceEmailAddressDisplayName"),
	},
	OutboundMode: &EmailOutboundModeProperty{
		AgentlessConfig: agentlessConfig,
	},

	// the properties below are optional
	Capacity: jsii.Number(123),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-emailchannelsubtypeconfig.html

type CfnCampaign_EmailOutboundConfigProperty

type CfnCampaign_EmailOutboundConfigProperty struct {
	// The Amazon Connect source email address.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-emailoutboundconfig.html#cfn-connectcampaignsv2-campaign-emailoutboundconfig-connectsourceemailaddress
	//
	ConnectSourceEmailAddress *string `field:"required" json:"connectSourceEmailAddress" yaml:"connectSourceEmailAddress"`
	// The Amazon Resource Name (ARN) of the Amazon Q in Connect template.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-emailoutboundconfig.html#cfn-connectcampaignsv2-campaign-emailoutboundconfig-wisdomtemplatearn
	//
	WisdomTemplateArn *string `field:"required" json:"wisdomTemplateArn" yaml:"wisdomTemplateArn"`
	// The display name for the Amazon Connect source email address.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-emailoutboundconfig.html#cfn-connectcampaignsv2-campaign-emailoutboundconfig-sourceemailaddressdisplayname
	//
	SourceEmailAddressDisplayName *string `field:"optional" json:"sourceEmailAddressDisplayName" yaml:"sourceEmailAddressDisplayName"`
}

The outbound configuration for email.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

emailOutboundConfigProperty := &EmailOutboundConfigProperty{
	ConnectSourceEmailAddress: jsii.String("connectSourceEmailAddress"),
	WisdomTemplateArn: jsii.String("wisdomTemplateArn"),

	// the properties below are optional
	SourceEmailAddressDisplayName: jsii.String("sourceEmailAddressDisplayName"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-emailoutboundconfig.html

type CfnCampaign_EmailOutboundModeProperty

type CfnCampaign_EmailOutboundModeProperty struct {
	// The agentless outbound mode configuration for email.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-emailoutboundmode.html#cfn-connectcampaignsv2-campaign-emailoutboundmode-agentlessconfig
	//
	AgentlessConfig interface{} `field:"optional" json:"agentlessConfig" yaml:"agentlessConfig"`
}

Contains information about email outbound mode.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var agentlessConfig interface{}

emailOutboundModeProperty := &EmailOutboundModeProperty{
	AgentlessConfig: agentlessConfig,
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-emailoutboundmode.html

type CfnCampaign_EventTriggerProperty added in v2.174.1

type CfnCampaign_EventTriggerProperty struct {
	// The Amazon Resource Name (ARN) of the Customer Profiles domain.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-eventtrigger.html#cfn-connectcampaignsv2-campaign-eventtrigger-customerprofilesdomainarn
	//
	CustomerProfilesDomainArn *string `field:"optional" json:"customerProfilesDomainArn" yaml:"customerProfilesDomainArn"`
}

The event trigger of the campaign.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

eventTriggerProperty := &EventTriggerProperty{
	CustomerProfilesDomainArn: jsii.String("customerProfilesDomainArn"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-eventtrigger.html

type CfnCampaign_LocalTimeZoneConfigProperty

type CfnCampaign_LocalTimeZoneConfigProperty struct {
	// The timezone to use for all recipients.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-localtimezoneconfig.html#cfn-connectcampaignsv2-campaign-localtimezoneconfig-defaulttimezone
	//
	DefaultTimeZone *string `field:"optional" json:"defaultTimeZone" yaml:"defaultTimeZone"`
	// Detects methods for the recipient's timezone.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-localtimezoneconfig.html#cfn-connectcampaignsv2-campaign-localtimezoneconfig-localtimezonedetection
	//
	LocalTimeZoneDetection *[]*string `field:"optional" json:"localTimeZoneDetection" yaml:"localTimeZoneDetection"`
}

The configuration of timezone for recipient.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

localTimeZoneConfigProperty := &LocalTimeZoneConfigProperty{
	DefaultTimeZone: jsii.String("defaultTimeZone"),
	LocalTimeZoneDetection: []*string{
		jsii.String("localTimeZoneDetection"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-localtimezoneconfig.html

type CfnCampaign_OpenHoursProperty

type CfnCampaign_OpenHoursProperty struct {
	// The daily hours configuration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-openhours.html#cfn-connectcampaignsv2-campaign-openhours-dailyhours
	//
	DailyHours interface{} `field:"required" json:"dailyHours" yaml:"dailyHours"`
}

Contains information about open hours.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

openHoursProperty := &OpenHoursProperty{
	DailyHours: []interface{}{
		&DailyHourProperty{
			Key: jsii.String("key"),
			Value: []interface{}{
				&TimeRangeProperty{
					EndTime: jsii.String("endTime"),
					StartTime: jsii.String("startTime"),
				},
			},
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-openhours.html

type CfnCampaign_PredictiveConfigProperty

type CfnCampaign_PredictiveConfigProperty struct {
	// Bandwidth allocation for the predictive outbound mode.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-predictiveconfig.html#cfn-connectcampaignsv2-campaign-predictiveconfig-bandwidthallocation
	//
	BandwidthAllocation *float64 `field:"required" json:"bandwidthAllocation" yaml:"bandwidthAllocation"`
}

Contains predictive outbound mode configuration.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

predictiveConfigProperty := &PredictiveConfigProperty{
	BandwidthAllocation: jsii.Number(123),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-predictiveconfig.html

type CfnCampaign_ProgressiveConfigProperty

type CfnCampaign_ProgressiveConfigProperty struct {
	// Bandwidth allocation for the progressive outbound mode.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-progressiveconfig.html#cfn-connectcampaignsv2-campaign-progressiveconfig-bandwidthallocation
	//
	BandwidthAllocation *float64 `field:"required" json:"bandwidthAllocation" yaml:"bandwidthAllocation"`
}

Contains the progressive outbound mode configuration.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

progressiveConfigProperty := &ProgressiveConfigProperty{
	BandwidthAllocation: jsii.Number(123),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-progressiveconfig.html

type CfnCampaign_RestrictedPeriodProperty

type CfnCampaign_RestrictedPeriodProperty struct {
	// The end date of the restricted period.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-restrictedperiod.html#cfn-connectcampaignsv2-campaign-restrictedperiod-enddate
	//
	EndDate *string `field:"required" json:"endDate" yaml:"endDate"`
	// The start date of the restricted period.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-restrictedperiod.html#cfn-connectcampaignsv2-campaign-restrictedperiod-startdate
	//
	StartDate *string `field:"required" json:"startDate" yaml:"startDate"`
	// The name of the restricted period.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-restrictedperiod.html#cfn-connectcampaignsv2-campaign-restrictedperiod-name
	//
	Name *string `field:"optional" json:"name" yaml:"name"`
}

Contains information about a restricted period.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

restrictedPeriodProperty := &RestrictedPeriodProperty{
	EndDate: jsii.String("endDate"),
	StartDate: jsii.String("startDate"),

	// the properties below are optional
	Name: jsii.String("name"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-restrictedperiod.html

type CfnCampaign_RestrictedPeriodsProperty

type CfnCampaign_RestrictedPeriodsProperty struct {
	// The restricted period list.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-restrictedperiods.html#cfn-connectcampaignsv2-campaign-restrictedperiods-restrictedperiodlist
	//
	RestrictedPeriodList interface{} `field:"required" json:"restrictedPeriodList" yaml:"restrictedPeriodList"`
}

Contains information about restricted periods.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

restrictedPeriodsProperty := &RestrictedPeriodsProperty{
	RestrictedPeriodList: []interface{}{
		&RestrictedPeriodProperty{
			EndDate: jsii.String("endDate"),
			StartDate: jsii.String("startDate"),

			// the properties below are optional
			Name: jsii.String("name"),
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-restrictedperiods.html

type CfnCampaign_ScheduleProperty

type CfnCampaign_ScheduleProperty struct {
	// The end time of the schedule in UTC.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-schedule.html#cfn-connectcampaignsv2-campaign-schedule-endtime
	//
	EndTime *string `field:"required" json:"endTime" yaml:"endTime"`
	// The start time of the schedule in UTC.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-schedule.html#cfn-connectcampaignsv2-campaign-schedule-starttime
	//
	StartTime *string `field:"required" json:"startTime" yaml:"startTime"`
	// The refresh frequency of the campaign.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-schedule.html#cfn-connectcampaignsv2-campaign-schedule-refreshfrequency
	//
	RefreshFrequency *string `field:"optional" json:"refreshFrequency" yaml:"refreshFrequency"`
}

Contains the schedule configuration.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

scheduleProperty := &ScheduleProperty{
	EndTime: jsii.String("endTime"),
	StartTime: jsii.String("startTime"),

	// the properties below are optional
	RefreshFrequency: jsii.String("refreshFrequency"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-schedule.html

type CfnCampaign_SmsChannelSubtypeConfigProperty

type CfnCampaign_SmsChannelSubtypeConfigProperty struct {
	// The default SMS outbound configuration of an outbound campaign.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-smschannelsubtypeconfig.html#cfn-connectcampaignsv2-campaign-smschannelsubtypeconfig-defaultoutboundconfig
	//
	DefaultOutboundConfig interface{} `field:"required" json:"defaultOutboundConfig" yaml:"defaultOutboundConfig"`
	// The outbound mode of SMS for an outbound campaign.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-smschannelsubtypeconfig.html#cfn-connectcampaignsv2-campaign-smschannelsubtypeconfig-outboundmode
	//
	OutboundMode interface{} `field:"required" json:"outboundMode" yaml:"outboundMode"`
	// The allocation of SMS capacity between multiple running outbound campaigns.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-smschannelsubtypeconfig.html#cfn-connectcampaignsv2-campaign-smschannelsubtypeconfig-capacity
	//
	Capacity *float64 `field:"optional" json:"capacity" yaml:"capacity"`
}

The configuration for the SMS channel subtype.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var agentlessConfig interface{}

smsChannelSubtypeConfigProperty := &SmsChannelSubtypeConfigProperty{
	DefaultOutboundConfig: &SmsOutboundConfigProperty{
		ConnectSourcePhoneNumberArn: jsii.String("connectSourcePhoneNumberArn"),
		WisdomTemplateArn: jsii.String("wisdomTemplateArn"),
	},
	OutboundMode: &SmsOutboundModeProperty{
		AgentlessConfig: agentlessConfig,
	},

	// the properties below are optional
	Capacity: jsii.Number(123),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-smschannelsubtypeconfig.html

type CfnCampaign_SmsOutboundConfigProperty

type CfnCampaign_SmsOutboundConfigProperty struct {
	// The Amazon Resource Name (ARN) of the Amazon Connect source SMS phone number.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-smsoutboundconfig.html#cfn-connectcampaignsv2-campaign-smsoutboundconfig-connectsourcephonenumberarn
	//
	ConnectSourcePhoneNumberArn *string `field:"required" json:"connectSourcePhoneNumberArn" yaml:"connectSourcePhoneNumberArn"`
	// The Amazon Resource Name (ARN) of the Amazon Q in Connect template.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-smsoutboundconfig.html#cfn-connectcampaignsv2-campaign-smsoutboundconfig-wisdomtemplatearn
	//
	WisdomTemplateArn *string `field:"required" json:"wisdomTemplateArn" yaml:"wisdomTemplateArn"`
}

The outbound configuration for SMS.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

smsOutboundConfigProperty := &SmsOutboundConfigProperty{
	ConnectSourcePhoneNumberArn: jsii.String("connectSourcePhoneNumberArn"),
	WisdomTemplateArn: jsii.String("wisdomTemplateArn"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-smsoutboundconfig.html

type CfnCampaign_SmsOutboundModeProperty

type CfnCampaign_SmsOutboundModeProperty struct {
	// Contains agentless outbound mode configuration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-smsoutboundmode.html#cfn-connectcampaignsv2-campaign-smsoutboundmode-agentlessconfig
	//
	AgentlessConfig interface{} `field:"optional" json:"agentlessConfig" yaml:"agentlessConfig"`
}

Contains information about the SMS outbound mode.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var agentlessConfig interface{}

smsOutboundModeProperty := &SmsOutboundModeProperty{
	AgentlessConfig: agentlessConfig,
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-smsoutboundmode.html

type CfnCampaign_SourceProperty

type CfnCampaign_SourceProperty struct {
	// The Amazon Resource Name (ARN) of the Customer Profiles segment.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-source.html#cfn-connectcampaignsv2-campaign-source-customerprofilessegmentarn
	//
	CustomerProfilesSegmentArn *string `field:"optional" json:"customerProfilesSegmentArn" yaml:"customerProfilesSegmentArn"`
	// The event trigger of the campaign.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-source.html#cfn-connectcampaignsv2-campaign-source-eventtrigger
	//
	EventTrigger interface{} `field:"optional" json:"eventTrigger" yaml:"eventTrigger"`
}

Contains source configuration.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

sourceProperty := &SourceProperty{
	CustomerProfilesSegmentArn: jsii.String("customerProfilesSegmentArn"),
	EventTrigger: &EventTriggerProperty{
		CustomerProfilesDomainArn: jsii.String("customerProfilesDomainArn"),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-source.html

type CfnCampaign_TelephonyChannelSubtypeConfigProperty

type CfnCampaign_TelephonyChannelSubtypeConfigProperty struct {
	// The default telephony outbound configuration of an outbound campaign.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-telephonychannelsubtypeconfig.html#cfn-connectcampaignsv2-campaign-telephonychannelsubtypeconfig-defaultoutboundconfig
	//
	DefaultOutboundConfig interface{} `field:"required" json:"defaultOutboundConfig" yaml:"defaultOutboundConfig"`
	// The outbound mode of telephony for an outbound campaign.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-telephonychannelsubtypeconfig.html#cfn-connectcampaignsv2-campaign-telephonychannelsubtypeconfig-outboundmode
	//
	OutboundMode interface{} `field:"required" json:"outboundMode" yaml:"outboundMode"`
	// The allocation of telephony capacity between multiple running outbound campaigns.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-telephonychannelsubtypeconfig.html#cfn-connectcampaignsv2-campaign-telephonychannelsubtypeconfig-capacity
	//
	Capacity *float64 `field:"optional" json:"capacity" yaml:"capacity"`
	// The identifier of the Amazon Connect queue associated with telephony outbound requests of an outbound campaign.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-telephonychannelsubtypeconfig.html#cfn-connectcampaignsv2-campaign-telephonychannelsubtypeconfig-connectqueueid
	//
	ConnectQueueId *string `field:"optional" json:"connectQueueId" yaml:"connectQueueId"`
}

The configuration for the telephony channel subtype.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var agentlessConfig interface{}

telephonyChannelSubtypeConfigProperty := &TelephonyChannelSubtypeConfigProperty{
	DefaultOutboundConfig: &TelephonyOutboundConfigProperty{
		ConnectContactFlowId: jsii.String("connectContactFlowId"),

		// the properties below are optional
		AnswerMachineDetectionConfig: &AnswerMachineDetectionConfigProperty{
			EnableAnswerMachineDetection: jsii.Boolean(false),

			// the properties below are optional
			AwaitAnswerMachinePrompt: jsii.Boolean(false),
		},
		ConnectSourcePhoneNumber: jsii.String("connectSourcePhoneNumber"),
	},
	OutboundMode: &TelephonyOutboundModeProperty{
		AgentlessConfig: agentlessConfig,
		PredictiveConfig: &PredictiveConfigProperty{
			BandwidthAllocation: jsii.Number(123),
		},
		ProgressiveConfig: &ProgressiveConfigProperty{
			BandwidthAllocation: jsii.Number(123),
		},
	},

	// the properties below are optional
	Capacity: jsii.Number(123),
	ConnectQueueId: jsii.String("connectQueueId"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-telephonychannelsubtypeconfig.html

type CfnCampaign_TelephonyOutboundConfigProperty

type CfnCampaign_TelephonyOutboundConfigProperty struct {
	// The identifier of the published Amazon Connect contact flow.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-telephonyoutboundconfig.html#cfn-connectcampaignsv2-campaign-telephonyoutboundconfig-connectcontactflowid
	//
	ConnectContactFlowId *string `field:"required" json:"connectContactFlowId" yaml:"connectContactFlowId"`
	// The answering machine detection configuration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-telephonyoutboundconfig.html#cfn-connectcampaignsv2-campaign-telephonyoutboundconfig-answermachinedetectionconfig
	//
	AnswerMachineDetectionConfig interface{} `field:"optional" json:"answerMachineDetectionConfig" yaml:"answerMachineDetectionConfig"`
	// The Amazon Connect source phone number.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-telephonyoutboundconfig.html#cfn-connectcampaignsv2-campaign-telephonyoutboundconfig-connectsourcephonenumber
	//
	ConnectSourcePhoneNumber *string `field:"optional" json:"connectSourcePhoneNumber" yaml:"connectSourcePhoneNumber"`
}

The outbound configuration for telephony.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

telephonyOutboundConfigProperty := &TelephonyOutboundConfigProperty{
	ConnectContactFlowId: jsii.String("connectContactFlowId"),

	// the properties below are optional
	AnswerMachineDetectionConfig: &AnswerMachineDetectionConfigProperty{
		EnableAnswerMachineDetection: jsii.Boolean(false),

		// the properties below are optional
		AwaitAnswerMachinePrompt: jsii.Boolean(false),
	},
	ConnectSourcePhoneNumber: jsii.String("connectSourcePhoneNumber"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-telephonyoutboundconfig.html

type CfnCampaign_TelephonyOutboundModeProperty

type CfnCampaign_TelephonyOutboundModeProperty struct {
	// The agentless outbound mode configuration for telephony.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-telephonyoutboundmode.html#cfn-connectcampaignsv2-campaign-telephonyoutboundmode-agentlessconfig
	//
	AgentlessConfig interface{} `field:"optional" json:"agentlessConfig" yaml:"agentlessConfig"`
	// Contains predictive outbound mode configuration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-telephonyoutboundmode.html#cfn-connectcampaignsv2-campaign-telephonyoutboundmode-predictiveconfig
	//
	PredictiveConfig interface{} `field:"optional" json:"predictiveConfig" yaml:"predictiveConfig"`
	// Contains progressive telephony outbound mode configuration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-telephonyoutboundmode.html#cfn-connectcampaignsv2-campaign-telephonyoutboundmode-progressiveconfig
	//
	ProgressiveConfig interface{} `field:"optional" json:"progressiveConfig" yaml:"progressiveConfig"`
}

Contains information about telephony outbound mode.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var agentlessConfig interface{}

telephonyOutboundModeProperty := &TelephonyOutboundModeProperty{
	AgentlessConfig: agentlessConfig,
	PredictiveConfig: &PredictiveConfigProperty{
		BandwidthAllocation: jsii.Number(123),
	},
	ProgressiveConfig: &ProgressiveConfigProperty{
		BandwidthAllocation: jsii.Number(123),
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-telephonyoutboundmode.html

type CfnCampaign_TimeRangeProperty

type CfnCampaign_TimeRangeProperty struct {
	// The end time of the time range.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-timerange.html#cfn-connectcampaignsv2-campaign-timerange-endtime
	//
	EndTime *string `field:"required" json:"endTime" yaml:"endTime"`
	// The start time of the time range.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-timerange.html#cfn-connectcampaignsv2-campaign-timerange-starttime
	//
	StartTime *string `field:"required" json:"startTime" yaml:"startTime"`
}

Contains information about a time range.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

timeRangeProperty := &TimeRangeProperty{
	EndTime: jsii.String("endTime"),
	StartTime: jsii.String("startTime"),
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-timerange.html

type CfnCampaign_TimeWindowProperty

type CfnCampaign_TimeWindowProperty struct {
	// The open hours configuration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-timewindow.html#cfn-connectcampaignsv2-campaign-timewindow-openhours
	//
	OpenHours interface{} `field:"required" json:"openHours" yaml:"openHours"`
	// The restricted periods configuration.
	// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-timewindow.html#cfn-connectcampaignsv2-campaign-timewindow-restrictedperiods
	//
	RestrictedPeriods interface{} `field:"optional" json:"restrictedPeriods" yaml:"restrictedPeriods"`
}

Contains information about a time window.

Example:

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

timeWindowProperty := &TimeWindowProperty{
	OpenHours: &OpenHoursProperty{
		DailyHours: []interface{}{
			&DailyHourProperty{
				Key: jsii.String("key"),
				Value: []interface{}{
					&TimeRangeProperty{
						EndTime: jsii.String("endTime"),
						StartTime: jsii.String("startTime"),
					},
				},
			},
		},
	},

	// the properties below are optional
	RestrictedPeriods: &RestrictedPeriodsProperty{
		RestrictedPeriodList: []interface{}{
			&RestrictedPeriodProperty{
				EndDate: jsii.String("endDate"),
				StartDate: jsii.String("startDate"),

				// the properties below are optional
				Name: jsii.String("name"),
			},
		},
	},
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-timewindow.html

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL