aws-sdk-imagebuilder 1.118.0 → 1.119.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 819cd44202a888dca12fd4ea7be762dac65636a56ddd8700253e8db09e461372
4
- data.tar.gz: 83337e086b7be81e0ddb0ab346e5f7f6e027ae81df334ae587fe69116fa0ed95
3
+ metadata.gz: 93f811f81942becc5706d7fb0e655ae862ce1211348464e04bf8a80edb192dd6
4
+ data.tar.gz: 8d7f07b30ba7e1f8bee2761ce4752a33d913f28a0d4a8a7ec2459e377e58805b
5
5
  SHA512:
6
- metadata.gz: 46e3ba84aa5c902fc8ce8f3edb76e8f4d82072360eb918253abe6183581422f4acc528f21f43ac5a82c0d012d5ee97a852354700c0883dac46ba02eea605294f
7
- data.tar.gz: 0b20e2c05a553b643d227b8ece98c6bddd541277ec657281aeae5f9bc4b82a974ef20b2d855b069658c88d65369ec98917b9a9e83514381cf2e51f27eb66d579
6
+ metadata.gz: f59d366b59e4e47669d38339c1f85fed60c38ccbf186afb71df4f0f83e7c8d5b0eee12c28e93518ab63229209e5ce30daf027340d72aae3c240a4e8a8b4f3b5f
7
+ data.tar.gz: 4d2457f5124457df6c8e26704f7fba541935580d5bb00429c392086d0446add6f576be99c62db9ad43c5565629b55c8c464c2043ee261040e0c86e2bc656a6c8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.119.0 (2026-10-29)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for on-demand AMI scanning with Amazon Inspector.
8
+
4
9
  1.118.0 (2026-10-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.118.0
1
+ 1.119.0
@@ -1386,11 +1386,8 @@ module Aws::Imagebuilder
1386
1386
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1387
1387
  #
1388
1388
  # @option params [Types::ImageScanningConfiguration] :image_scanning_configuration
1389
- # Settings for vulnerability scans that Amazon Inspector runs during
1390
- # image creation. For AMI output, Amazon Inspector scans the test
1391
- # instance. For container output, Amazon Inspector scans the container
1392
- # image that Image Builder pushes to the Amazon ECR repository specified
1393
- # in `ecrConfiguration`.
1389
+ # The settings that determine whether and how Amazon Inspector scans the
1390
+ # image for vulnerabilities.
1394
1391
  #
1395
1392
  # @option params [Array<Types::WorkflowConfiguration>] :workflows
1396
1393
  # The array of workflow configuration objects for the build. If you
@@ -1503,6 +1500,11 @@ module Aws::Imagebuilder
1503
1500
  # repository_name: "NonEmptyString",
1504
1501
  # container_tags: ["NonEmptyString"],
1505
1502
  # },
1503
+ # image_scanning_types: ["TEST_INSTANCE_CVE"], # accepts TEST_INSTANCE_CVE, ON_DEMAND_AMI_CVE
1504
+ # scan_result_condition: {
1505
+ # maximum_severity_label: "INFORMATIONAL", # required, accepts INFORMATIONAL, LOW, MEDIUM, HIGH
1506
+ # fix_available: false,
1507
+ # },
1506
1508
  # },
1507
1509
  # workflows: [
1508
1510
  # {
@@ -1617,8 +1619,8 @@ module Aws::Imagebuilder
1617
1619
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
1618
1620
  #
1619
1621
  # @option params [Types::ImageScanningConfiguration] :image_scanning_configuration
1620
- # Contains settings for vulnerability scans that Amazon Inspector runs
1621
- # against the test instance during image creation.
1622
+ # The settings that determine whether and how Amazon Inspector scans the
1623
+ # images that this pipeline creates.
1622
1624
  #
1623
1625
  # @option params [Array<Types::WorkflowConfiguration>] :workflows
1624
1626
  # The array of workflow configuration objects for builds that this
@@ -1751,6 +1753,11 @@ module Aws::Imagebuilder
1751
1753
  # repository_name: "NonEmptyString",
1752
1754
  # container_tags: ["NonEmptyString"],
1753
1755
  # },
1756
+ # image_scanning_types: ["TEST_INSTANCE_CVE"], # accepts TEST_INSTANCE_CVE, ON_DEMAND_AMI_CVE
1757
+ # scan_result_condition: {
1758
+ # maximum_severity_label: "INFORMATIONAL", # required, accepts INFORMATIONAL, LOW, MEDIUM, HIGH
1759
+ # fix_available: false,
1760
+ # },
1754
1761
  # },
1755
1762
  # workflows: [
1756
1763
  # {
@@ -3975,6 +3982,10 @@ module Aws::Imagebuilder
3975
3982
  # resp.image.image_scanning_configuration.ecr_configuration.repository_name #=> String
3976
3983
  # resp.image.image_scanning_configuration.ecr_configuration.container_tags #=> Array
3977
3984
  # resp.image.image_scanning_configuration.ecr_configuration.container_tags[0] #=> String
3985
+ # resp.image.image_scanning_configuration.image_scanning_types #=> Array
3986
+ # resp.image.image_scanning_configuration.image_scanning_types[0] #=> String, one of "TEST_INSTANCE_CVE", "ON_DEMAND_AMI_CVE"
3987
+ # resp.image.image_scanning_configuration.scan_result_condition.maximum_severity_label #=> String, one of "INFORMATIONAL", "LOW", "MEDIUM", "HIGH"
3988
+ # resp.image.image_scanning_configuration.scan_result_condition.fix_available #=> Boolean
3978
3989
  # resp.image.deprecation_time #=> Time
3979
3990
  # resp.image.lifecycle_execution_id #=> String
3980
3991
  # resp.image.execution_role #=> String
@@ -4083,6 +4094,10 @@ module Aws::Imagebuilder
4083
4094
  # resp.image_pipeline.image_scanning_configuration.ecr_configuration.repository_name #=> String
4084
4095
  # resp.image_pipeline.image_scanning_configuration.ecr_configuration.container_tags #=> Array
4085
4096
  # resp.image_pipeline.image_scanning_configuration.ecr_configuration.container_tags[0] #=> String
4097
+ # resp.image_pipeline.image_scanning_configuration.image_scanning_types #=> Array
4098
+ # resp.image_pipeline.image_scanning_configuration.image_scanning_types[0] #=> String, one of "TEST_INSTANCE_CVE", "ON_DEMAND_AMI_CVE"
4099
+ # resp.image_pipeline.image_scanning_configuration.scan_result_condition.maximum_severity_label #=> String, one of "INFORMATIONAL", "LOW", "MEDIUM", "HIGH"
4100
+ # resp.image_pipeline.image_scanning_configuration.scan_result_condition.fix_available #=> Boolean
4086
4101
  # resp.image_pipeline.image_tags #=> Hash
4087
4102
  # resp.image_pipeline.image_tags["TagKey"] #=> String
4088
4103
  # resp.image_pipeline.execution_role #=> String
@@ -6351,6 +6366,10 @@ module Aws::Imagebuilder
6351
6366
  # resp.image_pipeline_list[0].image_scanning_configuration.ecr_configuration.repository_name #=> String
6352
6367
  # resp.image_pipeline_list[0].image_scanning_configuration.ecr_configuration.container_tags #=> Array
6353
6368
  # resp.image_pipeline_list[0].image_scanning_configuration.ecr_configuration.container_tags[0] #=> String
6369
+ # resp.image_pipeline_list[0].image_scanning_configuration.image_scanning_types #=> Array
6370
+ # resp.image_pipeline_list[0].image_scanning_configuration.image_scanning_types[0] #=> String, one of "TEST_INSTANCE_CVE", "ON_DEMAND_AMI_CVE"
6371
+ # resp.image_pipeline_list[0].image_scanning_configuration.scan_result_condition.maximum_severity_label #=> String, one of "INFORMATIONAL", "LOW", "MEDIUM", "HIGH"
6372
+ # resp.image_pipeline_list[0].image_scanning_configuration.scan_result_condition.fix_available #=> Boolean
6354
6373
  # resp.image_pipeline_list[0].image_tags #=> Hash
6355
6374
  # resp.image_pipeline_list[0].image_tags["TagKey"] #=> String
6356
6375
  # resp.image_pipeline_list[0].execution_role #=> String
@@ -8823,8 +8842,8 @@ module Aws::Imagebuilder
8823
8842
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
8824
8843
  #
8825
8844
  # @option params [Types::ImageScanningConfiguration] :image_scanning_configuration
8826
- # Contains settings for vulnerability scans that Amazon Inspector runs
8827
- # against the test instance during image creation.
8845
+ # The updated settings that determine whether and how Amazon Inspector
8846
+ # scans the images that this pipeline creates.
8828
8847
  #
8829
8848
  # @option params [Array<Types::WorkflowConfiguration>] :workflows
8830
8849
  # The array of workflow configuration objects for builds that this
@@ -8910,6 +8929,11 @@ module Aws::Imagebuilder
8910
8929
  # repository_name: "NonEmptyString",
8911
8930
  # container_tags: ["NonEmptyString"],
8912
8931
  # },
8932
+ # image_scanning_types: ["TEST_INSTANCE_CVE"], # accepts TEST_INSTANCE_CVE, ON_DEMAND_AMI_CVE
8933
+ # scan_result_condition: {
8934
+ # maximum_severity_label: "INFORMATIONAL", # required, accepts INFORMATIONAL, LOW, MEDIUM, HIGH
8935
+ # fix_available: false,
8936
+ # },
8913
8937
  # },
8914
8938
  # workflows: [
8915
8939
  # {
@@ -9351,7 +9375,7 @@ module Aws::Imagebuilder
9351
9375
  tracer: tracer
9352
9376
  )
