interface RestrictedPeriodProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ConnectCampaignsV2.CfnCampaign.RestrictedPeriodProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsconnectcampaignsv2#CfnCampaign_RestrictedPeriodProperty |
Java | software.amazon.awscdk.services.connectcampaignsv2.CfnCampaign.RestrictedPeriodProperty |
Python | aws_cdk.aws_connectcampaignsv2.CfnCampaign.RestrictedPeriodProperty |
TypeScript | aws-cdk-lib » aws_connectcampaignsv2 » CfnCampaign » RestrictedPeriodProperty |
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 { aws_connectcampaignsv2 as connectcampaignsv2 } from 'aws-cdk-lib';
const restrictedPeriodProperty: connectcampaignsv2.CfnCampaign.RestrictedPeriodProperty = {
endDate: 'endDate',
startDate: 'startDate',
// the properties below are optional
name: 'name',
};
Properties
| Name | Type | Description |
|---|---|---|
| end | string | The end date of the restricted period. |
| start | string | The start date of the restricted period. |
| name? | string | The name of the restricted period. |
endDate
Type:
string
The end date of the restricted period.
startDate
Type:
string
The start date of the restricted period.
name?
Type:
string
(optional)
The name of the restricted period.

.NET
Go
Java
Python
TypeScript