Class: Aws::EC2::Types::CreateLocalGatewayRouteRequest

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

{
  destination_cidr_block: "String", # required
  local_gateway_route_table_id: "LocalGatewayRoutetableId", # required
  dry_run: false,
  local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destination_cidr_blockString

The CIDR range used for destination matches. Routing decisions are based on the most specific match.

Returns:

  • (String)


8035
8036
8037
8038
8039
8040
8041
8042
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8035

class CreateLocalGatewayRouteRequest < Struct.new(
  :destination_cidr_block,
  :local_gateway_route_table_id,
  :dry_run,
  :local_gateway_virtual_interface_group_id)
  SENSITIVE = []
  include Aws::Structure
end

#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)


8035
8036
8037
8038
8039
8040
8041
8042
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8035

class CreateLocalGatewayRouteRequest < Struct.new(
  :destination_cidr_block,
  :local_gateway_route_table_id,
  :dry_run,
  :local_gateway_virtual_interface_group_id)
  SENSITIVE = []
  include Aws::Structure
end

#local_gateway_route_table_idString

The ID of the local gateway route table.

Returns:

  • (String)


8035
8036
8037
8038
8039
8040
8041
8042
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8035

class CreateLocalGatewayRouteRequest < Struct.new(
  :destination_cidr_block,
  :local_gateway_route_table_id,
  :dry_run,
  :local_gateway_virtual_interface_group_id)
  SENSITIVE = []
  include Aws::Structure
end

#local_gateway_virtual_interface_group_idString

The ID of the virtual interface group.

Returns:

  • (String)


8035
8036
8037
8038
8039
8040
8041
8042
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8035

class CreateLocalGatewayRouteRequest < Struct.new(
  :destination_cidr_block,
  :local_gateway_route_table_id,
  :dry_run,
  :local_gateway_virtual_interface_group_id)
  SENSITIVE = []
  include Aws::Structure
end