Class: Aws::EC2::Types::ModifyTransitGatewayAttachmentNatConfigurationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dry_run ⇒ Boolean

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)


70517
70518
70519
70520
70521
70522
70523
70524
70525
70526
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 70517

class ModifyTransitGatewayAttachmentNatConfigurationRequest < Struct.new(
  :transit_gateway_attachment_id,
  :nat_gateway_support,
  :nat_system_route_support,
  :nat_gateway_rules,
  :reset_nat_gateway_rules,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#nat_gateway_rules ⇒ Array<Types::TransitGatewayNatRuleRequest>

The NAT gateway rules for the attachment. The rules that you specify replace all existing NAT gateway rules for the attachment. You can specify up to 50 rules for an attachment. If you omit this parameter, the existing rules don't change. To remove all rules, use ResetNatGatewayRules.



70517
70518
70519
70520
70521
70522
70523
70524
70525
70526
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 70517

class ModifyTransitGatewayAttachmentNatConfigurationRequest < Struct.new(
  :transit_gateway_attachment_id,
  :nat_gateway_support,
  :nat_system_route_support,
  :nat_gateway_rules,
  :reset_nat_gateway_rules,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#nat_gateway_support ⇒ String

Specifies whether to enable or disable NAT gateway support for the attachment. To enable NAT gateway support, the attachment must have at least one NAT gateway rule. You can't modify the NAT configuration while NAT gateway support is enabling or disabling. If you omit this parameter, the current value doesn't change.

Returns:

  • (String)


70517
70518
70519
70520
70521
70522
70523
70524
70525
70526
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 70517

class ModifyTransitGatewayAttachmentNatConfigurationRequest < Struct.new(
  :transit_gateway_attachment_id,
  :nat_gateway_support,
  :nat_system_route_support,
  :nat_gateway_rules,
  :reset_nat_gateway_rules,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#nat_system_route_support ⇒ String

Specifies whether the transit gateway installs routes for the NAT CIDRs in the route tables to which the attachment propagates. For VPC attachments, the transit gateway always installs these routes. You can enable or disable this option only for Amazon Web Services Direct Connect gateway attachments and Site-to-Site VPN attachments that use dynamic routing. For these attachments, the default is enable. If you omit this parameter, the current value doesn't change.

Returns:

  • (String)


70517
70518
70519
70520
70521
70522
70523
70524
70525
70526
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 70517

class ModifyTransitGatewayAttachmentNatConfigurationRequest < Struct.new(
  :transit_gateway_attachment_id,
  :nat_gateway_support,
  :nat_system_route_support,
  :nat_gateway_rules,
  :reset_nat_gateway_rules,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#reset_nat_gateway_rules ⇒ Boolean

Specifies whether to remove all NAT gateway rules from the attachment. If you omit this parameter, the transit gateway doesn't remove any rules. You can't specify this parameter together with NatGatewayRules. Because you can't enable NAT gateway support without rules, also set NatGatewaySupport to disable in the same request if NAT gateway support is currently enabled.

Returns:

  • (Boolean)


70517
70518
70519
70520
70521
70522
70523
70524
70525
70526
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 70517

class ModifyTransitGatewayAttachmentNatConfigurationRequest < Struct.new(
  :transit_gateway_attachment_id,
  :nat_gateway_support,
  :nat_system_route_support,
  :nat_gateway_rules,
  :reset_nat_gateway_rules,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#transit_gateway_attachment_id ⇒ String

The ID of the transit gateway attachment.

Returns:

  • (String)


70517
70518
70519
70520
70521
70522
70523
70524
70525
70526
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 70517

class ModifyTransitGatewayAttachmentNatConfigurationRequest < Struct.new(
  :transit_gateway_attachment_id,
  :nat_gateway_support,
  :nat_system_route_support,
  :nat_gateway_rules,
  :reset_nat_gateway_rules,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end