9353
9377
  context[:gem_name] = 'aws-sdk-imagebuilder'
9354
- context[:gem_version] = '1.118.0'
9378
+ context[:gem_version] = '1.119.0'
9355
9379
  Seahorse::Client::Request.new(handlers, context)
9356
9380
  end
9357
9381
 
@@ -213,6 +213,8 @@ module Aws::Imagebuilder
213
213
  ImageScanState = Shapes::StructureShape.new(name: 'ImageScanState')
214
214
  ImageScanStatus = Shapes::StringShape.new(name: 'ImageScanStatus')
215
215
  ImageScanningConfiguration = Shapes::StructureShape.new(name: 'ImageScanningConfiguration')
216
+ ImageScanningType = Shapes::StringShape.new(name: 'ImageScanningType')
217
+ ImageScanningTypeList = Shapes::ListShape.new(name: 'ImageScanningTypeList')
216
218
  ImageSource = Shapes::StringShape.new(name: 'ImageSource')
217
219
  ImageState = Shapes::StructureShape.new(name: 'ImageState')
218
220
  ImageStatus = Shapes::StringShape.new(name: 'ImageStatus')
@@ -345,6 +347,7 @@ module Aws::Imagebuilder
345
347
  MarketplaceResourceLocation = Shapes::StringShape.new(name: 'MarketplaceResourceLocation')
