

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 EntryLimitsConfig
<a name="aws-properties-connectcampaignsv2-campaign-entrylimitsconfig"></a>

Contains entry limits configuration for an outbound campaign. Entry limits control how many times a participant can enter a campaign and the minimum time interval between re-entries.

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

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

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

```
{
  "[MaxEntryCount](#cfn-connectcampaignsv2-campaign-entrylimitsconfig-maxentrycount)" : {{Integer}},
  "[MinEntryInterval](#cfn-connectcampaignsv2-campaign-entrylimitsconfig-minentryinterval)" : {{String}}
}
```

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

```
  [MaxEntryCount](#cfn-connectcampaignsv2-campaign-entrylimitsconfig-maxentrycount): {{Integer}}
  [MinEntryInterval](#cfn-connectcampaignsv2-campaign-entrylimitsconfig-minentryinterval): {{String}}
```

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

`MaxEntryCount`  <a name="cfn-connectcampaignsv2-campaign-entrylimitsconfig-maxentrycount"></a>
The maximum number of times a participant can enter the campaign. A value of `0` indicates unlimited entries. Values of `1` or greater specify the exact number of entries allowed.  
*Required*: Yes  
*Type*: Integer  
*Minimum*: `0`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`MinEntryInterval`  <a name="cfn-connectcampaignsv2-campaign-entrylimitsconfig-minentryinterval"></a>
The minimum time interval that must pass before a participant can enter the campaign again, specified as an ISO 8601 duration string (for example, `PT4H` for 4 hours). A value of zero (for example, `PT0H`) indicates no minimum interval restriction, allowing participants to re-enter regardless of when they last entered.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^[a-zA-Z0-9.]*$`  
*Minimum*: `0`  
*Maximum*: `50`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)