Documentation ¶
Index ¶
- func CfnCampaign_CFN_RESOURCE_TYPE_NAME() *string
- func CfnCampaign_IsCfnElement(x interface{}) *bool
- func CfnCampaign_IsCfnResource(x interface{}) *bool
- func CfnCampaign_IsConstruct(x interface{}) *bool
- func NewCfnCampaign_Override(c CfnCampaign, scope constructs.Construct, id *string, props *CfnCampaignProps)
- type CfnCampaign
- type CfnCampaignProps
- type CfnCampaign_AnswerMachineDetectionConfigProperty
- type CfnCampaign_ChannelSubtypeConfigProperty
- type CfnCampaign_CommunicationLimitProperty
- type CfnCampaign_CommunicationLimitsConfigProperty
- type CfnCampaign_CommunicationLimitsProperty
- type CfnCampaign_CommunicationTimeConfigProperty
- type CfnCampaign_DailyHourProperty
- type CfnCampaign_EmailChannelSubtypeConfigProperty
- type CfnCampaign_EmailOutboundConfigProperty
- type CfnCampaign_EmailOutboundModeProperty
- type CfnCampaign_LocalTimeZoneConfigProperty
- type CfnCampaign_OpenHoursProperty
- type CfnCampaign_PredictiveConfigProperty
- type CfnCampaign_ProgressiveConfigProperty
- type CfnCampaign_RestrictedPeriodProperty
- type CfnCampaign_RestrictedPeriodsProperty
- type CfnCampaign_ScheduleProperty
- type CfnCampaign_SmsChannelSubtypeConfigProperty
- type CfnCampaign_SmsOutboundConfigProperty
- type CfnCampaign_SmsOutboundModeProperty
- type CfnCampaign_SourceProperty
- type CfnCampaign_TelephonyChannelSubtypeConfigProperty
- type CfnCampaign_TelephonyOutboundConfigProperty
- type CfnCampaign_TelephonyOutboundModeProperty
- type CfnCampaign_TimeRangeProperty
- type CfnCampaign_TimeWindowProperty
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 // Amazon Connect Campaign 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 // The possible types of channel subtype config parameters. ChannelSubtypeConfig() interface{} SetChannelSubtypeConfig(val interface{}) // Communication limits config. CommunicationLimitsOverride() interface{} SetCommunicationLimitsOverride(val interface{}) // Campaign communication time config. CommunicationTimeConfig() interface{} SetCommunicationTimeConfig(val interface{}) // Arn. ConnectCampaignFlowArn() *string SetConnectCampaignFlowArn(val *string) // Amazon Connect Instance Id. 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 // Campaign name. 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 // Campaign schedule. Schedule() interface{} SetSchedule(val interface{}) // The possible types of channel config parameters. 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 // One or more tags. 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{}) }
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 "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"), }, Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, })
func NewCfnCampaign ¶
func NewCfnCampaign(scope constructs.Construct, id *string, props *CfnCampaignProps) CfnCampaign
type CfnCampaignProps ¶
type CfnCampaignProps struct { // The possible types of channel subtype config parameters. // 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"` // Amazon Connect Instance Id. // 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"` // Campaign name. // 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 config. // 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"` // Campaign communication time config. // 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"` // Arn. // 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"` // Campaign schedule. // 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"` // The possible types of channel config parameters. // 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"` // One or more tags. // 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"), }, Tags: []cfnTag{ &cfnTag{ Key: jsii.String("key"), Value: jsii.String("value"), }, }, }
type CfnCampaign_AnswerMachineDetectionConfigProperty ¶
type CfnCampaign_AnswerMachineDetectionConfigProperty struct { // Flag to decided whether outbound calls should have answering machine detection enabled or not. // 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"` // Enables detection of prompts (e.g., beep after after a voicemail greeting). // 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"` }
The configuration used for answering machine detection during outbound calls.
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), }
type CfnCampaign_ChannelSubtypeConfigProperty ¶
type CfnCampaign_ChannelSubtypeConfigProperty struct { // Email Channel Subtype config. // 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"` // SMS Channel Subtype config. // 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"` // Telephony Channel Subtype config. // 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"` }
The possible types of channel subtype config parameters.
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"), }, }
type CfnCampaign_CommunicationLimitProperty ¶
type CfnCampaign_CommunicationLimitProperty struct { // 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"` // 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 communication limit time unit. // 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"` }
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"), }
type CfnCampaign_CommunicationLimitsConfigProperty ¶
type CfnCampaign_CommunicationLimitsConfigProperty struct { // Communication limits. // 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"` }
Communication limits config.
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"), }, }, }, }
type CfnCampaign_CommunicationLimitsProperty ¶
type CfnCampaign_CommunicationLimitsProperty struct { // List of communication limit. // 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"` }
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"), }, }, }
type CfnCampaign_CommunicationTimeConfigProperty ¶
type CfnCampaign_CommunicationTimeConfigProperty struct { // Local time zone config. // 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"` // Time window config. // 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"` // Time window config. // 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"` // Time window config. // 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"` }
Campaign communication time config.
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"), }, }, }, }, }
type CfnCampaign_DailyHourProperty ¶
type CfnCampaign_DailyHourProperty struct { // Day of week. // 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"` // List of time range. // 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"` }
Daily Hour.
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"), }, }, }
type CfnCampaign_EmailChannelSubtypeConfigProperty ¶
type CfnCampaign_EmailChannelSubtypeConfigProperty struct { // Default SMS outbound config. // 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"` // Email Outbound Mode. // 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"` // Allocates outbound capacity for the specific channel of this campaign between multiple active 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"` }
Email Channel Subtype config.
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), }
type CfnCampaign_EmailOutboundConfigProperty ¶
type CfnCampaign_EmailOutboundConfigProperty struct { // Email address used for Email messages. // 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"` // Arn. // 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 name of the source email address display name. // 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"` }
Default SMS outbound config.
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"), }
type CfnCampaign_EmailOutboundModeProperty ¶
type CfnCampaign_EmailOutboundModeProperty struct { // Agentless config. // 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"` }
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, }
type CfnCampaign_LocalTimeZoneConfigProperty ¶
type CfnCampaign_LocalTimeZoneConfigProperty struct { // Time Zone Id in the IANA format. // 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"` // Local TimeZone Detection method list. // 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"` }
Local time zone config.
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"), }, }
type CfnCampaign_OpenHoursProperty ¶
type CfnCampaign_OpenHoursProperty struct { // Daily Hours map. // 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"` }
Open Hours config.
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"), }, }, }, }, }
type CfnCampaign_PredictiveConfigProperty ¶
type CfnCampaign_PredictiveConfigProperty struct { // The bandwidth allocation of a queue resource. // 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"` }
Predictive config.
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), }
type CfnCampaign_ProgressiveConfigProperty ¶
type CfnCampaign_ProgressiveConfigProperty struct { // The bandwidth allocation of a queue resource. // 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"` }
Progressive config.
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), }
type CfnCampaign_RestrictedPeriodProperty ¶
type CfnCampaign_RestrictedPeriodProperty struct { // Date in ISO 8601 format, e.g. 2024-01-01. // 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"` // Date in ISO 8601 format, e.g. 2024-01-01. // 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 a 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"` }
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"), }
type CfnCampaign_RestrictedPeriodsProperty ¶
type CfnCampaign_RestrictedPeriodsProperty struct { // List of restricted period. // 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"` }
Restricted period config.
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"), }, }, }
type CfnCampaign_ScheduleProperty ¶
type CfnCampaign_ScheduleProperty struct { // Timestamp with no UTC offset or timezone. // 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"` // Timestamp with no UTC offset or timezone. // 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"` // Time duration in ISO 8601 format. // 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"` }
Campaign schedule.
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"), }
type CfnCampaign_SmsChannelSubtypeConfigProperty ¶
type CfnCampaign_SmsChannelSubtypeConfigProperty struct { // Default SMS outbound config. // 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"` // SMS Outbound Mode. // 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"` // Allocates outbound capacity for the specific channel of this campaign between multiple active 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"` }
SMS Channel Subtype config.
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), }
type CfnCampaign_SmsOutboundConfigProperty ¶
type CfnCampaign_SmsOutboundConfigProperty struct { // Arn. // 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"` // Arn. // 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"` }
Default SMS outbound config.
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"), }
type CfnCampaign_SmsOutboundModeProperty ¶
type CfnCampaign_SmsOutboundModeProperty struct { // Agentless config. // 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"` }
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, }
type CfnCampaign_SourceProperty ¶
type CfnCampaign_SourceProperty struct { // Arn. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connectcampaignsv2-campaign-source.html#cfn-connectcampaignsv2-campaign-source-customerprofilessegmentarn // CustomerProfilesSegmentArn *string `field:"required" json:"customerProfilesSegmentArn" yaml:"customerProfilesSegmentArn"` }
The possible types of channel config parameters.
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"), }
type CfnCampaign_TelephonyChannelSubtypeConfigProperty ¶
type CfnCampaign_TelephonyChannelSubtypeConfigProperty struct { // Default Telephone Outbound config. // 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"` // Telephony Outbound Mode. // 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"` // Allocates outbound capacity for the specific channel of this campaign between multiple active 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 queue for the call. // 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"` }
Telephony Channel Subtype config.
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"), }
type CfnCampaign_TelephonyOutboundConfigProperty ¶
type CfnCampaign_TelephonyOutboundConfigProperty struct { // The identifier of the contact flow for the outbound call. // 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 configuration used for answering machine detection during outbound calls. // 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 phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue. // 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"` }
Default Telephone Outbound config.
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"), }
type CfnCampaign_TelephonyOutboundModeProperty ¶
type CfnCampaign_TelephonyOutboundModeProperty struct { // Agentless config. // 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"` // Predictive config. // 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"` // Progressive config. // 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"` }
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), }, }
type CfnCampaign_TimeRangeProperty ¶
type CfnCampaign_TimeRangeProperty struct { // Time in ISO 8601 format, e.g. T23:11. // 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"` // Time in ISO 8601 format, e.g. T23:11. // 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"` }
Time range in 24 hour format.
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"), }
type CfnCampaign_TimeWindowProperty ¶
type CfnCampaign_TimeWindowProperty struct { // Open Hours config. // 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"` // Restricted period config. // 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"` }
Time window config.
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"), }, }, }, }
Source Files ¶
- CfnCampaign.go
- CfnCampaignProps.go
- CfnCampaign_AnswerMachineDetectionConfigProperty.go
- CfnCampaign_ChannelSubtypeConfigProperty.go
- CfnCampaign_CommunicationLimitProperty.go
- CfnCampaign_CommunicationLimitsConfigProperty.go
- CfnCampaign_CommunicationLimitsProperty.go
- CfnCampaign_CommunicationTimeConfigProperty.go
- CfnCampaign_DailyHourProperty.go
- CfnCampaign_EmailChannelSubtypeConfigProperty.go
- CfnCampaign_EmailOutboundConfigProperty.go
- CfnCampaign_EmailOutboundModeProperty.go
- CfnCampaign_LocalTimeZoneConfigProperty.go
- CfnCampaign_OpenHoursProperty.go
- CfnCampaign_PredictiveConfigProperty.go
- CfnCampaign_ProgressiveConfigProperty.go
- CfnCampaign_RestrictedPeriodProperty.go
- CfnCampaign_RestrictedPeriodsProperty.go
- CfnCampaign_ScheduleProperty.go
- CfnCampaign_SmsChannelSubtypeConfigProperty.go
- CfnCampaign_SmsOutboundConfigProperty.go
- CfnCampaign_SmsOutboundModeProperty.go
- CfnCampaign_SourceProperty.go
- CfnCampaign_TelephonyChannelSubtypeConfigProperty.go
- CfnCampaign_TelephonyOutboundConfigProperty.go
- CfnCampaign_TelephonyOutboundModeProperty.go
- CfnCampaign_TimeRangeProperty.go
- CfnCampaign_TimeWindowProperty.go
- CfnCampaign__checks.go
- main.go