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 |
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 { 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 | The open hours configuration. |
restricted | IResolvable | Restricted | The restricted periods configuration. |
openHours
Type:
IResolvable
|
Open
The open hours configuration.
restrictedPeriods?
Type:
IResolvable
|
Restricted
(optional)
The restricted periods configuration.