

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

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

Contains information about a time range.

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

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

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

```
{
  "[EndTime](#cfn-connectcampaignsv2-campaign-timerange-endtime)" : {{String}},
  "[StartTime](#cfn-connectcampaignsv2-campaign-timerange-starttime)" : {{String}}
}
```

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

```
  [EndTime](#cfn-connectcampaignsv2-campaign-timerange-endtime): {{String}}
  [StartTime](#cfn-connectcampaignsv2-campaign-timerange-starttime): {{String}}
```

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

`EndTime`  <a name="cfn-connectcampaignsv2-campaign-timerange-endtime"></a>
The end time of the time range.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^T\d{2}:\d{2}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`StartTime`  <a name="cfn-connectcampaignsv2-campaign-timerange-starttime"></a>
The start time of the time range.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^T\d{2}:\d{2}$`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)