346
348
  MarketplaceResourceType = Shapes::StringShape.new(name: 'MarketplaceResourceType')
347
349
  MaxParallelLaunches = Shapes::IntegerShape.new(name: 'MaxParallelLaunches')
350
+ MaximumSeverityLabel = Shapes::StringShape.new(name: 'MaximumSeverityLabel')
348
351
  NonEmptyMaxLengthString = Shapes::StringShape.new(name: 'NonEmptyMaxLengthString')
349
352
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
350
353
  NonEmptyStringList = Shapes::ListShape.new(name: 'NonEmptyStringList')
@@ -406,6 +409,7 @@ module Aws::Imagebuilder
406
409
  RoleNameOrArn = Shapes::StringShape.new(name: 'RoleNameOrArn')
407
410
  S3ExportConfiguration = Shapes::StructureShape.new(name: 'S3ExportConfiguration')
408
411
  S3Logs = Shapes::StructureShape.new(name: 'S3Logs')
412
+ ScanResultCondition = Shapes::StructureShape.new(name: 'ScanResultCondition')
409
413
  Schedule = Shapes::StructureShape.new(name: 'Schedule')
410
414
  SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
411
415
  SendWorkflowStepActionRequest = Shapes::StructureShape.new(name: 'SendWorkflowStepActionRequest')
