Skip to content
v2.278.0

Phase1DHGroupNumbersRequestListValueProperty Struct ​

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

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const phase1DHGroupNumbersRequestListValueProperty: ec2.CfnVPNConnection.Phase1DHGroupNumbersRequestListValueProperty = {
  value: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

phase1_dh_group_numbers_request_list_value_property = ec2.CfnVPNConnection.Phase1DHGroupNumbersRequestListValueProperty(
    value=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;

Phase1DHGroupNumbersRequestListValueProperty phase1DHGroupNumbersRequestListValueProperty = Phase1DHGroupNumbersRequestListValueProperty.builder()
        .value(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;

var phase1DHGroupNumbersRequestListValueProperty = new Phase1DHGroupNumbersRequestListValueProperty {
    Value = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

phase1DHGroupNumbersRequestListValueProperty := &Phase1DHGroupNumbersRequestListValueProperty{
	Value: jsii.Number(123),
}

Properties ​

valueoptionalnumbervalueoptionalint | floatvalueoptionalNumberValueoptionaldoubleValueoptional*float64 #
The Diffie-Hellmann group number.