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
  local_gateway_virtual_interface_group_id: "LocalGatewayVirtualInterfaceGroupId", # required
  dry_run: false,
}

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)


6667
6668
6669
6670
6671
6672
6673
6674
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6667

class CreateLocalGatewayRouteRequest < Struct.new(
  :destination_cidr_block,
  :local_gateway_route_table_id,
  :local_gateway_virtual_interface_group_id,
  :dry_run)
  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)


6667
6668
6669
6670
6671
6672
6673
6674
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6667

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

#local_gateway_route_table_idString

The ID of the local gateway route table.

Returns:

  • (String)


6667
6668
6669
6670
6671
6672
6673
6674
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6667

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

#local_gateway_virtual_interface_group_idString

The ID of the virtual interface group.

Returns:

  • (String)


6667
6668
6669
6670
6671
6672
6673
6674
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6667

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