aws-sdk-ec2 1.659.0 → 1.661.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +298 -10
- data/lib/aws-sdk-ec2/client_api.rb +148 -0
- data/lib/aws-sdk-ec2/image.rb +11 -0
- data/lib/aws-sdk-ec2/resource.rb +43 -0
- data/lib/aws-sdk-ec2/types.rb +792 -3
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +62 -1
- data/sig/image.rbs +3 -0
- data/sig/types.rbs +111 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ec5ea630cb025e3ca63864e7a15a3078f2c114d8ff627cc91657d1bd37d5479
|
|
4
|
+
data.tar.gz: f5793d6aa809d79badd207f984ffbc101a749b84840eb8774f0f9c798ce2844e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c7fb21a15f183e8f8db3fcd77a8a13edb6d9744c7133a832bc8b80dc8e29b0dc32a0ae36600cddb36c935c119edaedd71480bd3f123d5bbb975c89d77d654d2
|
|
7
|
+
data.tar.gz: 101123997e8482c5f4ce2fdb96da573a3695cb6946af8705d5936ae9e48fb51bbdfca477ceaeb94ad4b6c45e24bfbc687a072105ecc2ba324fa449ee6595f060
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.661.0 (2026-10-27)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - EC2 AMIs can now show vulnerability data and be targeted directly for scanning.
|
|
8
|
+
|
|
9
|
+
1.660.0 (2026-10-22)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - AWS Transit Gateway now provides managed one-to-one NAT directly on its attachments, through integration with Regional Private NAT Gateway. Use ModifyTransitGatewayAttachmentNatConfiguration to enable NAT and configure NAT rules, and GetTransitGatewayAttachmentNatConfiguration to view them.
|
|
13
|
+
|
|
4
14
|
1.659.0 (2026-10-21)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.661.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -18067,7 +18067,7 @@ module Aws::EC2
|
|
|
18067
18067
|
# resp.route.transit_gateway_attachments[0].resource_id #=> String
|
|
18068
18068
|
# resp.route.transit_gateway_attachments[0].transit_gateway_attachment_id #=> String
|
|
18069
18069
|
# resp.route.transit_gateway_attachments[0].resource_type #=> String, one of "vpc", "vpn", "vpn-concentrator", "direct-connect-gateway", "connect", "peering", "tgw-peering", "network-function", "client-vpn"
|
|
18070
|
-
# resp.route.type #=> String, one of "static", "propagated"
|
|
18070
|
+
# resp.route.type #=> String, one of "static", "propagated", "system"
|
|
18071
18071
|
# resp.route.state #=> String, one of "pending", "active", "blackhole", "deleting", "deleted"
|
|
18072
18072
|
#
|
|
18073
18073
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayRoute AWS API Documentation
|
|
@@ -24718,7 +24718,7 @@ module Aws::EC2
|
|
|
24718
24718
|
# resp.route.transit_gateway_attachments[0].resource_id #=> String
|
|
24719
24719
|
# resp.route.transit_gateway_attachments[0].transit_gateway_attachment_id #=> String
|
|
24720
24720
|
# resp.route.transit_gateway_attachments[0].resource_type #=> String, one of "vpc", "vpn", "vpn-concentrator", "direct-connect-gateway", "connect", "peering", "tgw-peering", "network-function", "client-vpn"
|
|
24721
|
-
# resp.route.type #=> String, one of "static", "propagated"
|
|
24721
|
+
# resp.route.type #=> String, one of "static", "propagated", "system"
|
|
24722
24722
|
# resp.route.state #=> String, one of "pending", "active", "blackhole", "deleting", "deleted"
|
|
24723
24723
|
#
|
|
24724
24724
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayRoute AWS API Documentation
|
|
@@ -24730,11 +24730,13 @@ module Aws::EC2
|
|
|
24730
24730
|
req.send_request(options)
|
|
24731
24731
|
end
|
|
24732
24732
|
|
|
24733
|
-
# Deletes the specified transit gateway route table.
|
|
24734
|
-
#
|
|
24735
|
-
#
|
|
24736
|
-
#
|
|
24737
|
-
#
|
|
24733
|
+
# Deletes the specified transit gateway route table. Before you can
|
|
24734
|
+
# delete a transit gateway route table, you must disassociate all
|
|
24735
|
+
# attachments from it by using DisassociateTransitGatewayRouteTable and
|
|
24736
|
+
# wait for the disassociations to complete. You can't delete a transit
|
|
24737
|
+
# gateway route table that is the default association route table or
|
|
24738
|
+
# default propagation route table for the transit gateway. To change the
|
|
24739
|
+
# default route tables, use ModifyTransitGateway.
|
|
24738
24740
|
#
|
|
24739
24741
|
# @option params [required, String] :transit_gateway_route_table_id
|
|
24740
24742
|
# The ID of the transit gateway route table.
|
|
@@ -32269,6 +32271,49 @@ module Aws::EC2
|
|
|
32269
32271
|
# * `root-device-type` - The type of the root device volume (`ebs` \|
|
|
32270
32272
|
# `instance-store`).
|
|
32271
32273
|
#
|
|
32274
|
+
# * `scan-result.critical-fix-available-since` - The earliest date and
|
|
32275
|
+
# time, in the ISO 8601 format in the UTC time zone
|
|
32276
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
32277
|
+
# as available for a `critical` severity finding on the AMI.
|
|
32278
|
+
#
|
|
32279
|
+
# * `scan-result.finding-scan-date` - The date and time, in the ISO 8601
|
|
32280
|
+
# format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), of the most
|
|
32281
|
+
# recent Amazon Inspector scan of the AMI.
|
|
32282
|
+
#
|
|
32283
|
+
# * `scan-result.high-fix-available-since` - The earliest date and time,
|
|
32284
|
+
# in the ISO 8601 format in the UTC time zone
|
|
32285
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
32286
|
+
# as available for a `high` severity finding on the AMI.
|
|
32287
|
+
#
|
|
32288
|
+
# * `scan-result.highest-finding-severity-label` - The highest severity
|
|
32289
|
+
# among the AMI's Amazon Inspector findings, whether or not a fix is
|
|
32290
|
+
# available. The valid values are the following Amazon Inspector
|
|
32291
|
+
# severity levels:
|
|
32292
|
+
#
|
|
32293
|
+
# * `informational` - CVSS score of 0.
|
|
32294
|
+
#
|
|
32295
|
+
# * `low` - CVSS score of 0.1 to 3.9.
|
|
32296
|
+
#
|
|
32297
|
+
# * `medium` - CVSS score of 4.0 to 6.9.
|
|
32298
|
+
#
|
|
32299
|
+
# * `high` - CVSS score of 7.0 to 8.9.
|
|
32300
|
+
#
|
|
32301
|
+
# * `critical` - CVSS score of 9.0 to 10.0.
|
|
32302
|
+
# * `scan-result.informational-fix-available-since` - The earliest date
|
|
32303
|
+
# and time, in the ISO 8601 format in the UTC time zone
|
|
32304
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
32305
|
+
# as available for an `informational` severity finding on the AMI.
|
|
32306
|
+
#
|
|
32307
|
+
# * `scan-result.low-fix-available-since` - The earliest date and time,
|
|
32308
|
+
# in the ISO 8601 format in the UTC time zone
|
|
32309
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
32310
|
+
# as available for a `low` severity finding on the AMI.
|
|
32311
|
+
#
|
|
32312
|
+
# * `scan-result.medium-fix-available-since` - The earliest date and
|
|
32313
|
+
# time, in the ISO 8601 format in the UTC time zone
|
|
32314
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a fix
|
|
32315
|
+
# as available for a `medium` severity finding on the AMI.
|
|
32316
|
+
#
|
|
32272
32317
|
# * `source-image-id` - The ID of the source AMI from which the AMI was
|
|
32273
32318
|
# created.
|
|
32274
32319
|
#
|
|
@@ -32430,6 +32475,13 @@ module Aws::EC2
|
|
|
32430
32475
|
# resp.images[0].image_watermarks[0].source_image_id #=> String
|
|
32431
32476
|
# resp.images[0].image_watermarks[0].source_image_creation_time #=> Time
|
|
32432
32477
|
# resp.images[0].image_watermarks[0].watermark_creation_time #=> Time
|
|
32478
|
+
# resp.images[0].scan_results.highest_finding_severity_label #=> String, one of "informational", "low", "medium", "high", "critical"
|
|
32479
|
+
# resp.images[0].scan_results.finding_scan_date #=> Time
|
|
32480
|
+
# resp.images[0].scan_results.informational_fix_available_since #=> Time
|
|
32481
|
+
# resp.images[0].scan_results.low_fix_available_since #=> Time
|
|
32482
|
+
# resp.images[0].scan_results.medium_fix_available_since #=> Time
|
|
32483
|
+
# resp.images[0].scan_results.high_fix_available_since #=> Time
|
|
32484
|
+
# resp.images[0].scan_results.critical_fix_available_since #=> Time
|
|
32433
32485
|
# resp.images[0].instance_type_specification.supported_instance_types #=> Array
|
|
32434
32486
|
# resp.images[0].instance_type_specification.supported_instance_types[0].instance_type #=> String
|
|
32435
32487
|
# resp.images[0].instance_type_specification.unsupported_instance_types #=> Array
|
|
@@ -45903,6 +45955,7 @@ module Aws::EC2
|
|
|
45903
45955
|
# resp.transit_gateway_attachments[0].tags #=> Array
|
|
45904
45956
|
# resp.transit_gateway_attachments[0].tags[0].key #=> String
|
|
45905
45957
|
# resp.transit_gateway_attachments[0].tags[0].value #=> String
|
|
45958
|
+
# resp.transit_gateway_attachments[0].nat_gateway_support #=> String, one of "enabled", "disabled", "enabling", "disabling"
|
|
45906
45959
|
# resp.next_token #=> String
|
|
45907
45960
|
#
|
|
45908
45961
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayAttachments AWS API Documentation
|
|
@@ -54308,6 +54361,13 @@ module Aws::EC2
|
|
|
54308
54361
|
# resp.image_criteria[0].image_watermarks[0].source_image_region #=> String
|
|
54309
54362
|
# resp.image_criteria[0].image_watermarks[0].maximum_days_since_source_image_created #=> Integer
|
|
54310
54363
|
# resp.image_criteria[0].image_watermarks[0].maximum_days_since_watermark_created #=> Integer
|
|
54364
|
+
# resp.image_criteria[0].scan_result_condition.max_days_since_last_finding_scan #=> Integer
|
|
54365
|
+
# resp.image_criteria[0].scan_result_condition.maximum_severity_label #=> String, one of "informational", "low", "medium", "high", "critical"
|
|
54366
|
+
# resp.image_criteria[0].scan_result_condition.max_days_since_informational_fix_available #=> Integer
|
|
54367
|
+
# resp.image_criteria[0].scan_result_condition.max_days_since_low_fix_available #=> Integer
|
|
54368
|
+
# resp.image_criteria[0].scan_result_condition.max_days_since_medium_fix_available #=> Integer
|
|
54369
|
+
# resp.image_criteria[0].scan_result_condition.max_days_since_high_fix_available #=> Integer
|
|
54370
|
+
# resp.image_criteria[0].scan_result_condition.max_days_since_critical_fix_available #=> Integer
|
|
54311
54371
|
# resp.managed_by #=> String, one of "account", "declarative-policy"
|
|
54312
54372
|
#
|
|
54313
54373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetAllowedImagesSettings AWS API Documentation
|
|
@@ -55651,6 +55711,74 @@ module Aws::EC2
|
|
|
55651
55711
|
req.send_request(options)
|
|
55652
55712
|
end
|
|
55653
55713
|
|
|
55714
|
+
# Describes the Amazon Inspector vulnerability findings for the
|
|
55715
|
+
# specified AMI.
|
|
55716
|
+
#
|
|
55717
|
+
# You can get findings for AMIs that you own, AMIs that are shared with
|
|
55718
|
+
# you, and public AMIs. Amazon Inspector returns findings only for AMIs
|
|
55719
|
+
# that it has scanned.
|
|
55720
|
+
#
|
|
55721
|
+
# @option params [required, String] :image_id
|
|
55722
|
+
# The ID of the AMI.
|
|
55723
|
+
#
|
|
55724
|
+
# @option params [Integer] :max_results
|
|
55725
|
+
# The maximum number of items to return for this request. To get the
|
|
55726
|
+
# next page of items, make another request with the token returned in
|
|
55727
|
+
# the output. For more information, see [Pagination][1].
|
|
55728
|
+
#
|
|
55729
|
+
#
|
|
55730
|
+
#
|
|
55731
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
|
55732
|
+
#
|
|
55733
|
+
# @option params [String] :next_token
|
|
55734
|
+
# The token returned from a previous paginated request. Pagination
|
|
55735
|
+
# continues from the end of the items returned by the previous request.
|
|
55736
|
+
#
|
|
55737
|
+
# @option params [Boolean] :dry_run
|
|
55738
|
+
# Checks whether you have the required permissions for the action,
|
|
55739
|
+
# without actually making the request, and provides an error response.
|
|
55740
|
+
# If you have the required permissions, the error response is
|
|
55741
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
55742
|
+
#
|
|
55743
|
+
# @return [Types::GetImageFindingsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
55744
|
+
#
|
|
55745
|
+
# * {Types::GetImageFindingsResult#image_findings #image_findings} => Array<Types::ImageFinding>
|
|
55746
|
+
# * {Types::GetImageFindingsResult#next_token #next_token} => String
|
|
55747
|
+
#
|
|
55748
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
55749
|
+
#
|
|
55750
|
+
# @example Request syntax with placeholder values
|
|
55751
|
+
#
|
|
55752
|
+
# resp = client.get_image_findings({
|
|
55753
|
+
# image_id: "ImageId", # required
|
|
55754
|
+
# max_results: 1,
|
|
55755
|
+
# next_token: "String",
|
|
55756
|
+
# dry_run: false,
|
|
55757
|
+
# })
|
|
55758
|
+
#
|
|
55759
|
+
# @example Response structure
|
|
55760
|
+
#
|
|
55761
|
+
# resp.image_findings #=> Array
|
|
55762
|
+
# resp.image_findings[0].fix_available #=> Boolean
|
|
55763
|
+
# resp.image_findings[0].score #=> Float
|
|
55764
|
+
# resp.image_findings[0].first_observed_at #=> Time
|
|
55765
|
+
# resp.image_findings[0].updated_at #=> Time
|
|
55766
|
+
# resp.image_findings[0].title #=> String
|
|
55767
|
+
# resp.image_findings[0].paths #=> Array
|
|
55768
|
+
# resp.image_findings[0].paths[0] #=> String
|
|
55769
|
+
# resp.image_findings[0].severity_label #=> String, one of "informational", "low", "medium", "high", "critical"
|
|
55770
|
+
# resp.image_findings[0].snapshot_id #=> String
|
|
55771
|
+
# resp.next_token #=> String
|
|
55772
|
+
#
|
|
55773
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetImageFindings AWS API Documentation
|
|
55774
|
+
#
|
|
55775
|
+
# @overload get_image_findings(params = {})
|
|
55776
|
+
# @param [Hash] params ({})
|
|
55777
|
+
def get_image_findings(params = {}, options = {})
|
|
55778
|
+
req = build_request(:get_image_findings, params)
|
|
55779
|
+
req.send_request(options)
|
|
55780
|
+
end
|
|
55781
|
+
|
|
55654
55782
|
# Gets the default instance metadata service (IMDS) settings that are
|
|
55655
55783
|
# set at the account level in the specified Amazon Web Services
Region.
|
|
55656
55784
|
#
|
|
@@ -59179,6 +59307,53 @@ module Aws::EC2
|
|
|
59179
59307
|
req.send_request(options)
|
|
59180
59308
|
end
|
|
59181
59309
|
|
|
59310
|
+
# Describes the NAT configuration for the specified transit gateway
|
|
59311
|
+
# attachment. Only the owner of the transit gateway can describe the NAT
|
|
59312
|
+
# configuration.
|
|
59313
|
+
#
|
|
59314
|
+
# @option params [required, String] :transit_gateway_attachment_id
|
|
59315
|
+
# The ID of the transit gateway attachment.
|
|
59316
|
+
#
|
|
59317
|
+
# @option params [Boolean] :dry_run
|
|
59318
|
+
# Checks whether you have the required permissions for the action,
|
|
59319
|
+
# without actually making the request, and provides an error response.
|
|
59320
|
+
# If you have the required permissions, the error response is
|
|
59321
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
59322
|
+
#
|
|
59323
|
+
# @return [Types::GetTransitGatewayAttachmentNatConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
59324
|
+
#
|
|
59325
|
+
# * {Types::GetTransitGatewayAttachmentNatConfigurationResult#transit_gateway_attachment_id #transit_gateway_attachment_id} => String
|
|
59326
|
+
# * {Types::GetTransitGatewayAttachmentNatConfigurationResult#nat_gateway_support #nat_gateway_support} => String
|
|
59327
|
+
# * {Types::GetTransitGatewayAttachmentNatConfigurationResult#nat_system_route_support #nat_system_route_support} => String
|
|
59328
|
+
# * {Types::GetTransitGatewayAttachmentNatConfigurationResult#nat_gateway_rules #nat_gateway_rules} => Array<Types::TransitGatewayNatRule>
|
|
59329
|
+
#
|
|
59330
|
+
# @example Request syntax with placeholder values
|
|
59331
|
+
#
|
|
59332
|
+
# resp = client.get_transit_gateway_attachment_nat_configuration({
|
|
59333
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
|
|
59334
|
+
# dry_run: false,
|
|
59335
|
+
# })
|
|
59336
|
+
#
|
|
59337
|
+
# @example Response structure
|
|
59338
|
+
#
|
|
59339
|
+
# resp.transit_gateway_attachment_id #=> String
|
|
59340
|
+
# resp.nat_gateway_support #=> String, one of "enabled", "disabled", "enabling", "disabling"
|
|
59341
|
+
# resp.nat_system_route_support #=> String, one of "enable", "disable"
|
|
59342
|
+
# resp.nat_gateway_rules #=> Array
|
|
59343
|
+
# resp.nat_gateway_rules[0].rule_number #=> Integer
|
|
59344
|
+
# resp.nat_gateway_rules[0].match_source_cidr #=> String
|
|
59345
|
+
# resp.nat_gateway_rules[0].nat_cidr #=> String
|
|
59346
|
+
# resp.nat_gateway_rules[0].state #=> String, one of "pending", "activated", "deactivated", "deleting"
|
|
59347
|
+
#
|
|
59348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetTransitGatewayAttachmentNatConfiguration AWS API Documentation
|
|
59349
|
+
#
|
|
59350
|
+
# @overload get_transit_gateway_attachment_nat_configuration(params = {})
|
|
59351
|
+
# @param [Hash] params ({})
|
|
59352
|
+
def get_transit_gateway_attachment_nat_configuration(params = {}, options = {})
|
|
59353
|
+
req = build_request(:get_transit_gateway_attachment_nat_configuration, params)
|
|
59354
|
+
req.send_request(options)
|
|
59355
|
+
end
|
|
59356
|
+
|
|
59182
59357
|
# Lists the route tables to which the specified resource attachment
|
|
59183
59358
|
# propagates routes.
|
|
59184
59359
|
#
|
|
@@ -66730,6 +66905,110 @@ module Aws::EC2
|
|
|
66730
66905
|
req.send_request(options)
|
|
66731
66906
|
end
|
|
66732
66907
|
|
|
66908
|
+
# Modifies the NAT configuration for the specified transit gateway
|
|
66909
|
+
# attachment. Use this operation to do the following:
|
|
66910
|
+
#
|
|
66911
|
+
# * Enable or disable NAT gateway support for the attachment.
|
|
66912
|
+
#
|
|
66913
|
+
# * Specify whether the transit gateway installs routes for the NAT
|
|
66914
|
+
# CIDRs.
|
|
66915
|
+
#
|
|
66916
|
+
# * Replace the NAT gateway rules for the attachment.
|
|
66917
|
+
#
|
|
66918
|
+
# Only the owner of the transit gateway can modify the NAT
|
|
66919
|
+
# configuration.
|
|
66920
|
+
#
|
|
66921
|
+
# With NAT gateway support enabled, the transit gateway translates
|
|
66922
|
+
# addresses in each rule's `MatchSourceCidr` range to the corresponding
|
|
66923
|
+
# addresses in its `NatCidr` range.
|
|
66924
|
+
#
|
|
66925
|
+
# The transit gateway applies changes asynchronously. To check the
|
|
66926
|
+
# result, use `GetTransitGatewayAttachmentNatConfiguration`.
|
|
66927
|
+
#
|
|
66928
|
+
# @option params [required, String] :transit_gateway_attachment_id
|
|
66929
|
+
# The ID of the transit gateway attachment.
|
|
66930
|
+
#
|
|
66931
|
+
# @option params [String] :nat_gateway_support
|
|
66932
|
+
# Specifies whether to enable or disable NAT gateway support for the
|
|
66933
|
+
# attachment. To enable NAT gateway support, the attachment must have at
|
|
66934
|
+
# least one NAT gateway rule. You can't modify the NAT configuration
|
|
66935
|
+
# while NAT gateway support is `enabling` or `disabling`. If you omit
|
|
66936
|
+
# this parameter, the current value doesn't change.
|
|
66937
|
+
#
|
|
66938
|
+
# @option params [String] :nat_system_route_support
|
|
66939
|
+
# Specifies whether the transit gateway installs routes for the NAT
|
|
66940
|
+
# CIDRs in the route tables to which the attachment propagates. For VPC
|
|
66941
|
+
# attachments, the transit gateway always installs these routes. You can
|
|
66942
|
+
# enable or disable this option only for Amazon Web Services Direct
|
|
66943
|
+
# Connect gateway attachments and Site-to-Site VPN attachments that use
|
|
66944
|
+
# dynamic routing. For these attachments, the default is `enable`. If
|
|
66945
|
+
# you omit this parameter, the current value doesn't change.
|
|
66946
|
+
#
|
|
66947
|
+
# @option params [Array<Types::TransitGatewayNatRuleRequest>] :nat_gateway_rules
|
|
66948
|
+
# The NAT gateway rules for the attachment. The rules that you specify
|
|
66949
|
+
# replace all existing NAT gateway rules for the attachment. You can
|
|
66950
|
+
# specify up to 50 rules for an attachment. If you omit this parameter,
|
|
66951
|
+
# the existing rules don't change. To remove all rules, use
|
|
66952
|
+
# `ResetNatGatewayRules`.
|
|
66953
|
+
#
|
|
66954
|
+
# @option params [Boolean] :reset_nat_gateway_rules
|
|
66955
|
+
# Specifies whether to remove all NAT gateway rules from the attachment.
|
|
66956
|
+
# If you omit this parameter, the transit gateway doesn't remove any
|
|
66957
|
+
# rules. You can't specify this parameter together with
|
|
66958
|
+
# `NatGatewayRules`. Because you can't enable NAT gateway support
|
|
66959
|
+
# without rules, also set `NatGatewaySupport` to `disable` in the same
|
|
66960
|
+
# request if NAT gateway support is currently enabled.
|
|
66961
|
+
#
|
|
66962
|
+
# @option params [Boolean] :dry_run
|
|
66963
|
+
# Checks whether you have the required permissions for the action,
|
|
66964
|
+
# without actually making the request, and provides an error response.
|
|
66965
|
+
# If you have the required permissions, the error response is
|
|
66966
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
66967
|
+
#
|
|
66968
|
+
# @return [Types::ModifyTransitGatewayAttachmentNatConfigurationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
66969
|
+
#
|
|
66970
|
+
# * {Types::ModifyTransitGatewayAttachmentNatConfigurationResult#transit_gateway_attachment_id #transit_gateway_attachment_id} => String
|
|
66971
|
+
# * {Types::ModifyTransitGatewayAttachmentNatConfigurationResult#nat_gateway_support #nat_gateway_support} => String
|
|
66972
|
+
# * {Types::ModifyTransitGatewayAttachmentNatConfigurationResult#nat_system_route_support #nat_system_route_support} => String
|
|
66973
|
+
# * {Types::ModifyTransitGatewayAttachmentNatConfigurationResult#nat_gateway_rules #nat_gateway_rules} => Array<Types::TransitGatewayNatRule>
|
|
66974
|
+
#
|
|
66975
|
+
# @example Request syntax with placeholder values
|
|
66976
|
+
#
|
|
66977
|
+
# resp = client.modify_transit_gateway_attachment_nat_configuration({
|
|
66978
|
+
# transit_gateway_attachment_id: "TransitGatewayAttachmentId", # required
|
|
66979
|
+
# nat_gateway_support: "enable", # accepts enable, disable
|
|
66980
|
+
# nat_system_route_support: "enable", # accepts enable, disable
|
|
66981
|
+
# nat_gateway_rules: [
|
|
66982
|
+
# {
|
|
66983
|
+
# rule_number: 1,
|
|
66984
|
+
# match_source_cidr: "String",
|
|
66985
|
+
# nat_cidr: "String",
|
|
66986
|
+
# },
|
|
66987
|
+
# ],
|
|
66988
|
+
# reset_nat_gateway_rules: false,
|
|
66989
|
+
# dry_run: false,
|
|
66990
|
+
# })
|
|
66991
|
+
#
|
|
66992
|
+
# @example Response structure
|
|
66993
|
+
#
|
|
66994
|
+
# resp.transit_gateway_attachment_id #=> String
|
|
66995
|
+
# resp.nat_gateway_support #=> String, one of "enabled", "disabled", "enabling", "disabling"
|
|
66996
|
+
# resp.nat_system_route_support #=> String, one of "enable", "disable"
|
|
66997
|
+
# resp.nat_gateway_rules #=> Array
|
|
66998
|
+
# resp.nat_gateway_rules[0].rule_number #=> Integer
|
|
66999
|
+
# resp.nat_gateway_rules[0].match_source_cidr #=> String
|
|
67000
|
+
# resp.nat_gateway_rules[0].nat_cidr #=> String
|
|
67001
|
+
# resp.nat_gateway_rules[0].state #=> String, one of "pending", "activated", "deactivated", "deleting"
|
|
67002
|
+
#
|
|
67003
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayAttachmentNatConfiguration AWS API Documentation
|
|
67004
|
+
#
|
|
67005
|
+
# @overload modify_transit_gateway_attachment_nat_configuration(params = {})
|
|
67006
|
+
# @param [Hash] params ({})
|
|
67007
|
+
def modify_transit_gateway_attachment_nat_configuration(params = {}, options = {})
|
|
67008
|
+
req = build_request(:modify_transit_gateway_attachment_nat_configuration, params)
|
|
67009
|
+
req.send_request(options)
|
|
67010
|
+
end
|
|
67011
|
+
|
|
66733
67012
|
# Modifies a transit gateway metering policy.
|
|
66734
67013
|
#
|
|
66735
67014
|
# @option params [required, String] :transit_gateway_metering_policy_id
|
|
@@ -71572,6 +71851,15 @@ module Aws::EC2
|
|
|
71572
71851
|
# maximum_days_since_watermark_created: 1,
|
|
71573
71852
|
# },
|
|
71574
71853
|
# ],
|
|
71854
|
+
# scan_result_condition: {
|
|
71855
|
+
# max_days_since_last_finding_scan: 1,
|
|
71856
|
+
# maximum_severity_label: "informational", # accepts informational, low, medium, high, critical
|
|
71857
|
+
# max_days_since_informational_fix_available: 1,
|
|
71858
|
+
# max_days_since_low_fix_available: 1,
|
|
71859
|
+
# max_days_since_medium_fix_available: 1,
|
|
71860
|
+
# max_days_since_high_fix_available: 1,
|
|
71861
|
+
# max_days_since_critical_fix_available: 1,
|
|
71862
|
+
# },
|
|
71575
71863
|
# },
|
|
71576
71864
|
# ],
|
|
71577
71865
|
# dry_run: false,
|
|
@@ -72071,7 +72359,7 @@ module Aws::EC2
|
|
|
72071
72359
|
# resp.route.transit_gateway_attachments[0].resource_id #=> String
|
|
72072
72360
|
# resp.route.transit_gateway_attachments[0].transit_gateway_attachment_id #=> String
|
|
72073
72361
|
# resp.route.transit_gateway_attachments[0].resource_type #=> String, one of "vpc", "vpn", "vpn-concentrator", "direct-connect-gateway", "connect", "peering", "tgw-peering", "network-function", "client-vpn"
|
|
72074
|
-
# resp.route.type #=> String, one of "static", "propagated"
|
|
72362
|
+
# resp.route.type #=> String, one of "static", "propagated", "system"
|
|
72075
72363
|
# resp.route.state #=> String, one of "pending", "active", "blackhole", "deleting", "deleted"
|
|
72076
72364
|
#
|
|
72077
72365
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceTransitGatewayRoute AWS API Documentation
|
|
@@ -75515,7 +75803,7 @@ module Aws::EC2
|
|
|
75515
75803
|
# resp.routes[0].transit_gateway_attachments[0].resource_id #=> String
|
|
75516
75804
|
# resp.routes[0].transit_gateway_attachments[0].transit_gateway_attachment_id #=> String
|
|
75517
75805
|
# resp.routes[0].transit_gateway_attachments[0].resource_type #=> String, one of "vpc", "vpn", "vpn-concentrator", "direct-connect-gateway", "connect", "peering", "tgw-peering", "network-function", "client-vpn"
|
|
75518
|
-
# resp.routes[0].type #=> String, one of "static", "propagated"
|
|
75806
|
+
# resp.routes[0].type #=> String, one of "static", "propagated", "system"
|
|
75519
75807
|
# resp.routes[0].state #=> String, one of "pending", "active", "blackhole", "deleting", "deleted"
|
|
75520
75808
|
# resp.additional_routes_available #=> Boolean
|
|
75521
75809
|
# resp.next_token #=> String
|
|
@@ -78070,7 +78358,7 @@ module Aws::EC2
|
|
|
78070
78358
|
tracer: tracer
|
|
78071
78359
|
)
|
|
78072
78360
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
78073
|
-
context[:gem_version] = '1.
|
|
78361
|
+
context[:gem_version] = '1.661.0'
|
|
78074
78362
|
Seahorse::Client::Request.new(handlers, context)
|
|
78075
78363
|
end
|
|
78076
78364
|
|