interface TimeWindowProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.aws_connectcampaignsv2.CfnCampaign.TimeWindowProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsconnectcampaignsv2#CfnCampaign_TimeWindowProperty |
Java | software.amazon.awscdk.services.connectcampaignsv2.CfnCampaign.TimeWindowProperty |
Python | aws_cdk.aws_connectcampaignsv2.CfnCampaign.TimeWindowProperty |
TypeScript | aws-cdk-lib » aws_connectcampaignsv2 » CfnCampaign » TimeWindowProperty |
Time window config.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connectcampaignsv2 as connectcampaignsv2 } from 'aws-cdk-lib';
const timeWindowProperty: connectcampaignsv2.CfnCampaign.TimeWindowProperty = {
openHours: {
dailyHours: [{
key: 'key',
value: [{
endTime: 'endTime',
startTime: 'startTime',
}],
}],
},
// the properties below are optional
restrictedPeriods: {
restrictedPeriodList: [{
endDate: 'endDate',
startDate: 'startDate',
// the properties below are optional
name: 'name',
}],
},
};
Properties
Name | Type | Description |
---|---|---|
open | IResolvable | Open | Open Hours config. |
restricted | IResolvable | Restricted | Restricted period config. |
openHours
Type:
IResolvable
|
Open
Open Hours config.
restrictedPeriods?
Type:
IResolvable
|
Restricted
(optional)
Restricted period config.