Class VpnConnectionArgs.Builder

  • Enclosing class:
    VpnConnectionArgs

    public static final class VpnConnectionArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • customerGatewayId

        public VpnConnectionArgs.Builder customerGatewayId​(com.pulumi.core.Output<java.lang.String> customerGatewayId)
        Parameters:
        customerGatewayId - The ID of the customer gateway.
        Returns:
        builder
      • customerGatewayId

        public VpnConnectionArgs.Builder customerGatewayId​(java.lang.String customerGatewayId)
        Parameters:
        customerGatewayId - The ID of the customer gateway.
        Returns:
        builder
      • enableAcceleration

        public VpnConnectionArgs.Builder enableAcceleration​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Boolean> enableAcceleration)
        Parameters:
        enableAcceleration - Indicate whether to enable acceleration for the VPN connection. Supports only EC2 Transit Gateway.
        Returns:
        builder
      • enableAcceleration

        public VpnConnectionArgs.Builder enableAcceleration​(java.lang.Boolean enableAcceleration)
        Parameters:
        enableAcceleration - Indicate whether to enable acceleration for the VPN connection. Supports only EC2 Transit Gateway.
        Returns:
        builder
      • localIpv4NetworkCidr

        public VpnConnectionArgs.Builder localIpv4NetworkCidr​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> localIpv4NetworkCidr)
        Parameters:
        localIpv4NetworkCidr - The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
        Returns:
        builder
      • localIpv4NetworkCidr

        public VpnConnectionArgs.Builder localIpv4NetworkCidr​(java.lang.String localIpv4NetworkCidr)
        Parameters:
        localIpv4NetworkCidr - The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
        Returns:
        builder
      • localIpv6NetworkCidr

        public VpnConnectionArgs.Builder localIpv6NetworkCidr​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> localIpv6NetworkCidr)
        Parameters:
        localIpv6NetworkCidr - The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
        Returns:
        builder
      • localIpv6NetworkCidr

        public VpnConnectionArgs.Builder localIpv6NetworkCidr​(java.lang.String localIpv6NetworkCidr)
        Parameters:
        localIpv6NetworkCidr - The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
        Returns:
        builder
      • outsideIpAddressType

        public VpnConnectionArgs.Builder outsideIpAddressType​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> outsideIpAddressType)
        Parameters:
        outsideIpAddressType - Indicates if a Public S2S VPN or Private S2S VPN over AWS Direct Connect. Valid values are `PublicIpv4 | PrivateIpv4`
        Returns:
        builder
      • outsideIpAddressType

        public VpnConnectionArgs.Builder outsideIpAddressType​(java.lang.String outsideIpAddressType)
        Parameters:
        outsideIpAddressType - Indicates if a Public S2S VPN or Private S2S VPN over AWS Direct Connect. Valid values are `PublicIpv4 | PrivateIpv4`
        Returns:
        builder
      • remoteIpv4NetworkCidr

        public VpnConnectionArgs.Builder remoteIpv4NetworkCidr​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> remoteIpv4NetworkCidr)
        Parameters:
        remoteIpv4NetworkCidr - The IPv4 CIDR on the AWS side of the VPN connection.
        Returns:
        builder
      • remoteIpv4NetworkCidr

        public VpnConnectionArgs.Builder remoteIpv4NetworkCidr​(java.lang.String remoteIpv4NetworkCidr)
        Parameters:
        remoteIpv4NetworkCidr - The IPv4 CIDR on the AWS side of the VPN connection.
        Returns:
        builder
      • remoteIpv6NetworkCidr

        public VpnConnectionArgs.Builder remoteIpv6NetworkCidr​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> remoteIpv6NetworkCidr)
        Parameters:
        remoteIpv6NetworkCidr - The IPv6 CIDR on the AWS side of the VPN connection.
        Returns:
        builder
      • remoteIpv6NetworkCidr

        public VpnConnectionArgs.Builder remoteIpv6NetworkCidr​(java.lang.String remoteIpv6NetworkCidr)
        Parameters:
        remoteIpv6NetworkCidr - The IPv6 CIDR on the AWS side of the VPN connection.
        Returns:
        builder
      • staticRoutesOnly

        public VpnConnectionArgs.Builder staticRoutesOnly​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Boolean> staticRoutesOnly)
        Parameters:
        staticRoutesOnly - Whether the VPN connection uses static routes exclusively. Static routes must be used for devices that don't support BGP.
        Returns:
        builder
      • staticRoutesOnly

        public VpnConnectionArgs.Builder staticRoutesOnly​(java.lang.Boolean staticRoutesOnly)
        Parameters:
        staticRoutesOnly - Whether the VPN connection uses static routes exclusively. Static routes must be used for devices that don't support BGP.
        Returns:
        builder
      • tags

        public VpnConnectionArgs.Builder tags​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Tags to apply to the connection. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public VpnConnectionArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Tags to apply to the connection. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • transitGatewayId

        public VpnConnectionArgs.Builder transitGatewayId​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> transitGatewayId)
        Parameters:
        transitGatewayId - The ID of the EC2 Transit Gateway.
        Returns:
        builder
      • transitGatewayId

        public VpnConnectionArgs.Builder transitGatewayId​(java.lang.String transitGatewayId)
        Parameters:
        transitGatewayId - The ID of the EC2 Transit Gateway.
        Returns:
        builder
      • transportTransitGatewayAttachmentId

        public VpnConnectionArgs.Builder transportTransitGatewayAttachmentId​(@Nullable
                                                                             com.pulumi.core.Output<java.lang.String> transportTransitGatewayAttachmentId)
        Parameters:
        transportTransitGatewayAttachmentId - . The attachment ID of the Transit Gateway attachment to Direct Connect Gateway. The ID is obtained through a data source only.
        Returns:
        builder
      • transportTransitGatewayAttachmentId

        public VpnConnectionArgs.Builder transportTransitGatewayAttachmentId​(java.lang.String transportTransitGatewayAttachmentId)
        Parameters:
        transportTransitGatewayAttachmentId - . The attachment ID of the Transit Gateway attachment to Direct Connect Gateway. The ID is obtained through a data source only.
        Returns:
        builder
      • tunnel1DpdTimeoutAction

        public VpnConnectionArgs.Builder tunnel1DpdTimeoutAction​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> tunnel1DpdTimeoutAction)
        Parameters:
        tunnel1DpdTimeoutAction - The action to take after DPD timeout occurs for the first VPN tunnel. Specify restart to restart the IKE initiation. Specify clear to end the IKE session. Valid values are `clear | none | restart`.
        Returns:
        builder
      • tunnel1DpdTimeoutAction

        public VpnConnectionArgs.Builder tunnel1DpdTimeoutAction​(java.lang.String tunnel1DpdTimeoutAction)
        Parameters:
        tunnel1DpdTimeoutAction - The action to take after DPD timeout occurs for the first VPN tunnel. Specify restart to restart the IKE initiation. Specify clear to end the IKE session. Valid values are `clear | none | restart`.
        Returns:
        builder
      • tunnel1DpdTimeoutSeconds

        public VpnConnectionArgs.Builder tunnel1DpdTimeoutSeconds​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Integer> tunnel1DpdTimeoutSeconds)
        Parameters:
        tunnel1DpdTimeoutSeconds - The number of seconds after which a DPD timeout occurs for the first VPN tunnel. Valid value is equal or higher than `30`.
        Returns:
        builder
      • tunnel1DpdTimeoutSeconds

        public VpnConnectionArgs.Builder tunnel1DpdTimeoutSeconds​(java.lang.Integer tunnel1DpdTimeoutSeconds)
        Parameters:
        tunnel1DpdTimeoutSeconds - The number of seconds after which a DPD timeout occurs for the first VPN tunnel. Valid value is equal or higher than `30`.
        Returns:
        builder
      • tunnel1EnableTunnelLifecycleControl

        public VpnConnectionArgs.Builder tunnel1EnableTunnelLifecycleControl​(@Nullable
                                                                             com.pulumi.core.Output<java.lang.Boolean> tunnel1EnableTunnelLifecycleControl)
        Parameters:
        tunnel1EnableTunnelLifecycleControl - Turn on or off tunnel endpoint lifecycle control feature for the first VPN tunnel. Valid values are `true | false`.
        Returns:
        builder
      • tunnel1EnableTunnelLifecycleControl

        public VpnConnectionArgs.Builder tunnel1EnableTunnelLifecycleControl​(java.lang.Boolean tunnel1EnableTunnelLifecycleControl)
        Parameters:
        tunnel1EnableTunnelLifecycleControl - Turn on or off tunnel endpoint lifecycle control feature for the first VPN tunnel. Valid values are `true | false`.
        Returns:
        builder
      • tunnel1IkeVersions

        public VpnConnectionArgs.Builder tunnel1IkeVersions​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> tunnel1IkeVersions)
        Parameters:
        tunnel1IkeVersions - The IKE versions that are permitted for the first VPN tunnel. Valid values are `ikev1 | ikev2`.
        Returns:
        builder
      • tunnel1IkeVersions

        public VpnConnectionArgs.Builder tunnel1IkeVersions​(java.util.List<java.lang.String> tunnel1IkeVersions)
        Parameters:
        tunnel1IkeVersions - The IKE versions that are permitted for the first VPN tunnel. Valid values are `ikev1 | ikev2`.
        Returns:
        builder
      • tunnel1IkeVersions

        public VpnConnectionArgs.Builder tunnel1IkeVersions​(java.lang.String... tunnel1IkeVersions)
        Parameters:
        tunnel1IkeVersions - The IKE versions that are permitted for the first VPN tunnel. Valid values are `ikev1 | ikev2`.
        Returns:
        builder
      • tunnel1InsideCidr

        public VpnConnectionArgs.Builder tunnel1InsideCidr​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> tunnel1InsideCidr)
        Parameters:
        tunnel1InsideCidr - The CIDR block of the inside IP addresses for the first VPN tunnel. Valid value is a size /30 CIDR block from the 169.254.0.0/16 range.
        Returns:
        builder
      • tunnel1InsideCidr

        public VpnConnectionArgs.Builder tunnel1InsideCidr​(java.lang.String tunnel1InsideCidr)
        Parameters:
        tunnel1InsideCidr - The CIDR block of the inside IP addresses for the first VPN tunnel. Valid value is a size /30 CIDR block from the 169.254.0.0/16 range.
        Returns:
        builder
      • tunnel1InsideIpv6Cidr

        public VpnConnectionArgs.Builder tunnel1InsideIpv6Cidr​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> tunnel1InsideIpv6Cidr)
        Parameters:
        tunnel1InsideIpv6Cidr - The range of inside IPv6 addresses for the first VPN tunnel. Supports only EC2 Transit Gateway. Valid value is a size /126 CIDR block from the local fd00::/8 range.
        Returns:
        builder
      • tunnel1InsideIpv6Cidr

        public VpnConnectionArgs.Builder tunnel1InsideIpv6Cidr​(java.lang.String tunnel1InsideIpv6Cidr)
        Parameters:
        tunnel1InsideIpv6Cidr - The range of inside IPv6 addresses for the first VPN tunnel. Supports only EC2 Transit Gateway. Valid value is a size /126 CIDR block from the local fd00::/8 range.
        Returns:
        builder
      • tunnel1Phase1DhGroupNumbers

        public VpnConnectionArgs.Builder tunnel1Phase1DhGroupNumbers​(@Nullable
                                                                     com.pulumi.core.Output<java.util.List<java.lang.Integer>> tunnel1Phase1DhGroupNumbers)
        Parameters:
        tunnel1Phase1DhGroupNumbers - List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are ` 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 `.
        Returns:
        builder
      • tunnel1Phase1DhGroupNumbers

        public VpnConnectionArgs.Builder tunnel1Phase1DhGroupNumbers​(java.util.List<java.lang.Integer> tunnel1Phase1DhGroupNumbers)
        Parameters:
        tunnel1Phase1DhGroupNumbers - List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are ` 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 `.
        Returns:
        builder
      • tunnel1Phase1DhGroupNumbers

        public VpnConnectionArgs.Builder tunnel1Phase1DhGroupNumbers​(java.lang.Integer... tunnel1Phase1DhGroupNumbers)
        Parameters:
        tunnel1Phase1DhGroupNumbers - List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are ` 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 `.
        Returns:
        builder
      • tunnel1Phase1EncryptionAlgorithms

        public VpnConnectionArgs.Builder tunnel1Phase1EncryptionAlgorithms​(@Nullable
                                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> tunnel1Phase1EncryptionAlgorithms)
        Parameters:
        tunnel1Phase1EncryptionAlgorithms - List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
        Returns:
        builder
      • tunnel1Phase1EncryptionAlgorithms

        public VpnConnectionArgs.Builder tunnel1Phase1EncryptionAlgorithms​(java.util.List<java.lang.String> tunnel1Phase1EncryptionAlgorithms)
        Parameters:
        tunnel1Phase1EncryptionAlgorithms - List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
        Returns:
        builder
      • tunnel1Phase1EncryptionAlgorithms

        public VpnConnectionArgs.Builder tunnel1Phase1EncryptionAlgorithms​(java.lang.String... tunnel1Phase1EncryptionAlgorithms)
        Parameters:
        tunnel1Phase1EncryptionAlgorithms - List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
        Returns:
        builder
      • tunnel1Phase1IntegrityAlgorithms

        public VpnConnectionArgs.Builder tunnel1Phase1IntegrityAlgorithms​(@Nullable
                                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> tunnel1Phase1IntegrityAlgorithms)
        Parameters:
        tunnel1Phase1IntegrityAlgorithms - One or more integrity algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
        Returns:
        builder
      • tunnel1Phase1IntegrityAlgorithms

        public VpnConnectionArgs.Builder tunnel1Phase1IntegrityAlgorithms​(java.util.List<java.lang.String> tunnel1Phase1IntegrityAlgorithms)
        Parameters:
        tunnel1Phase1IntegrityAlgorithms - One or more integrity algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
        Returns:
        builder
      • tunnel1Phase1IntegrityAlgorithms

        public VpnConnectionArgs.Builder tunnel1Phase1IntegrityAlgorithms​(java.lang.String... tunnel1Phase1IntegrityAlgorithms)
        Parameters:
        tunnel1Phase1IntegrityAlgorithms - One or more integrity algorithms that are permitted for the first VPN tunnel for phase 1 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
        Returns:
        builder
      • tunnel1Phase1LifetimeSeconds

        public VpnConnectionArgs.Builder tunnel1Phase1LifetimeSeconds​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Integer> tunnel1Phase1LifetimeSeconds)
        Parameters:
        tunnel1Phase1LifetimeSeconds - The lifetime for phase 1 of the IKE negotiation for the first VPN tunnel, in seconds. Valid value is between `900` and `28800`.
        Returns:
        builder
      • tunnel1Phase1LifetimeSeconds

        public VpnConnectionArgs.Builder tunnel1Phase1LifetimeSeconds​(java.lang.Integer tunnel1Phase1LifetimeSeconds)
        Parameters:
        tunnel1Phase1LifetimeSeconds - The lifetime for phase 1 of the IKE negotiation for the first VPN tunnel, in seconds. Valid value is between `900` and `28800`.
        Returns:
        builder
      • tunnel1Phase2DhGroupNumbers

        public VpnConnectionArgs.Builder tunnel1Phase2DhGroupNumbers​(@Nullable
                                                                     com.pulumi.core.Output<java.util.List<java.lang.Integer>> tunnel1Phase2DhGroupNumbers)
        Parameters:
        tunnel1Phase2DhGroupNumbers - List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24`.
        Returns:
        builder
      • tunnel1Phase2DhGroupNumbers

        public VpnConnectionArgs.Builder tunnel1Phase2DhGroupNumbers​(java.util.List<java.lang.Integer> tunnel1Phase2DhGroupNumbers)
        Parameters:
        tunnel1Phase2DhGroupNumbers - List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24`.
        Returns:
        builder
      • tunnel1Phase2DhGroupNumbers

        public VpnConnectionArgs.Builder tunnel1Phase2DhGroupNumbers​(java.lang.Integer... tunnel1Phase2DhGroupNumbers)
        Parameters:
        tunnel1Phase2DhGroupNumbers - List of one or more Diffie-Hellman group numbers that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24`.
        Returns:
        builder
      • tunnel1Phase2EncryptionAlgorithms

        public VpnConnectionArgs.Builder tunnel1Phase2EncryptionAlgorithms​(@Nullable
                                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> tunnel1Phase2EncryptionAlgorithms)
        Parameters:
        tunnel1Phase2EncryptionAlgorithms - List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
        Returns:
        builder
      • tunnel1Phase2EncryptionAlgorithms

        public VpnConnectionArgs.Builder tunnel1Phase2EncryptionAlgorithms​(java.util.List<java.lang.String> tunnel1Phase2EncryptionAlgorithms)
        Parameters:
        tunnel1Phase2EncryptionAlgorithms - List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
        Returns:
        builder
      • tunnel1Phase2EncryptionAlgorithms

        public VpnConnectionArgs.Builder tunnel1Phase2EncryptionAlgorithms​(java.lang.String... tunnel1Phase2EncryptionAlgorithms)
        Parameters:
        tunnel1Phase2EncryptionAlgorithms - List of one or more encryption algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
        Returns:
        builder
      • tunnel1Phase2IntegrityAlgorithms

        public VpnConnectionArgs.Builder tunnel1Phase2IntegrityAlgorithms​(@Nullable
                                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> tunnel1Phase2IntegrityAlgorithms)
        Parameters:
        tunnel1Phase2IntegrityAlgorithms - List of one or more integrity algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
        Returns:
        builder
      • tunnel1Phase2IntegrityAlgorithms

        public VpnConnectionArgs.Builder tunnel1Phase2IntegrityAlgorithms​(java.util.List<java.lang.String> tunnel1Phase2IntegrityAlgorithms)
        Parameters:
        tunnel1Phase2IntegrityAlgorithms - List of one or more integrity algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
        Returns:
        builder
      • tunnel1Phase2IntegrityAlgorithms

        public VpnConnectionArgs.Builder tunnel1Phase2IntegrityAlgorithms​(java.lang.String... tunnel1Phase2IntegrityAlgorithms)
        Parameters:
        tunnel1Phase2IntegrityAlgorithms - List of one or more integrity algorithms that are permitted for the first VPN tunnel for phase 2 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
        Returns:
        builder
      • tunnel1Phase2LifetimeSeconds

        public VpnConnectionArgs.Builder tunnel1Phase2LifetimeSeconds​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Integer> tunnel1Phase2LifetimeSeconds)
        Parameters:
        tunnel1Phase2LifetimeSeconds - The lifetime for phase 2 of the IKE negotiation for the first VPN tunnel, in seconds. Valid value is between `900` and `3600`.
        Returns:
        builder
      • tunnel1Phase2LifetimeSeconds

        public VpnConnectionArgs.Builder tunnel1Phase2LifetimeSeconds​(java.lang.Integer tunnel1Phase2LifetimeSeconds)
        Parameters:
        tunnel1Phase2LifetimeSeconds - The lifetime for phase 2 of the IKE negotiation for the first VPN tunnel, in seconds. Valid value is between `900` and `3600`.
        Returns:
        builder
      • tunnel1PresharedKey

        public VpnConnectionArgs.Builder tunnel1PresharedKey​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> tunnel1PresharedKey)
        Parameters:
        tunnel1PresharedKey - The preshared key of the first VPN tunnel. The preshared key must be between 8 and 64 characters in length and cannot start with zero(0). Allowed characters are alphanumeric characters, periods(.) and underscores(_).
        Returns:
        builder
      • tunnel1PresharedKey

        public VpnConnectionArgs.Builder tunnel1PresharedKey​(java.lang.String tunnel1PresharedKey)
        Parameters:
        tunnel1PresharedKey - The preshared key of the first VPN tunnel. The preshared key must be between 8 and 64 characters in length and cannot start with zero(0). Allowed characters are alphanumeric characters, periods(.) and underscores(_).
        Returns:
        builder
      • tunnel1RekeyFuzzPercentage

        public VpnConnectionArgs.Builder tunnel1RekeyFuzzPercentage​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Integer> tunnel1RekeyFuzzPercentage)
        Parameters:
        tunnel1RekeyFuzzPercentage - The percentage of the rekey window for the first VPN tunnel (determined by `tunnel1_rekey_margin_time_seconds`) during which the rekey time is randomly selected. Valid value is between `0` and `100`.
        Returns:
        builder
      • tunnel1RekeyFuzzPercentage

        public VpnConnectionArgs.Builder tunnel1RekeyFuzzPercentage​(java.lang.Integer tunnel1RekeyFuzzPercentage)
        Parameters:
        tunnel1RekeyFuzzPercentage - The percentage of the rekey window for the first VPN tunnel (determined by `tunnel1_rekey_margin_time_seconds`) during which the rekey time is randomly selected. Valid value is between `0` and `100`.
        Returns:
        builder
      • tunnel1RekeyMarginTimeSeconds

        public VpnConnectionArgs.Builder tunnel1RekeyMarginTimeSeconds​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.Integer> tunnel1RekeyMarginTimeSeconds)
        Parameters:
        tunnel1RekeyMarginTimeSeconds - The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the first VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for `tunnel1_rekey_fuzz_percentage`. Valid value is between `60` and half of `tunnel1_phase2_lifetime_seconds`.
        Returns:
        builder
      • tunnel1RekeyMarginTimeSeconds

        public VpnConnectionArgs.Builder tunnel1RekeyMarginTimeSeconds​(java.lang.Integer tunnel1RekeyMarginTimeSeconds)
        Parameters:
        tunnel1RekeyMarginTimeSeconds - The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the first VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for `tunnel1_rekey_fuzz_percentage`. Valid value is between `60` and half of `tunnel1_phase2_lifetime_seconds`.
        Returns:
        builder
      • tunnel1ReplayWindowSize

        public VpnConnectionArgs.Builder tunnel1ReplayWindowSize​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Integer> tunnel1ReplayWindowSize)
        Parameters:
        tunnel1ReplayWindowSize - The number of packets in an IKE replay window for the first VPN tunnel. Valid value is between `64` and `2048`.
        Returns:
        builder
      • tunnel1ReplayWindowSize

        public VpnConnectionArgs.Builder tunnel1ReplayWindowSize​(java.lang.Integer tunnel1ReplayWindowSize)
        Parameters:
        tunnel1ReplayWindowSize - The number of packets in an IKE replay window for the first VPN tunnel. Valid value is between `64` and `2048`.
        Returns:
        builder
      • tunnel1StartupAction

        public VpnConnectionArgs.Builder tunnel1StartupAction​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> tunnel1StartupAction)
        Parameters:
        tunnel1StartupAction - The action to take when the establishing the tunnel for the first VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation. Valid values are `add | start`.
        Returns:
        builder
      • tunnel1StartupAction

        public VpnConnectionArgs.Builder tunnel1StartupAction​(java.lang.String tunnel1StartupAction)
        Parameters:
        tunnel1StartupAction - The action to take when the establishing the tunnel for the first VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation. Valid values are `add | start`.
        Returns:
        builder
      • tunnel2DpdTimeoutAction

        public VpnConnectionArgs.Builder tunnel2DpdTimeoutAction​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> tunnel2DpdTimeoutAction)
        Parameters:
        tunnel2DpdTimeoutAction - The action to take after DPD timeout occurs for the second VPN tunnel. Specify restart to restart the IKE initiation. Specify clear to end the IKE session. Valid values are `clear | none | restart`.
        Returns:
        builder
      • tunnel2DpdTimeoutAction

        public VpnConnectionArgs.Builder tunnel2DpdTimeoutAction​(java.lang.String tunnel2DpdTimeoutAction)
        Parameters:
        tunnel2DpdTimeoutAction - The action to take after DPD timeout occurs for the second VPN tunnel. Specify restart to restart the IKE initiation. Specify clear to end the IKE session. Valid values are `clear | none | restart`.
        Returns:
        builder
      • tunnel2DpdTimeoutSeconds

        public VpnConnectionArgs.Builder tunnel2DpdTimeoutSeconds​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Integer> tunnel2DpdTimeoutSeconds)
        Parameters:
        tunnel2DpdTimeoutSeconds - The number of seconds after which a DPD timeout occurs for the second VPN tunnel. Valid value is equal or higher than `30`.
        Returns:
        builder
      • tunnel2DpdTimeoutSeconds

        public VpnConnectionArgs.Builder tunnel2DpdTimeoutSeconds​(java.lang.Integer tunnel2DpdTimeoutSeconds)
        Parameters:
        tunnel2DpdTimeoutSeconds - The number of seconds after which a DPD timeout occurs for the second VPN tunnel. Valid value is equal or higher than `30`.
        Returns:
        builder
      • tunnel2EnableTunnelLifecycleControl

        public VpnConnectionArgs.Builder tunnel2EnableTunnelLifecycleControl​(@Nullable
                                                                             com.pulumi.core.Output<java.lang.Boolean> tunnel2EnableTunnelLifecycleControl)
        Parameters:
        tunnel2EnableTunnelLifecycleControl - Turn on or off tunnel endpoint lifecycle control feature for the second VPN tunnel. Valid values are `true | false`.
        Returns:
        builder
      • tunnel2EnableTunnelLifecycleControl

        public VpnConnectionArgs.Builder tunnel2EnableTunnelLifecycleControl​(java.lang.Boolean tunnel2EnableTunnelLifecycleControl)
        Parameters:
        tunnel2EnableTunnelLifecycleControl - Turn on or off tunnel endpoint lifecycle control feature for the second VPN tunnel. Valid values are `true | false`.
        Returns:
        builder
      • tunnel2IkeVersions

        public VpnConnectionArgs.Builder tunnel2IkeVersions​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> tunnel2IkeVersions)
        Parameters:
        tunnel2IkeVersions - The IKE versions that are permitted for the second VPN tunnel. Valid values are `ikev1 | ikev2`.
        Returns:
        builder
      • tunnel2IkeVersions

        public VpnConnectionArgs.Builder tunnel2IkeVersions​(java.util.List<java.lang.String> tunnel2IkeVersions)
        Parameters:
        tunnel2IkeVersions - The IKE versions that are permitted for the second VPN tunnel. Valid values are `ikev1 | ikev2`.
        Returns:
        builder
      • tunnel2IkeVersions

        public VpnConnectionArgs.Builder tunnel2IkeVersions​(java.lang.String... tunnel2IkeVersions)
        Parameters:
        tunnel2IkeVersions - The IKE versions that are permitted for the second VPN tunnel. Valid values are `ikev1 | ikev2`.
        Returns:
        builder
      • tunnel2InsideCidr

        public VpnConnectionArgs.Builder tunnel2InsideCidr​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> tunnel2InsideCidr)
        Parameters:
        tunnel2InsideCidr - The CIDR block of the inside IP addresses for the second VPN tunnel. Valid value is a size /30 CIDR block from the 169.254.0.0/16 range.
        Returns:
        builder
      • tunnel2InsideCidr

        public VpnConnectionArgs.Builder tunnel2InsideCidr​(java.lang.String tunnel2InsideCidr)
        Parameters:
        tunnel2InsideCidr - The CIDR block of the inside IP addresses for the second VPN tunnel. Valid value is a size /30 CIDR block from the 169.254.0.0/16 range.
        Returns:
        builder
      • tunnel2InsideIpv6Cidr

        public VpnConnectionArgs.Builder tunnel2InsideIpv6Cidr​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> tunnel2InsideIpv6Cidr)
        Parameters:
        tunnel2InsideIpv6Cidr - The range of inside IPv6 addresses for the second VPN tunnel. Supports only EC2 Transit Gateway. Valid value is a size /126 CIDR block from the local fd00::/8 range.
        Returns:
        builder
      • tunnel2InsideIpv6Cidr

        public VpnConnectionArgs.Builder tunnel2InsideIpv6Cidr​(java.lang.String tunnel2InsideIpv6Cidr)
        Parameters:
        tunnel2InsideIpv6Cidr - The range of inside IPv6 addresses for the second VPN tunnel. Supports only EC2 Transit Gateway. Valid value is a size /126 CIDR block from the local fd00::/8 range.
        Returns:
        builder
      • tunnel2Phase1DhGroupNumbers

        public VpnConnectionArgs.Builder tunnel2Phase1DhGroupNumbers​(@Nullable
                                                                     com.pulumi.core.Output<java.util.List<java.lang.Integer>> tunnel2Phase1DhGroupNumbers)
        Parameters:
        tunnel2Phase1DhGroupNumbers - List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are ` 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 `.
        Returns:
        builder
      • tunnel2Phase1DhGroupNumbers

        public VpnConnectionArgs.Builder tunnel2Phase1DhGroupNumbers​(java.util.List<java.lang.Integer> tunnel2Phase1DhGroupNumbers)
        Parameters:
        tunnel2Phase1DhGroupNumbers - List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are ` 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 `.
        Returns:
        builder
      • tunnel2Phase1DhGroupNumbers

        public VpnConnectionArgs.Builder tunnel2Phase1DhGroupNumbers​(java.lang.Integer... tunnel2Phase1DhGroupNumbers)
        Parameters:
        tunnel2Phase1DhGroupNumbers - List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are ` 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 `.
        Returns:
        builder
      • tunnel2Phase1EncryptionAlgorithms

        public VpnConnectionArgs.Builder tunnel2Phase1EncryptionAlgorithms​(@Nullable
                                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> tunnel2Phase1EncryptionAlgorithms)
        Parameters:
        tunnel2Phase1EncryptionAlgorithms - List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
        Returns:
        builder
      • tunnel2Phase1EncryptionAlgorithms

        public VpnConnectionArgs.Builder tunnel2Phase1EncryptionAlgorithms​(java.util.List<java.lang.String> tunnel2Phase1EncryptionAlgorithms)
        Parameters:
        tunnel2Phase1EncryptionAlgorithms - List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
        Returns:
        builder
      • tunnel2Phase1EncryptionAlgorithms

        public VpnConnectionArgs.Builder tunnel2Phase1EncryptionAlgorithms​(java.lang.String... tunnel2Phase1EncryptionAlgorithms)
        Parameters:
        tunnel2Phase1EncryptionAlgorithms - List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
        Returns:
        builder
      • tunnel2Phase1IntegrityAlgorithms

        public VpnConnectionArgs.Builder tunnel2Phase1IntegrityAlgorithms​(@Nullable
                                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> tunnel2Phase1IntegrityAlgorithms)
        Parameters:
        tunnel2Phase1IntegrityAlgorithms - One or more integrity algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
        Returns:
        builder
      • tunnel2Phase1IntegrityAlgorithms

        public VpnConnectionArgs.Builder tunnel2Phase1IntegrityAlgorithms​(java.util.List<java.lang.String> tunnel2Phase1IntegrityAlgorithms)
        Parameters:
        tunnel2Phase1IntegrityAlgorithms - One or more integrity algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
        Returns:
        builder
      • tunnel2Phase1IntegrityAlgorithms

        public VpnConnectionArgs.Builder tunnel2Phase1IntegrityAlgorithms​(java.lang.String... tunnel2Phase1IntegrityAlgorithms)
        Parameters:
        tunnel2Phase1IntegrityAlgorithms - One or more integrity algorithms that are permitted for the second VPN tunnel for phase 1 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
        Returns:
        builder
      • tunnel2Phase1LifetimeSeconds

        public VpnConnectionArgs.Builder tunnel2Phase1LifetimeSeconds​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Integer> tunnel2Phase1LifetimeSeconds)
        Parameters:
        tunnel2Phase1LifetimeSeconds - The lifetime for phase 1 of the IKE negotiation for the second VPN tunnel, in seconds. Valid value is between `900` and `28800`.
        Returns:
        builder
      • tunnel2Phase1LifetimeSeconds

        public VpnConnectionArgs.Builder tunnel2Phase1LifetimeSeconds​(java.lang.Integer tunnel2Phase1LifetimeSeconds)
        Parameters:
        tunnel2Phase1LifetimeSeconds - The lifetime for phase 1 of the IKE negotiation for the second VPN tunnel, in seconds. Valid value is between `900` and `28800`.
        Returns:
        builder
      • tunnel2Phase2DhGroupNumbers

        public VpnConnectionArgs.Builder tunnel2Phase2DhGroupNumbers​(@Nullable
                                                                     com.pulumi.core.Output<java.util.List<java.lang.Integer>> tunnel2Phase2DhGroupNumbers)
        Parameters:
        tunnel2Phase2DhGroupNumbers - List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24`.
        Returns:
        builder
      • tunnel2Phase2DhGroupNumbers

        public VpnConnectionArgs.Builder tunnel2Phase2DhGroupNumbers​(java.util.List<java.lang.Integer> tunnel2Phase2DhGroupNumbers)
        Parameters:
        tunnel2Phase2DhGroupNumbers - List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24`.
        Returns:
        builder
      • tunnel2Phase2DhGroupNumbers

        public VpnConnectionArgs.Builder tunnel2Phase2DhGroupNumbers​(java.lang.Integer... tunnel2Phase2DhGroupNumbers)
        Parameters:
        tunnel2Phase2DhGroupNumbers - List of one or more Diffie-Hellman group numbers that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24`.
        Returns:
        builder
      • tunnel2Phase2EncryptionAlgorithms

        public VpnConnectionArgs.Builder tunnel2Phase2EncryptionAlgorithms​(@Nullable
                                                                           com.pulumi.core.Output<java.util.List<java.lang.String>> tunnel2Phase2EncryptionAlgorithms)
        Parameters:
        tunnel2Phase2EncryptionAlgorithms - List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
        Returns:
        builder
      • tunnel2Phase2EncryptionAlgorithms

        public VpnConnectionArgs.Builder tunnel2Phase2EncryptionAlgorithms​(java.util.List<java.lang.String> tunnel2Phase2EncryptionAlgorithms)
        Parameters:
        tunnel2Phase2EncryptionAlgorithms - List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
        Returns:
        builder
      • tunnel2Phase2EncryptionAlgorithms

        public VpnConnectionArgs.Builder tunnel2Phase2EncryptionAlgorithms​(java.lang.String... tunnel2Phase2EncryptionAlgorithms)
        Parameters:
        tunnel2Phase2EncryptionAlgorithms - List of one or more encryption algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `AES128 | AES256 | AES128-GCM-16 | AES256-GCM-16`.
        Returns:
        builder
      • tunnel2Phase2IntegrityAlgorithms

        public VpnConnectionArgs.Builder tunnel2Phase2IntegrityAlgorithms​(@Nullable
                                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> tunnel2Phase2IntegrityAlgorithms)
        Parameters:
        tunnel2Phase2IntegrityAlgorithms - List of one or more integrity algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
        Returns:
        builder
      • tunnel2Phase2IntegrityAlgorithms

        public VpnConnectionArgs.Builder tunnel2Phase2IntegrityAlgorithms​(java.util.List<java.lang.String> tunnel2Phase2IntegrityAlgorithms)
        Parameters:
        tunnel2Phase2IntegrityAlgorithms - List of one or more integrity algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
        Returns:
        builder
      • tunnel2Phase2IntegrityAlgorithms

        public VpnConnectionArgs.Builder tunnel2Phase2IntegrityAlgorithms​(java.lang.String... tunnel2Phase2IntegrityAlgorithms)
        Parameters:
        tunnel2Phase2IntegrityAlgorithms - List of one or more integrity algorithms that are permitted for the second VPN tunnel for phase 2 IKE negotiations. Valid values are `SHA1 | SHA2-256 | SHA2-384 | SHA2-512`.
        Returns:
        builder
      • tunnel2Phase2LifetimeSeconds

        public VpnConnectionArgs.Builder tunnel2Phase2LifetimeSeconds​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.Integer> tunnel2Phase2LifetimeSeconds)
        Parameters:
        tunnel2Phase2LifetimeSeconds - The lifetime for phase 2 of the IKE negotiation for the second VPN tunnel, in seconds. Valid value is between `900` and `3600`.
        Returns:
        builder
      • tunnel2Phase2LifetimeSeconds

        public VpnConnectionArgs.Builder tunnel2Phase2LifetimeSeconds​(java.lang.Integer tunnel2Phase2LifetimeSeconds)
        Parameters:
        tunnel2Phase2LifetimeSeconds - The lifetime for phase 2 of the IKE negotiation for the second VPN tunnel, in seconds. Valid value is between `900` and `3600`.
        Returns:
        builder
      • tunnel2PresharedKey

        public VpnConnectionArgs.Builder tunnel2PresharedKey​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> tunnel2PresharedKey)
        Parameters:
        tunnel2PresharedKey - The preshared key of the second VPN tunnel. The preshared key must be between 8 and 64 characters in length and cannot start with zero(0). Allowed characters are alphanumeric characters, periods(.) and underscores(_).
        Returns:
        builder
      • tunnel2PresharedKey

        public VpnConnectionArgs.Builder tunnel2PresharedKey​(java.lang.String tunnel2PresharedKey)
        Parameters:
        tunnel2PresharedKey - The preshared key of the second VPN tunnel. The preshared key must be between 8 and 64 characters in length and cannot start with zero(0). Allowed characters are alphanumeric characters, periods(.) and underscores(_).
        Returns:
        builder
      • tunnel2RekeyFuzzPercentage

        public VpnConnectionArgs.Builder tunnel2RekeyFuzzPercentage​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Integer> tunnel2RekeyFuzzPercentage)
        Parameters:
        tunnel2RekeyFuzzPercentage - The percentage of the rekey window for the second VPN tunnel (determined by `tunnel2_rekey_margin_time_seconds`) during which the rekey time is randomly selected. Valid value is between `0` and `100`.
        Returns:
        builder
      • tunnel2RekeyFuzzPercentage

        public VpnConnectionArgs.Builder tunnel2RekeyFuzzPercentage​(java.lang.Integer tunnel2RekeyFuzzPercentage)
        Parameters:
        tunnel2RekeyFuzzPercentage - The percentage of the rekey window for the second VPN tunnel (determined by `tunnel2_rekey_margin_time_seconds`) during which the rekey time is randomly selected. Valid value is between `0` and `100`.
        Returns:
        builder
      • tunnel2RekeyMarginTimeSeconds

        public VpnConnectionArgs.Builder tunnel2RekeyMarginTimeSeconds​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.Integer> tunnel2RekeyMarginTimeSeconds)
        Parameters:
        tunnel2RekeyMarginTimeSeconds - The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the second VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for `tunnel2_rekey_fuzz_percentage`. Valid value is between `60` and half of `tunnel2_phase2_lifetime_seconds`.
        Returns:
        builder
      • tunnel2RekeyMarginTimeSeconds

        public VpnConnectionArgs.Builder tunnel2RekeyMarginTimeSeconds​(java.lang.Integer tunnel2RekeyMarginTimeSeconds)
        Parameters:
        tunnel2RekeyMarginTimeSeconds - The margin time, in seconds, before the phase 2 lifetime expires, during which the AWS side of the second VPN connection performs an IKE rekey. The exact time of the rekey is randomly selected based on the value for `tunnel2_rekey_fuzz_percentage`. Valid value is between `60` and half of `tunnel2_phase2_lifetime_seconds`.
        Returns:
        builder
      • tunnel2ReplayWindowSize

        public VpnConnectionArgs.Builder tunnel2ReplayWindowSize​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Integer> tunnel2ReplayWindowSize)
        Parameters:
        tunnel2ReplayWindowSize - The number of packets in an IKE replay window for the second VPN tunnel. Valid value is between `64` and `2048`.
        Returns:
        builder
      • tunnel2ReplayWindowSize

        public VpnConnectionArgs.Builder tunnel2ReplayWindowSize​(java.lang.Integer tunnel2ReplayWindowSize)
        Parameters:
        tunnel2ReplayWindowSize - The number of packets in an IKE replay window for the second VPN tunnel. Valid value is between `64` and `2048`.
        Returns:
        builder
      • tunnel2StartupAction

        public VpnConnectionArgs.Builder tunnel2StartupAction​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> tunnel2StartupAction)
        Parameters:
        tunnel2StartupAction - The action to take when the establishing the tunnel for the second VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation. Valid values are `add | start`.
        Returns:
        builder
      • tunnel2StartupAction

        public VpnConnectionArgs.Builder tunnel2StartupAction​(java.lang.String tunnel2StartupAction)
        Parameters:
        tunnel2StartupAction - The action to take when the establishing the tunnel for the second VPN connection. By default, your customer gateway device must initiate the IKE negotiation and bring up the tunnel. Specify start for AWS to initiate the IKE negotiation. Valid values are `add | start`.
        Returns:
        builder
      • tunnelInsideIpVersion

        public VpnConnectionArgs.Builder tunnelInsideIpVersion​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> tunnelInsideIpVersion)
        Parameters:
        tunnelInsideIpVersion - Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. Valid values are `ipv4 | ipv6`. `ipv6` Supports only EC2 Transit Gateway.
        Returns:
        builder
      • tunnelInsideIpVersion

        public VpnConnectionArgs.Builder tunnelInsideIpVersion​(java.lang.String tunnelInsideIpVersion)
        Parameters:
        tunnelInsideIpVersion - Indicate whether the VPN tunnels process IPv4 or IPv6 traffic. Valid values are `ipv4 | ipv6`. `ipv6` Supports only EC2 Transit Gateway.
        Returns:
        builder
      • type

        public VpnConnectionArgs.Builder type​(com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - The type of VPN connection. The only type AWS supports at this time is "ipsec.1".
        Returns:
        builder
      • type

        public VpnConnectionArgs.Builder type​(java.lang.String type)
        Parameters:
        type - The type of VPN connection. The only type AWS supports at this time is "ipsec.1".
        Returns:
        builder
      • vpnGatewayId

        public VpnConnectionArgs.Builder vpnGatewayId​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> vpnGatewayId)
        Parameters:
        vpnGatewayId - The ID of the Virtual Private Gateway.
        Returns:
        builder
      • vpnGatewayId

        public VpnConnectionArgs.Builder vpnGatewayId​(java.lang.String vpnGatewayId)
        Parameters:
        vpnGatewayId - The ID of the Virtual Private Gateway.
        Returns:
        builder