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)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2314

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)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2314

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)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2314

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)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2314

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)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2314

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)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2314

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