Class: Aws::EC2::Types::AssociateTrunkInterfaceRequest

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

{
  branch_interface_id: "NetworkInterfaceId", # required
  trunk_interface_id: "NetworkInterfaceId", # required
  vlan_id: 1,
  gre_key: 1,
  client_token: "String",
  dry_run: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#branch_interface_idString

The ID of the branch network interface.

Returns:

  • (String)


1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1936

class AssociateTrunkInterfaceRequest < Struct.new(
  :branch_interface_id,
  :trunk_interface_id,
  :vlan_id,
  :gre_key,
  :client_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1936

class AssociateTrunkInterfaceRequest < Struct.new(
  :branch_interface_id,
  :trunk_interface_id,
  :vlan_id,
  :gre_key,
  :client_token,
  :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)


1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1936

class AssociateTrunkInterfaceRequest < Struct.new(
  :branch_interface_id,
  :trunk_interface_id,
  :vlan_id,
  :gre_key,
  :client_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#gre_keyInteger

The application key. This applies to the GRE protocol.

Returns:

  • (Integer)


1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1936

class AssociateTrunkInterfaceRequest < Struct.new(
  :branch_interface_id,
  :trunk_interface_id,
  :vlan_id,
  :gre_key,
  :client_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#trunk_interface_idString

The ID of the trunk network interface.

Returns:

  • (String)


1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1936

class AssociateTrunkInterfaceRequest < Struct.new(
  :branch_interface_id,
  :trunk_interface_id,
  :vlan_id,
  :gre_key,
  :client_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#vlan_idInteger

The ID of the VLAN. This applies to the VLAN protocol.

Returns:

  • (Integer)


1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1936

class AssociateTrunkInterfaceRequest < Struct.new(
  :branch_interface_id,
  :trunk_interface_id,
  :vlan_id,
  :gre_key,
  :client_token,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end