Class: Aws::EC2::Types::ModifyTransitGatewayRequest

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

{
  transit_gateway_id: "TransitGatewayId", # required
  description: "String",
  options: {
    vpn_ecmp_support: "enable", # accepts enable, disable
    dns_support: "enable", # accepts enable, disable
    auto_accept_shared_attachments: "enable", # accepts enable, disable
    default_route_table_association: "enable", # accepts enable, disable
    association_default_route_table_id: "TransitGatewayRouteTableId",
    default_route_table_propagation: "enable", # accepts enable, disable
    propagation_default_route_table_id: "TransitGatewayRouteTableId",
  },
  dry_run: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The description for the transit gateway.

Returns:

  • (String)


36614
36615
36616
36617
36618
36619
36620
36621
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36614

class ModifyTransitGatewayRequest < Struct.new(
  :transit_gateway_id,
  :description,
  :options,
  :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)


36614
36615
36616
36617
36618
36619
36620
36621
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36614

class ModifyTransitGatewayRequest < Struct.new(
  :transit_gateway_id,
  :description,
  :options,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#optionsTypes::ModifyTransitGatewayOptions

The options to modify.



36614
36615
36616
36617
36618
36619
36620
36621
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36614

class ModifyTransitGatewayRequest < Struct.new(
  :transit_gateway_id,
  :description,
  :options,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#transit_gateway_idString

The ID of the transit gateway.

Returns:

  • (String)


36614
36615
36616
36617
36618
36619
36620
36621
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 36614

class ModifyTransitGatewayRequest < Struct.new(
  :transit_gateway_id,
  :description,
  :options,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end