VpnTunnelOption Struct
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
declare const secretValue: cdk.SecretValue;
const vpnTunnelOption: ec2.VpnTunnelOption = {
preSharedKey: 'preSharedKey',
preSharedKeySecret: secretValue,
tunnelInsideCidr: 'tunnelInsideCidr',
};
Properties
tunnelInsideCidrstringtunnel_inside_cidrstrtunnelInsideCidrStringTunnelInsideCidrstringTunnelInsideCidr*string#The range of inside IP addresses for the tunnel.
Default: an Amazon generated inside IP CIDR
Any specified CIDR blocks must be unique across all VPN connections that use the same virtual private gateway. A size /30 CIDR block from the 169.254.0.0/16 range.