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
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -27770,6 +27770,50 @@ module Aws::EC2
|
|
|
27770
27770
|
# * `root-device-type` - The type of the root device volume (`ebs` \|
|
|
27771
27771
|
# `instance-store`).
|
|
27772
27772
|
#
|
|
27773
|
+
# * `scan-result.critical-fix-available-since` - The earliest date and
|
|
27774
|
+
# time, in the ISO 8601 format in the UTC time zone
|
|
27775
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a
|
|
27776
|
+
# fix as available for a `critical` severity finding on the AMI.
|
|
27777
|
+
#
|
|
27778
|
+
# * `scan-result.finding-scan-date` - The date and time, in the ISO
|
|
27779
|
+
# 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), of
|
|
27780
|
+
# the most recent Amazon Inspector scan of the AMI.
|
|
27781
|
+
#
|
|
27782
|
+
# * `scan-result.high-fix-available-since` - The earliest date and
|
|
27783
|
+
# time, in the ISO 8601 format in the UTC time zone
|
|
27784
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a
|
|
27785
|
+
# fix as available for a `high` severity finding on the AMI.
|
|
27786
|
+
#
|
|
27787
|
+
# * `scan-result.highest-finding-severity-label` - The highest
|
|
27788
|
+
# severity among the AMI's Amazon Inspector findings, whether or
|
|
27789
|
+
# not a fix is available. The valid values are the following Amazon
|
|
27790
|
+
# Inspector severity levels:
|
|
27791
|
+
#
|
|
27792
|
+
# * `informational` - CVSS score of 0.
|
|
27793
|
+
#
|
|
27794
|
+
# * `low` - CVSS score of 0.1 to 3.9.
|
|
27795
|
+
#
|
|
27796
|
+
# * `medium` - CVSS score of 4.0 to 6.9.
|
|
27797
|
+
#
|
|
27798
|
+
# * `high` - CVSS score of 7.0 to 8.9.
|
|
27799
|
+
#
|
|
27800
|
+
# * `critical` - CVSS score of 9.0 to 10.0.
|
|
27801
|
+
# * `scan-result.informational-fix-available-since` - The earliest
|
|
27802
|
+
# date and time, in the ISO 8601 format in the UTC time zone
|
|
27803
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a
|
|
27804
|
+
# fix as available for an `informational` severity finding on the
|
|
27805
|
+
# AMI.
|
|
27806
|
+
#
|
|
27807
|
+
# * `scan-result.low-fix-available-since` - The earliest date and
|
|
27808
|
+
# time, in the ISO 8601 format in the UTC time zone
|
|
27809
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a
|
|
27810
|
+
# fix as available for a `low` severity finding on the AMI.
|
|
27811
|
+
#
|
|
27812
|
+
# * `scan-result.medium-fix-available-since` - The earliest date and
|
|
27813
|
+
# time, in the ISO 8601 format in the UTC time zone
|
|
27814
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported a
|
|
27815
|
+
# fix as available for a `medium` severity finding on the AMI.
|
|
27816
|
+
#
|
|
27773
27817
|
# * `source-image-id` - The ID of the source AMI from which the AMI
|
|
27774
27818
|
# was created.
|
|
27775
27819
|
#
|
|
@@ -47633,6 +47677,62 @@ module Aws::EC2
|
|
|
47633
47677
|
include Aws::Structure
|
|
47634
47678
|
end
|
|
47635
47679
|
|
|
47680
|
+
# @!attribute [rw] image_id
|
|
47681
|
+
# The ID of the AMI.
|
|
47682
|
+
# @return [String]
|
|
47683
|
+
#
|
|
47684
|
+
# @!attribute [rw] max_results
|
|
47685
|
+
# The maximum number of items to return for this request. To get the
|
|
47686
|
+
# next page of items, make another request with the token returned in
|
|
47687
|
+
# the output. For more information, see [Pagination][1].
|
|
47688
|
+
#
|
|
47689
|
+
#
|
|
47690
|
+
#
|
|
47691
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
|
|
47692
|
+
# @return [Integer]
|
|
47693
|
+
#
|
|
47694
|
+
# @!attribute [rw] next_token
|
|
47695
|
+
# The token returned from a previous paginated request. Pagination
|
|
47696
|
+
# continues from the end of the items returned by the previous
|
|
47697
|
+
# request.
|
|
47698
|
+
# @return [String]
|
|
47699
|
+
#
|
|
47700
|
+
# @!attribute [rw] dry_run
|
|
47701
|
+
# Checks whether you have the required permissions for the action,
|
|
47702
|
+
# without actually making the request, and provides an error response.
|
|
47703
|
+
# If you have the required permissions, the error response is
|
|
47704
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
47705
|
+
# @return [Boolean]
|
|
47706
|
+
#
|
|
47707
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetImageFindingsRequest AWS API Documentation
|
|
47708
|
+
#
|
|
47709
|
+
class GetImageFindingsRequest < Struct.new(
|
|
47710
|
+
:image_id,
|
|
47711
|
+
:max_results,
|
|
47712
|
+
:next_token,
|
|
47713
|
+
:dry_run)
|
|
47714
|
+
SENSITIVE = []
|
|
47715
|
+
include Aws::Structure
|
|
47716
|
+
end
|
|
47717
|
+
|
|
47718
|
+
# @!attribute [rw] image_findings
|
|
47719
|
+
# The Amazon Inspector findings for the AMI.
|
|
47720
|
+
# @return [Array<Types::ImageFinding>]
|
|
47721
|
+
#
|
|
47722
|
+
# @!attribute [rw] next_token
|
|
47723
|
+
# The token to include in another request to get the next page of
|
|
47724
|
+
# items. This value is `null` when there are no more items to return.
|
|
47725
|
+
# @return [String]
|
|
47726
|
+
#
|
|
47727
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetImageFindingsResult AWS API Documentation
|
|
47728
|
+
#
|
|
47729
|
+
class GetImageFindingsResult < Struct.new(
|
|
47730
|
+
:image_findings,
|
|
47731
|
+
:next_token)
|
|
47732
|
+
SENSITIVE = []
|
|
47733
|
+
include Aws::Structure
|
|
47734
|
+
end
|
|
47735
|
+
|
|
47636
47736
|
# @!attribute [rw] dry_run
|
|
47637
47737
|
# Checks whether you have the required permissions for the operation,
|
|
47638
47738
|
# without actually making the request, and provides an error response.
|
|
@@ -49920,6 +50020,54 @@ module Aws::EC2
|
|
|
49920
50020
|
include Aws::Structure
|
|
49921
50021
|
end
|
|
49922
50022
|
|
|
50023
|
+
# @!attribute [rw] transit_gateway_attachment_id
|
|
50024
|
+
# The ID of the transit gateway attachment.
|
|
50025
|
+
# @return [String]
|
|
50026
|
+
#
|
|
50027
|
+
# @!attribute [rw] dry_run
|
|
50028
|
+
# Checks whether you have the required permissions for the action,
|
|
50029
|
+
# without actually making the request, and provides an error response.
|
|
50030
|
+
# If you have the required permissions, the error response is
|
|
50031
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
50032
|
+
# @return [Boolean]
|
|
50033
|
+
#
|
|
50034
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetTransitGatewayAttachmentNatConfigurationRequest AWS API Documentation
|
|
50035
|
+
#
|
|
50036
|
+
class GetTransitGatewayAttachmentNatConfigurationRequest < Struct.new(
|
|
50037
|
+
:transit_gateway_attachment_id,
|
|
50038
|
+
:dry_run)
|
|
50039
|
+
SENSITIVE = []
|
|
50040
|
+
include Aws::Structure
|
|
50041
|
+
end
|
|
50042
|
+
|
|
50043
|
+
# @!attribute [rw] transit_gateway_attachment_id
|
|
50044
|
+
# The ID of the transit gateway attachment.
|
|
50045
|
+
# @return [String]
|
|
50046
|
+
#
|
|
50047
|
+
# @!attribute [rw] nat_gateway_support
|
|
50048
|
+
# The state of NAT gateway support for the attachment.
|
|
50049
|
+
# @return [String]
|
|
50050
|
+
#
|
|
50051
|
+
# @!attribute [rw] nat_system_route_support
|
|
50052
|
+
# Specifies whether the transit gateway installs routes for the NAT
|
|
50053
|
+
# CIDRs in the route tables to which the attachment propagates.
|
|
50054
|
+
# @return [String]
|
|
50055
|
+
#
|
|
50056
|
+
# @!attribute [rw] nat_gateway_rules
|
|
50057
|
+
# The NAT gateway rules for the attachment.
|
|
50058
|
+
# @return [Array<Types::TransitGatewayNatRule>]
|
|
50059
|
+
#
|
|
50060
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetTransitGatewayAttachmentNatConfigurationResult AWS API Documentation
|
|
50061
|
+
#
|
|
50062
|
+
class GetTransitGatewayAttachmentNatConfigurationResult < Struct.new(
|
|
50063
|
+
:transit_gateway_attachment_id,
|
|
50064
|
+
:nat_gateway_support,
|
|
50065
|
+
:nat_system_route_support,
|
|
50066
|
+
:nat_gateway_rules)
|
|
50067
|
+
SENSITIVE = []
|
|
50068
|
+
include Aws::Structure
|
|
50069
|
+
end
|
|
50070
|
+
|
|
49923
50071
|
# @!attribute [rw] transit_gateway_attachment_id
|
|
49924
50072
|
# The ID of the attachment.
|
|
49925
50073
|
# @return [String]
|
|
@@ -51839,6 +51987,15 @@ module Aws::EC2
|
|
|
51839
51987
|
# The watermarks attached to the AMI.
|
|
51840
51988
|
# @return [Array<Types::ImageWatermark>]
|
|
51841
51989
|
#
|
|
51990
|
+
# @!attribute [rw] scan_results
|
|
51991
|
+
# The Amazon Inspector scan results for the AMI. This information is
|
|
51992
|
+
# present only for AMIs that Amazon Inspector has scanned.
|
|
51993
|
+
#
|
|
51994
|
+
# When you share an AMI with other accounts, organizations, or
|
|
51995
|
+
# organizational units (OUs), or make it public, its scan results are
|
|
51996
|
+
# available to the accounts that can use the AMI.
|
|
51997
|
+
# @return [Types::ScanResults]
|
|
51998
|
+
#
|
|
51842
51999
|
# @!attribute [rw] instance_type_specification
|
|
51843
52000
|
# The instance type specification for the AMI, which defines which
|
|
51844
52001
|
# instance types are compatible with this image.
|
|
@@ -51928,6 +52085,7 @@ module Aws::EC2
|
|
|
51928
52085
|
:free_tier_eligible,
|
|
51929
52086
|
:public_ssm_parameter_name,
|
|
51930
52087
|
:image_watermarks,
|
|
52088
|
+
:scan_results,
|
|
51931
52089
|
:instance_type_specification,
|
|
51932
52090
|
:image_id,
|
|
51933
52091
|
:image_location,
|
|
@@ -52174,6 +52332,13 @@ module Aws::EC2
|
|
|
52174
52332
|
# Maximum: 50 values
|
|
52175
52333
|
# @return [Array<Types::ImageWatermarkFilterResponse>]
|
|
52176
52334
|
#
|
|
52335
|
+
# @!attribute [rw] scan_result_condition
|
|
52336
|
+
# The Amazon Inspector scan-result criteria that an AMI must meet to
|
|
52337
|
+
# be allowed. The criteria can limit the highest finding severity, the
|
|
52338
|
+
# number of days since Amazon Inspector last scanned the AMI, and the
|
|
52339
|
+
# number of days since Amazon Inspector reported a fix as available.
|
|
52340
|
+
# @return [Types::ScanResultCondition]
|
|
52341
|
+
#
|
|
52177
52342
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageCriterion AWS API Documentation
|
|
52178
52343
|
#
|
|
52179
52344
|
class ImageCriterion < Struct.new(
|
|
@@ -52182,7 +52347,8 @@ module Aws::EC2
|
|
|
52182
52347
|
:image_names,
|
|
52183
52348
|
:deprecation_time_condition,
|
|
52184
52349
|
:creation_date_condition,
|
|
52185
|
-
:image_watermarks
|
|
52350
|
+
:image_watermarks,
|
|
52351
|
+
:scan_result_condition)
|
|
52186
52352
|
SENSITIVE = []
|
|
52187
52353
|
include Aws::Structure
|
|
52188
52354
|
end
|
|
@@ -52284,6 +52450,13 @@ module Aws::EC2
|
|
|
52284
52450
|
# Maximum: 50 values
|
|
52285
52451
|
# @return [Array<Types::ImageWatermarkFilterRequest>]
|
|
52286
52452
|
#
|
|
52453
|
+
# @!attribute [rw] scan_result_condition
|
|
52454
|
+
# The Amazon Inspector scan-result criteria that an AMI must meet to
|
|
52455
|
+
# be allowed. The criteria can limit the highest finding severity, the
|
|
52456
|
+
# number of days since Amazon Inspector last scanned the AMI, and the
|
|
52457
|
+
# number of days since Amazon Inspector reported a fix as available.
|
|
52458
|
+
# @return [Types::ScanResultConditionRequest]
|
|
52459
|
+
#
|
|
52287
52460
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageCriterionRequest AWS API Documentation
|
|
52288
52461
|
#
|
|
52289
52462
|
class ImageCriterionRequest < Struct.new(
|
|
@@ -52292,7 +52465,8 @@ module Aws::EC2
|
|
|
52292
52465
|
:image_names,
|
|
52293
52466
|
:deprecation_time_condition,
|
|
52294
52467
|
:creation_date_condition,
|
|
52295
|
-
:image_watermarks
|
|
52468
|
+
:image_watermarks,
|
|
52469
|
+
:scan_result_condition)
|
|
52296
52470
|
SENSITIVE = []
|
|
52297
52471
|
include Aws::Structure
|
|
52298
52472
|
end
|
|
@@ -52339,6 +52513,83 @@ module Aws::EC2
|
|
|
52339
52513
|
include Aws::Structure
|
|
52340
52514
|
end
|
|
52341
52515
|
|
|
52516
|
+
# Describes an Amazon Inspector vulnerability finding for an AMI.
|
|
52517
|
+
#
|
|
52518
|
+
# @!attribute [rw] fix_available
|
|
52519
|
+
# Specifies whether a fix is available for the finding. This value is
|
|
52520
|
+
# `true` when Amazon Inspector reports a full or partial fix for the
|
|
52521
|
+
# finding.
|
|
52522
|
+
# @return [Boolean]
|
|
52523
|
+
#
|
|
52524
|
+
# @!attribute [rw] score
|
|
52525
|
+
# The Amazon Inspector score for the finding.
|
|
52526
|
+
# @return [Float]
|
|
52527
|
+
#
|
|
52528
|
+
# @!attribute [rw] first_observed_at
|
|
52529
|
+
# The date and time, in the ISO 8601 format in the UTC time zone
|
|
52530
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector first observed the
|
|
52531
|
+
# finding.
|
|
52532
|
+
# @return [Time]
|
|
52533
|
+
#
|
|
52534
|
+
# @!attribute [rw] updated_at
|
|
52535
|
+
# The date and time, in the ISO 8601 format in the UTC time zone
|
|
52536
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), when Amazon Inspector last updated the
|
|
52537
|
+
# finding.
|
|
52538
|
+
# @return [Time]
|
|
52539
|
+
#
|
|
52540
|
+
# @!attribute [rw] title
|
|
52541
|
+
# The title of the finding.
|
|
52542
|
+
# @return [String]
|
|
52543
|
+
#
|
|
52544
|
+
# @!attribute [rw] paths
|
|
52545
|
+
# The file paths in the AMI that are affected by the finding. Amazon
|
|
52546
|
+
# EC2 returns up to 10 file paths for each finding.
|
|
52547
|
+
# @return [Array<String>]
|
|
52548
|
+
#
|
|
52549
|
+
# @!attribute [rw] severity_label
|
|
52550
|
+
# The severity of the finding.
|
|
52551
|
+
#
|
|
52552
|
+
# The valid values are the following Amazon Inspector severity levels,
|
|
52553
|
+
# which correspond to CVSS score ranges:
|
|
52554
|
+
#
|
|
52555
|
+
# * `informational` - CVSS score of 0.
|
|
52556
|
+
#
|
|
52557
|
+
# * `low` - CVSS score of 0.1 to 3.9.
|
|
52558
|
+
#
|
|
52559
|
+
# * `medium` - CVSS score of 4.0 to 6.9.
|
|
52560
|
+
#
|
|
52561
|
+
# * `high` - CVSS score of 7.0 to 8.9.
|
|
52562
|
+
#
|
|
52563
|
+
# * `critical` - CVSS score of 9.0 to 10.0.
|
|
52564
|
+
#
|
|
52565
|
+
# For more information, see [Software package vulnerability
|
|
52566
|
+
# severity][1] in the *Amazon Inspector User Guide*.
|
|
52567
|
+
#
|
|
52568
|
+
#
|
|
52569
|
+
#
|
|
52570
|
+
# [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score
|
|
52571
|
+
# @return [String]
|
|
52572
|
+
#
|
|
52573
|
+
# @!attribute [rw] snapshot_id
|
|
52574
|
+
# The ID of the Amazon EBS snapshot of the AMI in which the finding
|
|
52575
|
+
# was detected.
|
|
52576
|
+
# @return [String]
|
|
52577
|
+
#
|
|
52578
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImageFinding AWS API Documentation
|
|
52579
|
+
#
|
|
52580
|
+
class ImageFinding < Struct.new(
|
|
52581
|
+
:fix_available,
|
|
52582
|
+
:score,
|
|
52583
|
+
:first_observed_at,
|
|
52584
|
+
:updated_at,
|
|
52585
|
+
:title,
|
|
52586
|
+
:paths,
|
|
52587
|
+
:severity_label,
|
|
52588
|
+
:snapshot_id)
|
|
52589
|
+
SENSITIVE = []
|
|
52590
|
+
include Aws::Structure
|
|
52591
|
+
end
|
|
52592
|
+
|
|
52342
52593
|
# Information about the AMI.
|
|
52343
52594
|
#
|
|
52344
52595
|
# @!attribute [rw] image_id
|
|
@@ -68948,6 +69199,95 @@ module Aws::EC2
|
|
|
68948
69199
|
include Aws::Structure
|
|
68949
69200
|
end
|
|
68950
69201
|
|
|
69202
|
+
# @!attribute [rw] transit_gateway_attachment_id
|
|
69203
|
+
# The ID of the transit gateway attachment.
|
|
69204
|
+
# @return [String]
|
|
69205
|
+
#
|
|
69206
|
+
# @!attribute [rw] nat_gateway_support
|
|
69207
|
+
# Specifies whether to enable or disable NAT gateway support for the
|
|
69208
|
+
# attachment. To enable NAT gateway support, the attachment must have
|
|
69209
|
+
# at least one NAT gateway rule. You can't modify the NAT
|
|
69210
|
+
# configuration while NAT gateway support is `enabling` or
|
|
69211
|
+
# `disabling`. If you omit this parameter, the current value doesn't
|
|
69212
|
+
# change.
|
|
69213
|
+
# @return [String]
|
|
69214
|
+
#
|
|
69215
|
+
# @!attribute [rw] nat_system_route_support
|
|
69216
|
+
# Specifies whether the transit gateway installs routes for the NAT
|
|
69217
|
+
# CIDRs in the route tables to which the attachment propagates. For
|
|
69218
|
+
# VPC attachments, the transit gateway always installs these routes.
|
|
69219
|
+
# You can enable or disable this option only for Amazon Web Services
|
|
69220
|
+
# Direct Connect gateway attachments and Site-to-Site VPN attachments
|
|
69221
|
+
# that use dynamic routing. For these attachments, the default is
|
|
69222
|
+
# `enable`. If you omit this parameter, the current value doesn't
|
|
69223
|
+
# change.
|
|
69224
|
+
# @return [String]
|
|
69225
|
+
#
|
|
69226
|
+
# @!attribute [rw] nat_gateway_rules
|
|
69227
|
+
# The NAT gateway rules for the attachment. The rules that you specify
|
|
69228
|
+
# replace all existing NAT gateway rules for the attachment. You can
|
|
69229
|
+
# specify up to 50 rules for an attachment. If you omit this
|
|
69230
|
+
# parameter, the existing rules don't change. To remove all rules,
|
|
69231
|
+
# use `ResetNatGatewayRules`.
|
|
69232
|
+
# @return [Array<Types::TransitGatewayNatRuleRequest>]
|
|
69233
|
+
#
|
|
69234
|
+
# @!attribute [rw] reset_nat_gateway_rules
|
|
69235
|
+
# Specifies whether to remove all NAT gateway rules from the
|
|
69236
|
+
# attachment. If you omit this parameter, the transit gateway doesn't
|
|
69237
|
+
# remove any rules. You can't specify this parameter together with
|
|
69238
|
+
# `NatGatewayRules`. Because you can't enable NAT gateway support
|
|
69239
|
+
# without rules, also set `NatGatewaySupport` to `disable` in the same
|
|
69240
|
+
# request if NAT gateway support is currently enabled.
|
|
69241
|
+
# @return [Boolean]
|
|
69242
|
+
#
|
|
69243
|
+
# @!attribute [rw] dry_run
|
|
69244
|
+
# Checks whether you have the required permissions for the action,
|
|
69245
|
+
# without actually making the request, and provides an error response.
|
|
69246
|
+
# If you have the required permissions, the error response is
|
|
69247
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
|
69248
|
+
# @return [Boolean]
|
|
69249
|
+
#
|
|
69250
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayAttachmentNatConfigurationRequest AWS API Documentation
|
|
69251
|
+
#
|
|
69252
|
+
class ModifyTransitGatewayAttachmentNatConfigurationRequest < Struct.new(
|
|
69253
|
+
:transit_gateway_attachment_id,
|
|
69254
|
+
:nat_gateway_support,
|
|
69255
|
+
:nat_system_route_support,
|
|
69256
|
+
:nat_gateway_rules,
|
|
69257
|
+
:reset_nat_gateway_rules,
|
|
69258
|
+
:dry_run)
|
|
69259
|
+
SENSITIVE = []
|
|
69260
|
+
include Aws::Structure
|
|
69261
|
+
end
|
|
69262
|
+
|
|
69263
|
+
# @!attribute [rw] transit_gateway_attachment_id
|
|
69264
|
+
# The ID of the transit gateway attachment.
|
|
69265
|
+
# @return [String]
|
|
69266
|
+
#
|
|
69267
|
+
# @!attribute [rw] nat_gateway_support
|
|
69268
|
+
# The state of NAT gateway support for the attachment.
|
|
69269
|
+
# @return [String]
|
|
69270
|
+
#
|
|
69271
|
+
# @!attribute [rw] nat_system_route_support
|
|
69272
|
+
# Specifies whether the transit gateway installs routes for the NAT
|
|
69273
|
+
# CIDRs in the route tables to which the attachment propagates.
|
|
69274
|
+
# @return [String]
|
|
69275
|
+
#
|
|
69276
|
+
# @!attribute [rw] nat_gateway_rules
|
|
69277
|
+
# The NAT gateway rules for the attachment.
|
|
69278
|
+
# @return [Array<Types::TransitGatewayNatRule>]
|
|
69279
|
+
#
|
|
69280
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayAttachmentNatConfigurationResult AWS API Documentation
|
|
69281
|
+
#
|
|
69282
|
+
class ModifyTransitGatewayAttachmentNatConfigurationResult < Struct.new(
|
|
69283
|
+
:transit_gateway_attachment_id,
|
|
69284
|
+
:nat_gateway_support,
|
|
69285
|
+
:nat_system_route_support,
|
|
69286
|
+
:nat_gateway_rules)
|
|
69287
|
+
SENSITIVE = []
|
|
69288
|
+
include Aws::Structure
|
|
69289
|
+
end
|
|
69290
|
+
|
|
68951
69291
|
# @!attribute [rw] transit_gateway_metering_policy_id
|
|
68952
69292
|
# The ID of the transit gateway metering policy to modify.
|
|
68953
69293
|
# @return [String]
|
|
@@ -81423,6 +81763,375 @@ module Aws::EC2
|
|
|
81423
81763
|
include Aws::Structure
|
|
81424
81764
|
end
|
|
81425
81765
|
|
|
81766
|
+
# The Amazon Inspector scan-result criteria that an AMI must meet to be
|
|
81767
|
+
# allowed. The criteria can limit the highest finding severity. They can
|
|
81768
|
+
# also limit, for each severity, the days since Amazon Inspector
|
|
81769
|
+
# reported a fix as available.
|
|
81770
|
+
#
|
|
81771
|
+
# The severity limit applies to all findings, whether or not a fix is
|
|
81772
|
+
# available. The day limits for each severity apply only to findings
|
|
81773
|
+
# that have a fix available. A scanned AMI that has no fix-available
|
|
81774
|
+
# finding of a given severity meets that severity's day limit. AMIs
|
|
81775
|
+
# that Amazon Inspector has not scanned are not allowed when you specify
|
|
81776
|
+
# this condition.
|
|
81777
|
+
#
|
|
81778
|
+
# @!attribute [rw] max_days_since_last_finding_scan
|
|
81779
|
+
# The maximum number of days that have elapsed since Amazon Inspector
|
|
81780
|
+
# last scanned the AMI. For example, a value of `7` allows AMIs that
|
|
81781
|
+
# were scanned within the last 7 days. AMIs that Amazon Inspector has
|
|
81782
|
+
# not scanned are not allowed.
|
|
81783
|
+
#
|
|
81784
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
81785
|
+
# @return [Integer]
|
|
81786
|
+
#
|
|
81787
|
+
# @!attribute [rw] maximum_severity_label
|
|
81788
|
+
# The maximum severity that an AMI's Amazon Inspector findings can
|
|
81789
|
+
# have for the AMI to be allowed. Findings count whether or not a fix
|
|
81790
|
+
# is available. For example, a value of `medium` allows AMIs whose
|
|
81791
|
+
# highest severity is `informational`, `low`, or `medium`.
|
|
81792
|
+
#
|
|
81793
|
+
# The valid values are the following Amazon Inspector severity levels,
|
|
81794
|
+
# which correspond to CVSS score ranges:
|
|
81795
|
+
#
|
|
81796
|
+
# * `informational` - CVSS score of 0.
|
|
81797
|
+
#
|
|
81798
|
+
# * `low` - CVSS score of 0.1 to 3.9.
|
|
81799
|
+
#
|
|
81800
|
+
# * `medium` - CVSS score of 4.0 to 6.9.
|
|
81801
|
+
#
|
|
81802
|
+
# * `high` - CVSS score of 7.0 to 8.9.
|
|
81803
|
+
#
|
|
81804
|
+
# * `critical` - CVSS score of 9.0 to 10.0.
|
|
81805
|
+
#
|
|
81806
|
+
# For more information, see [Software package vulnerability
|
|
81807
|
+
# severity][1] in the *Amazon Inspector User Guide*.
|
|
81808
|
+
#
|
|
81809
|
+
# A scanned AMI that has no findings meets this limit.
|
|
81810
|
+
#
|
|
81811
|
+
# AMIs that Amazon Inspector has not scanned are not allowed when you
|
|
81812
|
+
# specify this condition.
|
|
81813
|
+
#
|
|
81814
|
+
#
|
|
81815
|
+
#
|
|
81816
|
+
# [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score
|
|
81817
|
+
# @return [String]
|
|
81818
|
+
#
|
|
81819
|
+
# @!attribute [rw] max_days_since_informational_fix_available
|
|
81820
|
+
# The maximum number of days since Amazon Inspector reported a fix as
|
|
81821
|
+
# available for an `informational` severity finding on the AMI. For
|
|
81822
|
+
# example, a value of `7` does not allow an AMI if Amazon Inspector
|
|
81823
|
+
# reported such a fix more than 7 days ago.
|
|
81824
|
+
#
|
|
81825
|
+
# A scanned AMI that has no `informational` severity finding with a
|
|
81826
|
+
# fix available meets this limit. AMIs that Amazon Inspector has not
|
|
81827
|
+
# scanned are not allowed.
|
|
81828
|
+
#
|
|
81829
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
81830
|
+
# @return [Integer]
|
|
81831
|
+
#
|
|
81832
|
+
# @!attribute [rw] max_days_since_low_fix_available
|
|
81833
|
+
# The maximum number of days since Amazon Inspector reported a fix as
|
|
81834
|
+
# available for a `low` severity finding on the AMI. For example, a
|
|
81835
|
+
# value of `7` does not allow an AMI if Amazon Inspector reported such
|
|
81836
|
+
# a fix more than 7 days ago.
|
|
81837
|
+
#
|
|
81838
|
+
# A scanned AMI that has no `low` severity finding with a fix
|
|
81839
|
+
# available meets this limit. AMIs that Amazon Inspector has not
|
|
81840
|
+
# scanned are not allowed.
|
|
81841
|
+
#
|
|
81842
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
81843
|
+
# @return [Integer]
|
|
81844
|
+
#
|
|
81845
|
+
# @!attribute [rw] max_days_since_medium_fix_available
|
|
81846
|
+
# The maximum number of days since Amazon Inspector reported a fix as
|
|
81847
|
+
# available for a `medium` severity finding on the AMI. For example, a
|
|
81848
|
+
# value of `7` does not allow an AMI if Amazon Inspector reported such
|
|
81849
|
+
# a fix more than 7 days ago.
|
|
81850
|
+
#
|
|
81851
|
+
# A scanned AMI that has no `medium` severity finding with a fix
|
|
81852
|
+
# available meets this limit. AMIs that Amazon Inspector has not
|
|
81853
|
+
# scanned are not allowed.
|
|
81854
|
+
#
|
|
81855
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
81856
|
+
# @return [Integer]
|
|
81857
|
+
#
|
|
81858
|
+
# @!attribute [rw] max_days_since_high_fix_available
|
|
81859
|
+
# The maximum number of days since Amazon Inspector reported a fix as
|
|
81860
|
+
# available for a `high` severity finding on the AMI. For example, a
|
|
81861
|
+
# value of `7` does not allow an AMI if Amazon Inspector reported such
|
|
81862
|
+
# a fix more than 7 days ago.
|
|
81863
|
+
#
|
|
81864
|
+
# A scanned AMI that has no `high` severity finding with a fix
|
|
81865
|
+
# available meets this limit. AMIs that Amazon Inspector has not
|
|
81866
|
+
# scanned are not allowed.
|
|
81867
|
+
#
|
|
81868
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
81869
|
+
# @return [Integer]
|
|
81870
|
+
#
|
|
81871
|
+
# @!attribute [rw] max_days_since_critical_fix_available
|
|
81872
|
+
# The maximum number of days since Amazon Inspector reported a fix as
|
|
81873
|
+
# available for a `critical` severity finding on the AMI. For example,
|
|
81874
|
+
# a value of `7` does not allow an AMI if Amazon Inspector reported
|
|
81875
|
+
# such a fix more than 7 days ago.
|
|
81876
|
+
#
|
|
81877
|
+
# A scanned AMI that has no `critical` severity finding with a fix
|
|
81878
|
+
# available meets this limit. AMIs that Amazon Inspector has not
|
|
81879
|
+
# scanned are not allowed.
|
|
81880
|
+
#
|
|
81881
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
81882
|
+
# @return [Integer]
|
|
81883
|
+
#
|
|
81884
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScanResultCondition AWS API Documentation
|
|
81885
|
+
#
|
|
81886
|
+
class ScanResultCondition < Struct.new(
|
|
81887
|
+
:max_days_since_last_finding_scan,
|
|
81888
|
+
:maximum_severity_label,
|
|
81889
|
+
:max_days_since_informational_fix_available,
|
|
81890
|
+
:max_days_since_low_fix_available,
|
|
81891
|
+
:max_days_since_medium_fix_available,
|
|
81892
|
+
:max_days_since_high_fix_available,
|
|
81893
|
+
:max_days_since_critical_fix_available)
|
|
81894
|
+
SENSITIVE = []
|
|
81895
|
+
include Aws::Structure
|
|
81896
|
+
end
|
|
81897
|
+
|
|
81898
|
+
# The Amazon Inspector scan-result criteria that an AMI must meet to be
|
|
81899
|
+
# allowed. The criteria can limit the highest finding severity. They can
|
|
81900
|
+
# also limit, for each severity, the days since Amazon Inspector
|
|
81901
|
+
# reported a fix as available.
|
|
81902
|
+
#
|
|
81903
|
+
# The severity limit applies to all findings, whether or not a fix is
|
|
81904
|
+
# available. The day limits for each severity apply only to findings
|
|
81905
|
+
# that have a fix available. A scanned AMI that has no fix-available
|
|
81906
|
+
# finding of a given severity meets that severity's day limit. AMIs
|
|
81907
|
+
# that Amazon Inspector has not scanned are not allowed when you specify
|
|
81908
|
+
# this condition.
|
|
81909
|
+
#
|
|
81910
|
+
# @!attribute [rw] max_days_since_last_finding_scan
|
|
81911
|
+
# The maximum number of days that have elapsed since Amazon Inspector
|
|
81912
|
+
# last scanned the AMI. For example, a value of `7` allows AMIs that
|
|
81913
|
+
# were scanned within the last 7 days. AMIs that Amazon Inspector has
|
|
81914
|
+
# not scanned are not allowed.
|
|
81915
|
+
#
|
|
81916
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
81917
|
+
# @return [Integer]
|
|
81918
|
+
#
|
|
81919
|
+
# @!attribute [rw] maximum_severity_label
|
|
81920
|
+
# The maximum severity that an AMI's Amazon Inspector findings can
|
|
81921
|
+
# have for the AMI to be allowed. Findings count whether or not a fix
|
|
81922
|
+
# is available. For example, a value of `medium` allows AMIs whose
|
|
81923
|
+
# highest severity is `informational`, `low`, or `medium`.
|
|
81924
|
+
#
|
|
81925
|
+
# The valid values are the following Amazon Inspector severity levels,
|
|
81926
|
+
# which correspond to CVSS score ranges:
|
|
81927
|
+
#
|
|
81928
|
+
# * `informational` - CVSS score of 0.
|
|
81929
|
+
#
|
|
81930
|
+
# * `low` - CVSS score of 0.1 to 3.9.
|
|
81931
|
+
#
|
|
81932
|
+
# * `medium` - CVSS score of 4.0 to 6.9.
|
|
81933
|
+
#
|
|
81934
|
+
# * `high` - CVSS score of 7.0 to 8.9.
|
|
81935
|
+
#
|
|
81936
|
+
# * `critical` - CVSS score of 9.0 to 10.0.
|
|
81937
|
+
#
|
|
81938
|
+
# For more information, see [Software package vulnerability
|
|
81939
|
+
# severity][1] in the *Amazon Inspector User Guide*.
|
|
81940
|
+
#
|
|
81941
|
+
# A scanned AMI that has no findings meets this limit.
|
|
81942
|
+
#
|
|
81943
|
+
# AMIs that Amazon Inspector has not scanned are not allowed when you
|
|
81944
|
+
# specify this condition.
|
|
81945
|
+
#
|
|
81946
|
+
#
|
|
81947
|
+
#
|
|
81948
|
+
# [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score
|
|
81949
|
+
# @return [String]
|
|
81950
|
+
#
|
|
81951
|
+
# @!attribute [rw] max_days_since_informational_fix_available
|
|
81952
|
+
# The maximum number of days since Amazon Inspector reported a fix as
|
|
81953
|
+
# available for an `informational` severity finding on the AMI. For
|
|
81954
|
+
# example, a value of `7` does not allow an AMI if Amazon Inspector
|
|
81955
|
+
# reported such a fix more than 7 days ago.
|
|
81956
|
+
#
|
|
81957
|
+
# A scanned AMI that has no `informational` severity finding with a
|
|
81958
|
+
# fix available meets this limit. AMIs that Amazon Inspector has not
|
|
81959
|
+
# scanned are not allowed.
|
|
81960
|
+
#
|
|
81961
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
81962
|
+
# @return [Integer]
|
|
81963
|
+
#
|
|
81964
|
+
# @!attribute [rw] max_days_since_low_fix_available
|
|
81965
|
+
# The maximum number of days since Amazon Inspector reported a fix as
|
|
81966
|
+
# available for a `low` severity finding on the AMI. For example, a
|
|
81967
|
+
# value of `7` does not allow an AMI if Amazon Inspector reported such
|
|
81968
|
+
# a fix more than 7 days ago.
|
|
81969
|
+
#
|
|
81970
|
+
# A scanned AMI that has no `low` severity finding with a fix
|
|
81971
|
+
# available meets this limit. AMIs that Amazon Inspector has not
|
|
81972
|
+
# scanned are not allowed.
|
|
81973
|
+
#
|
|
81974
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
81975
|
+
# @return [Integer]
|
|
81976
|
+
#
|
|
81977
|
+
# @!attribute [rw] max_days_since_medium_fix_available
|
|
81978
|
+
# The maximum number of days since Amazon Inspector reported a fix as
|
|
81979
|
+
# available for a `medium` severity finding on the AMI. For example, a
|
|
81980
|
+
# value of `7` does not allow an AMI if Amazon Inspector reported such
|
|
81981
|
+
# a fix more than 7 days ago.
|
|
81982
|
+
#
|
|
81983
|
+
# A scanned AMI that has no `medium` severity finding with a fix
|
|
81984
|
+
# available meets this limit. AMIs that Amazon Inspector has not
|
|
81985
|
+
# scanned are not allowed.
|
|
81986
|
+
#
|
|
81987
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
81988
|
+
# @return [Integer]
|
|
81989
|
+
#
|
|
81990
|
+
# @!attribute [rw] max_days_since_high_fix_available
|
|
81991
|
+
# The maximum number of days since Amazon Inspector reported a fix as
|
|
81992
|
+
# available for a `high` severity finding on the AMI. For example, a
|
|
81993
|
+
# value of `7` does not allow an AMI if Amazon Inspector reported such
|
|
81994
|
+
# a fix more than 7 days ago.
|
|
81995
|
+
#
|
|
81996
|
+
# A scanned AMI that has no `high` severity finding with a fix
|
|
81997
|
+
# available meets this limit. AMIs that Amazon Inspector has not
|
|
81998
|
+
# scanned are not allowed.
|
|
81999
|
+
#
|
|
82000
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
82001
|
+
# @return [Integer]
|
|
82002
|
+
#
|
|
82003
|
+
# @!attribute [rw] max_days_since_critical_fix_available
|
|
82004
|
+
# The maximum number of days since Amazon Inspector reported a fix as
|
|
82005
|
+
# available for a `critical` severity finding on the AMI. For example,
|
|
82006
|
+
# a value of `7` does not allow an AMI if Amazon Inspector reported
|
|
82007
|
+
# such a fix more than 7 days ago.
|
|
82008
|
+
#
|
|
82009
|
+
# A scanned AMI that has no `critical` severity finding with a fix
|
|
82010
|
+
# available meets this limit. AMIs that Amazon Inspector has not
|
|
82011
|
+
# scanned are not allowed.
|
|
82012
|
+
#
|
|
82013
|
+
# Constraints: Minimum value of 0. Maximum value of 2147483647.
|
|
82014
|
+
# @return [Integer]
|
|
82015
|
+
#
|
|
82016
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScanResultConditionRequest AWS API Documentation
|
|
82017
|
+
#
|
|
82018
|
+
class ScanResultConditionRequest < Struct.new(
|
|
82019
|
+
:max_days_since_last_finding_scan,
|
|
82020
|
+
:maximum_severity_label,
|
|
82021
|
+
:max_days_since_informational_fix_available,
|
|
82022
|
+
:max_days_since_low_fix_available,
|
|
82023
|
+
:max_days_since_medium_fix_available,
|
|
82024
|
+
:max_days_since_high_fix_available,
|
|
82025
|
+
:max_days_since_critical_fix_available)
|
|
82026
|
+
SENSITIVE = []
|
|
82027
|
+
include Aws::Structure
|
|
82028
|
+
end
|
|
82029
|
+
|
|
82030
|
+
# The Amazon Inspector scan results for an AMI. This information is
|
|
82031
|
+
# present only for AMIs that Amazon Inspector has scanned.
|
|
82032
|
+
#
|
|
82033
|
+
# When you share an AMI with other accounts, organizations, or
|
|
82034
|
+
# organizational units (OUs), or make it public, its scan results are
|
|
82035
|
+
# available to the accounts that can use the AMI.
|
|
82036
|
+
#
|
|
82037
|
+
# The fix-available dates are specific to the AMI. Each date reflects
|
|
82038
|
+
# when a fix became available for a finding on that AMI, not when the
|
|
82039
|
+
# vendor released the fix. As a result, a date can be later than the
|
|
82040
|
+
# vendor's release date, and AMIs with the same vulnerability can have
|
|
82041
|
+
# different dates.
|
|
82042
|
+
#
|
|
82043
|
+
# @!attribute [rw] highest_finding_severity_label
|
|
82044
|
+
# The highest severity among the AMI's Amazon Inspector findings,
|
|
82045
|
+
# whether or not a fix is available.
|
|
82046
|
+
#
|
|
82047
|
+
# The valid values are the following Amazon Inspector severity levels,
|
|
82048
|
+
# which correspond to CVSS score ranges:
|
|
82049
|
+
#
|
|
82050
|
+
# * `informational` - CVSS score of 0.
|
|
82051
|
+
#
|
|
82052
|
+
# * `low` - CVSS score of 0.1 to 3.9.
|
|
82053
|
+
#
|
|
82054
|
+
# * `medium` - CVSS score of 4.0 to 6.9.
|
|
82055
|
+
#
|
|
82056
|
+
# * `high` - CVSS score of 7.0 to 8.9.
|
|
82057
|
+
#
|
|
82058
|
+
# * `critical` - CVSS score of 9.0 to 10.0.
|
|
82059
|
+
#
|
|
82060
|
+
# For more information, see [Software package vulnerability
|
|
82061
|
+
# severity][1] in the *Amazon Inspector User Guide*.
|
|
82062
|
+
#
|
|
82063
|
+
# This value is present only if the AMI has at least one finding.
|
|
82064
|
+
#
|
|
82065
|
+
#
|
|
82066
|
+
#
|
|
82067
|
+
# [1]: https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html#findings-understanding-package-score
|
|
82068
|
+
# @return [String]
|
|
82069
|
+
#
|
|
82070
|
+
# @!attribute [rw] finding_scan_date
|
|
82071
|
+
# The date and time, in the ISO 8601 format in the UTC time zone
|
|
82072
|
+
# (YYYY-MM-DDThh:mm:ss.sssZ), of the most recent Amazon Inspector scan
|
|
82073
|
+
# of the AMI.
|
|
82074
|
+
# @return [Time]
|
|
82075
|
+
#
|
|
82076
|
+
# @!attribute [rw] informational_fix_available_since
|
|
82077
|
+
# The earliest date and time, in the ISO 8601 format in the UTC time
|
|
82078
|
+
# zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported
|
|
82079
|
+
# a fix as available for an `informational` severity finding on the
|
|
82080
|
+
# AMI. This value is present only if the AMI has at least one
|
|
82081
|
+
# `informational` severity finding with a fix available. Amazon
|
|
82082
|
+
# Inspector recomputes this value on each scan.
|
|
82083
|
+
# @return [Time]
|
|
82084
|
+
#
|
|
82085
|
+
# @!attribute [rw] low_fix_available_since
|
|
82086
|
+
# The earliest date and time, in the ISO 8601 format in the UTC time
|
|
82087
|
+
# zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported
|
|
82088
|
+
# a fix as available for a `low` severity finding on the AMI. This
|
|
82089
|
+
# value is present only if the AMI has at least one `low` severity
|
|
82090
|
+
# finding with a fix available. Amazon Inspector recomputes this value
|
|
82091
|
+
# on each scan.
|
|
82092
|
+
# @return [Time]
|
|
82093
|
+
#
|
|
82094
|
+
# @!attribute [rw] medium_fix_available_since
|
|
82095
|
+
# The earliest date and time, in the ISO 8601 format in the UTC time
|
|
82096
|
+
# zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported
|
|
82097
|
+
# a fix as available for a `medium` severity finding on the AMI. This
|
|
82098
|
+
# value is present only if the AMI has at least one `medium` severity
|
|
82099
|
+
# finding with a fix available. Amazon Inspector recomputes this value
|
|
82100
|
+
# on each scan.
|
|
82101
|
+
# @return [Time]
|
|
82102
|
+
#
|
|
82103
|
+
# @!attribute [rw] high_fix_available_since
|
|
82104
|
+
# The earliest date and time, in the ISO 8601 format in the UTC time
|
|
82105
|
+
# zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported
|
|
82106
|
+
# a fix as available for a `high` severity finding on the AMI. This
|
|
82107
|
+
# value is present only if the AMI has at least one `high` severity
|
|
82108
|
+
# finding with a fix available. Amazon Inspector recomputes this value
|
|
82109
|
+
# on each scan.
|
|
82110
|
+
# @return [Time]
|
|
82111
|
+
#
|
|
82112
|
+
# @!attribute [rw] critical_fix_available_since
|
|
82113
|
+
# The earliest date and time, in the ISO 8601 format in the UTC time
|
|
82114
|
+
# zone (YYYY-MM-DDThh:mm:ss.sssZ), at which Amazon Inspector reported
|
|
82115
|
+
# a fix as available for a `critical` severity finding on the AMI.
|
|
82116
|
+
# This value is present only if the AMI has at least one `critical`
|
|
82117
|
+
# severity finding with a fix available. Amazon Inspector recomputes
|
|
82118
|
+
# this value on each scan.
|
|
82119
|
+
# @return [Time]
|
|
82120
|
+
#
|
|
82121
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ScanResults AWS API Documentation
|
|
82122
|
+
#
|
|
82123
|
+
class ScanResults < Struct.new(
|
|
82124
|
+
:highest_finding_severity_label,
|
|
82125
|
+
:finding_scan_date,
|
|
82126
|
+
:informational_fix_available_since,
|
|
82127
|
+
:low_fix_available_since,
|
|
82128
|
+
:medium_fix_available_since,
|
|
82129
|
+
:high_fix_available_since,
|
|
82130
|
+
:critical_fix_available_since)
|
|
82131
|
+
SENSITIVE = []
|
|
82132
|
+
include Aws::Structure
|
|
82133
|
+
end
|
|
82134
|
+
|
|
81426
82135
|
# Describes a Scheduled Instance.
|
|
81427
82136
|
#
|
|
81428
82137
|
# @!attribute [rw] availability_zone
|
|
@@ -87408,6 +88117,11 @@ module Aws::EC2
|
|
|
87408
88117
|
# The tags for the attachment.
|
|
87409
88118
|
# @return [Array<Types::Tag>]
|
|
87410
88119
|
#
|
|
88120
|
+
# @!attribute [rw] nat_gateway_support
|
|
88121
|
+
# The state of NAT gateway support for the attachment. Only the owner
|
|
88122
|
+
# of the transit gateway receives this parameter.
|
|
88123
|
+
# @return [String]
|
|
88124
|
+
#
|
|
87411
88125
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TransitGatewayAttachment AWS API Documentation
|
|
87412
88126
|
#
|
|
87413
88127
|
class TransitGatewayAttachment < Struct.new(
|
|
@@ -87420,7 +88134,8 @@ module Aws::EC2
|
|
|
87420
88134
|
:state,
|
|
87421
88135
|
:association,
|
|
87422
88136
|
:creation_time,
|
|
87423
|
-
:tags
|
|
88137
|
+
:tags,
|
|
88138
|
+
:nat_gateway_support)
|
|
87424
88139
|
SENSITIVE = []
|
|
87425
88140
|
include Aws::Structure
|
|
87426
88141
|
end
|
|
@@ -88208,6 +88923,80 @@ module Aws::EC2
|
|
|
88208
88923
|
include Aws::Structure
|
|
88209
88924
|
end
|
|
88210
88925
|
|
|
88926
|
+
# Contains information about a NAT gateway rule for a transit gateway
|
|
88927
|
+
# attachment, including the rule number, the source CIDR block, the
|
|
88928
|
+
# translated CIDR block, and the state of the rule.
|
|
88929
|
+
#
|
|
88930
|
+
# @!attribute [rw] rule_number
|
|
88931
|
+
# The rule number.
|
|
88932
|
+
# @return [Integer]
|
|
88933
|
+
#
|
|
88934
|
+
# @!attribute [rw] match_source_cidr
|
|
88935
|
+
# The IPv4 CIDR block of the source addresses to translate.
|
|
88936
|
+
# @return [String]
|
|
88937
|
+
#
|
|
88938
|
+
# @!attribute [rw] nat_cidr
|
|
88939
|
+
# The IPv4 CIDR block that the transit gateway translates the source
|
|
88940
|
+
# addresses to.
|
|
88941
|
+
# @return [String]
|
|
88942
|
+
#
|
|
88943
|
+
# @!attribute [rw] state
|
|
88944
|
+
# The state of the NAT gateway rule. The possible values are:
|
|
88945
|
+
#
|
|
88946
|
+
# * `pending` - The transit gateway is applying a change to the rule.
|
|
88947
|
+
#
|
|
88948
|
+
# * `activated` - The rule is in effect because NAT gateway support is
|
|
88949
|
+
# enabled for the attachment.
|
|
88950
|
+
#
|
|
88951
|
+
# * `deactivated` - The rule isn't in effect because NAT gateway
|
|
88952
|
+
# support is disabled for the attachment.
|
|
88953
|
+
# @return [String]
|
|
88954
|
+
#
|
|
88955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TransitGatewayNatRule AWS API Documentation
|
|
88956
|
+
#
|
|
88957
|
+
class TransitGatewayNatRule < Struct.new(
|
|
88958
|
+
:rule_number,
|
|
88959
|
+
:match_source_cidr,
|
|
88960
|
+
:nat_cidr,
|
|
88961
|
+
:state)
|
|
88962
|
+
SENSITIVE = []
|
|
88963
|
+
include Aws::Structure
|
|
88964
|
+
end
|
|
88965
|
+
|
|
88966
|
+
# Describes a NAT gateway rule to apply to a transit gateway attachment.
|
|
88967
|
+
# A NAT gateway rule translates source addresses in the
|
|
88968
|
+
# `MatchSourceCidr` range to the corresponding addresses in the
|
|
88969
|
+
# `NatCidr` range.
|
|
88970
|
+
#
|
|
88971
|
+
# @!attribute [rw] rule_number
|
|
88972
|
+
# The rule number. Valid values are 1 to 32766. Each rule number must
|
|
88973
|
+
# be unique within the request.
|
|
88974
|
+
# @return [Integer]
|
|
88975
|
+
#
|
|
88976
|
+
# @!attribute [rw] match_source_cidr
|
|
88977
|
+
# The IPv4 CIDR block of the source addresses to translate. The CIDR
|
|
88978
|
+
# block can't overlap the multicast range (`224.0.0.0/4`) or the
|
|
88979
|
+
# link-local range (`169.254.0.0/16`).
|
|
88980
|
+
# @return [String]
|
|
88981
|
+
#
|
|
88982
|
+
# @!attribute [rw] nat_cidr
|
|
88983
|
+
# The IPv4 CIDR block to translate the source addresses to. The CIDR
|
|
88984
|
+
# block must be in a private (RFC 1918) or shared address space (RFC
|
|
88985
|
+
# 6598) range, and must have the same prefix length as
|
|
88986
|
+
# `MatchSourceCidr`. The CIDR blocks in the rules for an attachment
|
|
88987
|
+
# can't overlap each other.
|
|
88988
|
+
# @return [String]
|
|
88989
|
+
#
|
|
88990
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TransitGatewayNatRuleRequest AWS API Documentation
|
|
88991
|
+
#
|
|
88992
|
+
class TransitGatewayNatRuleRequest < Struct.new(
|
|
88993
|
+
:rule_number,
|
|
88994
|
+
:match_source_cidr,
|
|
88995
|
+
:nat_cidr)
|
|
88996
|
+
SENSITIVE = []
|
|
88997
|
+
include Aws::Structure
|
|
88998
|
+
end
|
|
88999
|
+
|
|
88211
89000
|
# Describes the options for a transit gateway.
|
|
88212
89001
|
#
|
|
88213
89002
|
# @!attribute [rw] amazon_side_asn
|