@@ -1367,8 +1371,12 @@ module Aws::Imagebuilder
1367
1371
 
1368
1372
  ImageScanningConfiguration.add_member(:image_scanning_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "imageScanningEnabled"))
1369
1373
  ImageScanningConfiguration.add_member(:ecr_configuration, Shapes::ShapeRef.new(shape: EcrConfiguration, location_name: "ecrConfiguration"))
1374
+ ImageScanningConfiguration.add_member(:image_scanning_types, Shapes::ShapeRef.new(shape: ImageScanningTypeList, location_name: "imageScanningTypes"))
1375
+ ImageScanningConfiguration.add_member(:scan_result_condition, Shapes::ShapeRef.new(shape: ScanResultCondition, location_name: "scanResultCondition"))
1370
1376
  ImageScanningConfiguration.struct_class = Types::ImageScanningConfiguration
1371
1377
 
1378
+ ImageScanningTypeList.member = Shapes::ShapeRef.new(shape: ImageScanningType)
1379
+
1372
1380
  ImageState.add_member(:status, Shapes::ShapeRef.new(shape: ImageStatus, location_name: "status"))
1373
1381
  ImageState.add_member(:reason, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "reason"))
1374
1382
  ImageState.add_member(:failure_context, Shapes::ShapeRef.new(shape: ImageFailureContext, location_name: "failureContext"))
@@ -2053,6 +2061,10 @@ module Aws::Imagebuilder
2053
2061
  S3Logs.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "s3KeyPrefix"))
2054
2062
  S3Logs.struct_class = Types::S3Logs
2055
2063
 
2064
+ ScanResultCondition.add_member(:maximum_severity_label, Shapes::ShapeRef.new(shape: MaximumSeverityLabel, required: true, location_name: "maximumSeverityLabel"))
2065
+ ScanResultCondition.add_member(:fix_available, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "fixAvailable"))
2066
+ ScanResultCondition.struct_class = Types::ScanResultCondition
2067
+
2056
2068
  Schedule.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "scheduleExpression"))
2057
2069
  Schedule.add_member(:timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "timezone"))
2058
2070
  Schedule.add_member(:pipeline_execution_start_condition, Shapes::ShapeRef.new(shape: PipelineExecutionStartCondition, location_name: "pipelineExecutionStartCondition"))
@@ -1615,8 +1615,8 @@ module Aws::Imagebuilder
1615
1615
  # @return [String]
1616
1616
  #
1617
1617
  # @!attribute [rw] image_scanning_configuration
1618
- # Contains settings for vulnerability scans that Amazon Inspector runs
1619
- # against the test instance during image creation.
1618
+ # The settings that determine whether and how Amazon Inspector scans
1619
+ # the images that this pipeline creates.
1620
1620
  # @return [Types::ImageScanningConfiguration]
1621
1621
  #
1622
1622
  # @!attribute [rw] workflows
@@ -1920,11 +1920,8 @@ module Aws::Imagebuilder
1920
1920
  # @return [String]
1921
1921
  #
1922
1922
  # @!attribute [rw] image_scanning_configuration
1923
- # Settings for vulnerability scans that Amazon Inspector runs during
1924
- # image creation. For AMI output, Amazon Inspector scans the test
1925
- # instance. For container output, Amazon Inspector scans the container
1926
- # image that Image Builder pushes to the Amazon ECR repository
1927
- # specified in `ecrConfiguration`.
1923
+ # The settings that determine whether and how Amazon Inspector scans
1924
+ # the image for vulnerabilities.
1928
1925
  # @return [Types::ImageScanningConfiguration]
