You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EC2::Types::ModifyVpnTunnelOptionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ModifyVpnTunnelOptionsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  vpn_connection_id: "VpnConnectionId", # required
  vpn_tunnel_outside_ip_address: "String", # required
  tunnel_options: { # required
    tunnel_inside_cidr: "String",
    tunnel_inside_ipv_6_cidr: "String",
    pre_shared_key: "String",
    phase_1_lifetime_seconds: 1,
    phase_2_lifetime_seconds: 1,
    rekey_margin_time_seconds: 1,
    rekey_fuzz_percentage: 1,
    replay_window_size: 1,
    dpd_timeout_seconds: 1,
    dpd_timeout_action: "String",
    phase_1_encryption_algorithms: [
      {
        value: "String",
      },
    ],
    phase_2_encryption_algorithms: [
      {
        value: "String",
      },
    ],
    phase_1_integrity_algorithms: [
      {
        value: "String",
      },
    ],
    phase_2_integrity_algorithms: [
      {
        value: "String",
      },
    ],
    phase_1_dh_group_numbers: [
      {
        value: 1,
      },
    ],
    phase_2_dh_group_numbers: [
      {
        value: 1,
      },
    ],
    ike_versions: [
      {
        value: "String",
      },
    ],
    startup_action: "String",
  },
  dry_run: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#dry_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Returns:

  • (Boolean)

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.

#tunnel_optionsTypes::ModifyVpnTunnelOptionsSpecification

The tunnel options to modify.

Returns:

#vpn_connection_idString

The ID of the AWS Site-to-Site VPN connection.

Returns:

  • (String)

    The ID of the AWS Site-to-Site VPN connection.

#vpn_tunnel_outside_ip_addressString

The external IP address of the VPN tunnel.

Returns:

  • (String)

    The external IP address of the VPN tunnel.