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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass ModifyVpnTunnelOptionsRequest data as a 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,
}

Constant Summary collapse

SENSITIVE =
[]

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)


42906
42907
42908
42909
42910
42911
42912
42913
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42906

class ModifyVpnTunnelOptionsRequest < Struct.new(
  :vpn_connection_id,
  :vpn_tunnel_outside_ip_address,
  :tunnel_options,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#tunnel_optionsTypes::ModifyVpnTunnelOptionsSpecification

The tunnel options to modify.



42906
42907
42908
42909
42910
42911
42912
42913
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42906

class ModifyVpnTunnelOptionsRequest < Struct.new(
  :vpn_connection_id,
  :vpn_tunnel_outside_ip_address,
  :tunnel_options,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#vpn_connection_idString

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

Returns:

  • (String)


42906
42907
42908
42909
42910
42911
42912
42913
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42906

class ModifyVpnTunnelOptionsRequest < Struct.new(
  :vpn_connection_id,
  :vpn_tunnel_outside_ip_address,
  :tunnel_options,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#vpn_tunnel_outside_ip_addressString

The external IP address of the VPN tunnel.

Returns:

  • (String)


42906
42907
42908
42909
42910
42911
42912
42913
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42906

class ModifyVpnTunnelOptionsRequest < Struct.new(
  :vpn_connection_id,
  :vpn_tunnel_outside_ip_address,
  :tunnel_options,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end