1929
1926
  #
1930
1927
  # @!attribute [rw] workflows
@@ -4250,10 +4247,8 @@ module Aws::Imagebuilder
4250
4247
  # @return [Types::ImageScanState]
4251
4248
  #
4252
4249
  # @!attribute [rw] image_scanning_configuration
4253
- # Settings for the vulnerability scans that Amazon Inspector runs for
4254
- # this image. For AMI output, Amazon Inspector scans the test instance
4255
- # during image creation. For container output, Amazon Inspector scans
4256
- # the container image in its Amazon ECR repository.
4250
+ # The settings that determine whether and how Amazon Inspector scans
4251
+ # this image.
4257
4252
  # @return [Types::ImageScanningConfiguration]
4258
4253
  #
4259
4254
  # @!attribute [rw] deprecation_time
@@ -4522,8 +4517,8 @@ module Aws::Imagebuilder
4522
4517
  # @return [Hash<String,String>]
4523
4518
  #
4524
4519
  # @!attribute [rw] image_scanning_configuration
4525
- # Contains settings for vulnerability scans that Amazon Inspector runs
4526
- # against the test instance during image creation.
4520
+ # The settings that determine whether and how Amazon Inspector scans
4521
+ # the images that the pipeline creates.
4527
4522
  # @return [Types::ImageScanningConfiguration]
4528
4523
  #
4529
4524
  # @!attribute [rw] image_tags
@@ -4993,23 +4988,67 @@ module Aws::Imagebuilder
4993
4988
  #
4994
4989
  # @!attribute [rw] image_scanning_enabled
4995
4990
  # Specifies whether Amazon Inspector scans for vulnerabilities when
4996
- # you create a new image, and whether Image Builder saves the
4997
- # findings. Amazon Inspector must be enabled in the account. Image
4998
- # tests must also be enabled. For AMI output, Amazon Inspector scans
4999
- # the test instance. For container output, Amazon Inspector scans the
5000
- # container image that Image Builder pushes to the Amazon ECR
5001
- # repository from your `ecrConfiguration` settings.
4991
+ # you create a new image. You must also enable image tests. For AMI
4992
+ # output, `imageScanningTypes` sets whether Amazon Inspector scans the
4993
+ # test instance or the output AMI. For container output, Amazon
4994
+ # Inspector scans the container image that Image Builder pushes to the
4995
+ # Amazon ECR repository from your `ecrConfiguration` settings.
4996
+ #
4997
+ # To use container image scans, you must activate Amazon Inspector for
4998
+ # Amazon ECR scanning in your account. The Image Builder
4999
+ # `ListImageScanFindings` operation returns the findings of these
5000
+ # scans.
5002
5001
  # @return [Boolean]
5003
5002
  #
5004
5003
  # @!attribute [rw] ecr_configuration
5005
5004
  # Contains Amazon ECR settings for vulnerability scans.
5006
5005
  # @return [Types::EcrConfiguration]
5007
5006
  #
5007
+ # @!attribute [rw] image_scanning_types
5008
+ # The type of vulnerability scan that Image Builder runs for AMI
5009
+ # output when `imageScanningEnabled` is `true`. Specify a single
5010
+ # value. If you omit `imageScanningTypes`, Image Builder uses
5011
+ # `TEST_INSTANCE_CVE`. The scan types work as follows:
5012
+ #
5013
+ # * With `TEST_INSTANCE_CVE`, Amazon Inspector scans the test instance
5014
+ # during image tests. To use this scan, you must activate Amazon
5015
+ # Inspector for Amazon EC2 scanning in your account. The Image
5016
+ # Builder `ListImageScanFindings` operation returns the findings.
5017
+ #
5018
+ # * With `ON_DEMAND_AMI_CVE`, Amazon Inspector starts an on-demand
5019
+ # scan of the output AMI during image tests. To use this scan, you
5020
+ # must build from an image recipe, but you do not need to activate
5021
+ # Amazon Inspector in your account. The Amazon EC2
5022
+ # [GetImageFindings][1] operation returns the findings.
5023
+ #
5024
+ #
5025
+ #
5026
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetImageFindings.html
5027
+ # @return [Array<String>]
5028
+ #
5029
+ # @!attribute [rw] scan_result_condition
5030
+ # The condition that the output AMI's scan results must meet for the
5031
+ # image to pass. You can set `scanResultCondition` only when
5032
+ # `imageScanningTypes` is `ON_DEMAND_AMI_CVE`. If you omit it, Image
5033
+ # Builder starts the scan but does not wait for it or use its results
5034
+ # to pass or fail the image.
5035
+ #
5036
+ # When you set `scanResultCondition`, the test phase waits for the
5037
+ # scan to finish. Then Image Builder checks the findings against the
5038
+ # condition. By default, Image Builder counts only findings that have
5039
+ # a fix available. To count every finding, set `fixAvailable` to
5040
+ # `false`. If a counted finding exceeds `maximumSeverityLabel`, Image
5041
+ # Builder fails the image in the test phase and does not distribute
5042
+ # the AMI.
5043
+ # @return [Types::ScanResultCondition]
5044
+ #
5008
5045
  # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImageScanningConfiguration AWS API Documentation
5009
5046
  #
5010
5047
  class ImageScanningConfiguration < Struct.new(
5011
5048
  :image_scanning_enabled,
5012
- :ecr_configuration)
5049
+ :ecr_configuration,
5050
+ :image_scanning_types,
5051
+ :scan_result_condition)
5013
5052
  SENSITIVE = []
5014
5053
  include Aws::Structure
5015
5054
  end
@@ -8808,6 +8847,32 @@ module Aws::Imagebuilder
8808
8847
  include Aws::Structure
8809
8848
  end
8810
8849
 
8850
+ # A condition that sets which findings from an on-demand AMI scan fail
8851
+ # the image. Image Builder checks the output AMI's findings against
8852
+ # this condition during the test phase.
8853
+ #
8854
+ # @!attribute [rw] maximum_severity_label
8855
+ # The maximum severity allowed for findings on the output AMI. A
8856
+ # finding above this severity fails the image, unless `fixAvailable`
8857
+ # excludes it. Valid values are `INFORMATIONAL`, `LOW`, `MEDIUM`, and
8858
+ # `HIGH`. A `CRITICAL` finding that counts always fails the image.
8859
+ # @return [String]
8860
+ #
8861
+ # @!attribute [rw] fix_available
8862
+ # Specifies whether only findings that have a fix available count
8863
+ # toward `maximumSeverityLabel`. When `false`, Image Builder counts
8864
+ # every finding. The default is `true`.
8865
+ # @return [Boolean]
8866
+ #
8867
+ # @see http://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ScanResultCondition AWS API Documentation
8868
+ #
8869
+ class ScanResultCondition < Struct.new(
8870
+ :maximum_severity_label,
8871
+ :fix_available)
8872
+ SENSITIVE = []
8873
+ include Aws::Structure
8874
+ end
8875
+
8811
8876
  # A schedule configures when and how often a pipeline will automatically
8812
8877
  # create a new image.
8813
8878
  #
@@ -9462,8 +9527,8 @@ module Aws::Imagebuilder
9462
9527
  # @return [String]
9463
9528
  #
9464
9529
  # @!attribute [rw] image_scanning_configuration
9465
- # Contains settings for vulnerability scans that Amazon Inspector runs
9466
- # against the test instance during image creation.
9530
+ # The updated settings that determine whether and how Amazon Inspector
9531
+ # scans the images that this pipeline creates.
9467
9532
  # @return [Types::ImageScanningConfiguration]
9468
9533
  #
9469
9534
  # @!attribute [rw] workflows
@@ -54,7 +54,7 @@ module Aws::Imagebuilder
54
54
  autoload :EndpointProvider, 'aws-sdk-imagebuilder/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-imagebuilder/endpoints'
56
56
 
