Show / Hide Table of Contents

Interface IEnableVpnGatewayOptions

Options for the Vpc.enableVpnGateway() method.

Inherited Members
IVpnGatewayProps.Type
IVpnGatewayProps.AmazonSideAsn
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IEnableVpnGatewayOptions : IVpnGatewayProps
Syntax (vb)
Public Interface IEnableVpnGatewayOptions Inherits IVpnGatewayProps
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.AWS.EC2;

            Subnet subnet;
            SubnetFilter subnetFilter;

            var enableVpnGatewayOptions = new EnableVpnGatewayOptions {
                Type = "type",

                // the properties below are optional
                AmazonSideAsn = 123,
                VpnRoutePropagation = new [] { new SubnetSelection {
                    AvailabilityZones = new [] { "availabilityZones" },
                    OnePerAz = false,
                    SubnetFilters = new [] { subnetFilter },
                    SubnetGroupName = "subnetGroupName",
                    Subnets = new [] { subnet },
                    SubnetType = SubnetType.PRIVATE_ISOLATED
                } }
            };

Synopsis

Properties

VpnRoutePropagation

Provide an array of subnets where the route propagation should be added.

Properties

VpnRoutePropagation

Provide an array of subnets where the route propagation should be added.

ISubnetSelection[]? VpnRoutePropagation { get; }
Property Value

ISubnetSelection[]

Remarks

Default: noPropagation

Back to top Generated by DocFX