Show / Hide Table of Contents

Interface IVpnConnectionProps

Inherited Members
IVpnConnectionOptions.Ip
IVpnConnectionOptions.Asn
IVpnConnectionOptions.StaticRoutes
IVpnConnectionOptions.TunnelOptions
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVpnConnectionProps : IVpnConnectionOptions
Syntax (vb)
Public Interface IVpnConnectionProps Inherits IVpnConnectionOptions
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK;
            using Amazon.CDK.AWS.EC2;

            SecretValue secretValue;
            Vpc vpc;

            var vpnConnectionProps = new VpnConnectionProps {
                Ip = "ip",
                Vpc = vpc,

                // the properties below are optional
                Asn = 123,
                StaticRoutes = new [] { "staticRoutes" },
                TunnelOptions = new [] { new VpnTunnelOption {
                    PreSharedKey = "preSharedKey",
                    PreSharedKeySecret = secretValue,
                    TunnelInsideCidr = "tunnelInsideCidr"
                } }
            };

Synopsis

Properties

Vpc

The VPC to connect to.

Properties

Vpc

The VPC to connect to.

IVpc Vpc { get; }
Property Value

IVpc

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX