

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::ConnectCampaignsV2::Campaign RestrictedPeriods
<a name="aws-properties-connectcampaignsv2-campaign-restrictedperiods"></a>

Contains information about restricted periods.

## Syntax
<a name="aws-properties-connectcampaignsv2-campaign-restrictedperiods-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-connectcampaignsv2-campaign-restrictedperiods-syntax.json"></a>

```
{
  "[RestrictedPeriodList](#cfn-connectcampaignsv2-campaign-restrictedperiods-restrictedperiodlist)" : {{[ RestrictedPeriod, ... ]}}
}
```

### YAML
<a name="aws-properties-connectcampaignsv2-campaign-restrictedperiods-syntax.yaml"></a>

```
  [RestrictedPeriodList](#cfn-connectcampaignsv2-campaign-restrictedperiods-restrictedperiodlist): {{
    - RestrictedPeriod}}
```

## Properties
<a name="aws-properties-connectcampaignsv2-campaign-restrictedperiods-properties"></a>

`RestrictedPeriodList`  <a name="cfn-connectcampaignsv2-campaign-restrictedperiods-restrictedperiodlist"></a>
The restricted period list.  
*Required*: No  
*Type*: Array of [RestrictedPeriod](aws-properties-connectcampaignsv2-campaign-restrictedperiod.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)