Class: Aws::EC2::Types::ModifyVpnConnectionOptionsRequest

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 ModifyVpnConnectionOptionsRequest data as a hash:

{
  vpn_connection_id: "VpnConnectionId", # required
  local_ipv_4_network_cidr: "String",
  remote_ipv_4_network_cidr: "String",
  local_ipv_6_network_cidr: "String",
  remote_ipv_6_network_cidr: "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)


37729
37730
37731
37732
37733
37734
37735
37736
37737
37738
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37729

class ModifyVpnConnectionOptionsRequest < Struct.new(
  :vpn_connection_id,
  :local_ipv_4_network_cidr,
  :remote_ipv_4_network_cidr,
  :local_ipv_6_network_cidr,
  :remote_ipv_6_network_cidr,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#local_ipv_4_network_cidrString

The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

Default: 0.0.0.0/0

Returns:

  • (String)


37729
37730
37731
37732
37733
37734
37735
37736
37737
37738
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37729

class ModifyVpnConnectionOptionsRequest < Struct.new(
  :vpn_connection_id,
  :local_ipv_4_network_cidr,
  :remote_ipv_4_network_cidr,
  :local_ipv_6_network_cidr,
  :remote_ipv_6_network_cidr,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#local_ipv_6_network_cidrString

The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

Default: ::/0

Returns:

  • (String)


37729
37730
37731
37732
37733
37734
37735
37736
37737
37738
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37729

class ModifyVpnConnectionOptionsRequest < Struct.new(
  :vpn_connection_id,
  :local_ipv_4_network_cidr,
  :remote_ipv_4_network_cidr,
  :local_ipv_6_network_cidr,
  :remote_ipv_6_network_cidr,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#remote_ipv_4_network_cidrString

The IPv4 CIDR on the AWS side of the VPN connection.

Default: 0.0.0.0/0

Returns:

  • (String)


37729
37730
37731
37732
37733
37734
37735
37736
37737
37738
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37729

class ModifyVpnConnectionOptionsRequest < Struct.new(
  :vpn_connection_id,
  :local_ipv_4_network_cidr,
  :remote_ipv_4_network_cidr,
  :local_ipv_6_network_cidr,
  :remote_ipv_6_network_cidr,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#remote_ipv_6_network_cidrString

The IPv6 CIDR on the AWS side of the VPN connection.

Default: ::/0

Returns:

  • (String)


37729
37730
37731
37732
37733
37734
37735
37736
37737
37738
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37729

class ModifyVpnConnectionOptionsRequest < Struct.new(
  :vpn_connection_id,
  :local_ipv_4_network_cidr,
  :remote_ipv_4_network_cidr,
  :local_ipv_6_network_cidr,
  :remote_ipv_6_network_cidr,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#vpn_connection_idString

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

Returns:

  • (String)


37729
37730
37731
37732
37733
37734
37735
37736
37737
37738
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37729

class ModifyVpnConnectionOptionsRequest < Struct.new(
  :vpn_connection_id,
  :local_ipv_4_network_cidr,
  :remote_ipv_4_network_cidr,
  :local_ipv_6_network_cidr,
  :remote_ipv_6_network_cidr,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end