57
- GEM_VERSION = '1.118.0'
57
+ GEM_VERSION = '1.119.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -213,13 +213,7 @@ module Aws
213
213
  ?enhanced_image_metadata_enabled: bool,
214
214
  ?tags: Hash[::String, ::String],
215
215
  client_token: ::String,
216
- ?image_scanning_configuration: {
217
- image_scanning_enabled: bool?,
218
- ecr_configuration: {
219
- repository_name: ::String?,
220
- container_tags: Array[::String]?
221
- }?
222
- },
216
+ ?image_scanning_configuration: Params::image_scanning_configuration,
223
217
  ?workflows: Array[
224
218
  Params::workflow_configuration
225
219
  ],
@@ -254,13 +248,7 @@ module Aws
254
248
  ?tags: Hash[::String, ::String],
255
249
  ?image_tags: Hash[::String, ::String],
256
250
  client_token: ::String,
257
- ?image_scanning_configuration: {
258
- image_scanning_enabled: bool?,
259
- ecr_configuration: {
260
- repository_name: ::String?,
261
- container_tags: Array[::String]?
262
- }?
263
- },
251
+ ?image_scanning_configuration: Params::image_scanning_configuration,
264
252
  ?workflows: Array[
265
253
  Params::workflow_configuration
266
254
  ],
@@ -1378,13 +1366,7 @@ module Aws
1378
1366
  ?schedule: Params::schedule,
1379
1367
  ?status: ("DISABLED" | "ENABLED"),
1380
1368
  client_token: ::String,
1381
- ?image_scanning_configuration: {
1382
- image_scanning_enabled: bool?,
1383
- ecr_configuration: {
1384
- repository_name: ::String?,
1385
- container_tags: Array[::String]?
1386
- }?
1387
- },
1369
+ ?image_scanning_configuration: Params::image_scanning_configuration,
1388
1370
  ?workflows: Array[
1389
1371
  Params::workflow_configuration
1390
1372
  ],
data/sig/params.rbs CHANGED
@@ -93,6 +93,19 @@ module Aws
93
93
  account_id: ::String?
94
94
  }
95
95
 
96
+ type image_scanning_configuration = {
97
+ image_scanning_enabled: bool?,
98
+ ecr_configuration: {
99
+ repository_name: ::String?,
100
+ container_tags: Array[::String]?
101
+ }?,
102
+ image_scanning_types: Array[("TEST_INSTANCE_CVE" | "ON_DEMAND_AMI_CVE")]?,
103
+ scan_result_condition: {
104
+ maximum_severity_label: ("INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH"),
105
+ fix_available: bool?
106
+ }?
107
+ }
108
+
96
109
  type workflow_configuration = {
97
110
  workflow_arn: ::String,
98
111
  parameters: Array[
data/sig/types.rbs CHANGED
@@ -1071,6 +1071,8 @@ module Aws::Imagebuilder
1071
1071
  class ImageScanningConfiguration
1072
1072
  attr_accessor image_scanning_enabled: bool
1073
1073
  attr_accessor ecr_configuration: Types::EcrConfiguration
1074
+ attr_accessor image_scanning_types: ::Array[("TEST_INSTANCE_CVE" | "ON_DEMAND_AMI_CVE")]
1075
+ attr_accessor scan_result_condition: Types::ScanResultCondition
1074
1076
  SENSITIVE: []
1075
1077
  end
1076
1078
 
@@ -1949,6 +1951,12 @@ module Aws::Imagebuilder
1949
1951
  SENSITIVE: []
1950
1952
  end
1951
1953
 
1954
+ class ScanResultCondition
1955
+ attr_accessor maximum_severity_label: ("INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH")
1956
+ attr_accessor fix_available: bool
1957
+ SENSITIVE: []
1958
+ end
1959
+
1952
1960
  class Schedule
1953
1961
  attr_accessor schedule_expression: ::String
1954
1962
  attr_accessor timezone: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-imagebuilder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.118.0
4
+ version: 1.119.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.262.0
21
+ version: 3.263.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.262.0
31
+ version: 3.263.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement