

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::EC2::VPNConnection Phase1DHGroupNumbersRequestListValue
<a name="aws-properties-ec2-vpnconnection-phase1dhgroupnumbersrequestlistvalue"></a>

Specifies a Diffie-Hellman group number for the VPN tunnel for phase 1 IKE negotiations.

## Syntax
<a name="aws-properties-ec2-vpnconnection-phase1dhgroupnumbersrequestlistvalue-syntax"></a>

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

### JSON
<a name="aws-properties-ec2-vpnconnection-phase1dhgroupnumbersrequestlistvalue-syntax.json"></a>

```
{
  "[Value](#cfn-ec2-vpnconnection-phase1dhgroupnumbersrequestlistvalue-value)" : Integer
}
```

### YAML
<a name="aws-properties-ec2-vpnconnection-phase1dhgroupnumbersrequestlistvalue-syntax.yaml"></a>

```
  [Value](#cfn-ec2-vpnconnection-phase1dhgroupnumbersrequestlistvalue-value): Integer
```

## Properties
<a name="aws-properties-ec2-vpnconnection-phase1dhgroupnumbersrequestlistvalue-properties"></a>

`Value`  <a name="cfn-ec2-vpnconnection-phase1dhgroupnumbersrequestlistvalue-value"></a>
The Diffie-Hellmann group number.  
*Required*: No  
*Type*: Integer  
*Allowed values*: `2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24`  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)