aws-sdk-cloudformation 1.128.0 → 1.129.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudformation/client.rb +63 -41
- data/lib/aws-sdk-cloudformation/client_api.rb +16 -0
- data/lib/aws-sdk-cloudformation/resource.rb +0 -2
- data/lib/aws-sdk-cloudformation/types.rb +98 -44
- data/lib/aws-sdk-cloudformation.rb +1 -1
- data/sig/client.rbs +9 -2
- data/sig/types.rbs +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4bb035add5d4b74c4250d4f5c819fbafdae007e5e6a315f8b4e870c46fe7e0a
|
4
|
+
data.tar.gz: 97d52a471a5b5915686e08f2e65be732d62e55cde37eeb5ab5a22cac8d481425
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fab42e017530798cf9b6c556f3b9dbc2b5ec21eb7033ebca86662470063aa25e80c81c7734deefe80385591c25f4fc18ffafcd64475674c033afda9243111f0
|
7
|
+
data.tar.gz: ee58a0421735145053b59ff85ab4a453a61a2d4f8011fc9b61982a4463b2e63c1585528ddfc5514433879e37410f1688e4ee852df3ae28ff2bede83845fa7cae
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.129.0 (2025-03-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding support for the new parameter "ScanFilters" in the CloudFormation StartResourceScan API. When this parameter is included, the StartResourceScan API will initiate a scan limited to the resource types specified by the parameter.
|
8
|
+
|
4
9
|
1.128.0 (2025-03-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.129.0
|
@@ -1963,12 +1963,14 @@ module Aws::CloudFormation
|
|
1963
1963
|
# Specify an IAM role only if you are using customized administrator
|
1964
1964
|
# roles to control which users or groups can manage specific stack sets
|
1965
1965
|
# within the same administrator account. For more information, see
|
1966
|
-
# [
|
1966
|
+
# [Grant self-managed permissions][1] in the *CloudFormation User
|
1967
1967
|
# Guide*.
|
1968
1968
|
#
|
1969
|
+
# Valid only if the permissions model is `SELF_MANAGED`.
|
1969
1970
|
#
|
1970
1971
|
#
|
1971
|
-
#
|
1972
|
+
#
|
1973
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html
|
1972
1974
|
#
|
1973
1975
|
# @option params [String] :execution_role_name
|
1974
1976
|
# The name of the IAM execution role to use to create the stack set. If
|
@@ -1980,6 +1982,8 @@ module Aws::CloudFormation
|
|
1980
1982
|
# to control which stack resources users and groups can include in their
|
1981
1983
|
# stack sets.
|
1982
1984
|
#
|
1985
|
+
# Valid only if the permissions model is `SELF_MANAGED`.
|
1986
|
+
#
|
1983
1987
|
# @option params [String] :permission_model
|
1984
1988
|
# Describes how the IAM roles required for stack set operations are
|
1985
1989
|
# created. By default, `SELF-MANAGED` is specified.
|
@@ -2001,12 +2005,21 @@ module Aws::CloudFormation
|
|
2001
2005
|
# @option params [Types::AutoDeployment] :auto_deployment
|
2002
2006
|
# Describes whether StackSets automatically deploys to Organizations
|
2003
2007
|
# accounts that are added to the target organization or organizational
|
2004
|
-
# unit (OU).
|
2008
|
+
# unit (OU). For more information, see [Manage automatic deployments for
|
2009
|
+
# CloudFormation StackSets that use service-managed permissions][1] in
|
2010
|
+
# the *CloudFormation User Guide*.
|
2011
|
+
#
|
2012
|
+
# Required if the permissions model is `SERVICE_MANAGED`. (Not used with
|
2013
|
+
# self-managed permissions.)
|
2014
|
+
#
|
2015
|
+
#
|
2016
|
+
#
|
2017
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html
|
2005
2018
|
#
|
2006
2019
|
# @option params [String] :call_as
|
2007
|
-
#
|
2008
|
-
#
|
2009
|
-
# a
|
2020
|
+
# Specifies whether you are acting as an account administrator in the
|
2021
|
+
# organization's management account or as a delegated administrator in
|
2022
|
+
# a member account.
|
2010
2023
|
#
|
2011
2024
|
# By default, `SELF` is specified. Use `SELF` for stack sets with
|
2012
2025
|
# self-managed permissions.
|
@@ -2025,6 +2038,8 @@ module Aws::CloudFormation
|
|
2025
2038
|
# management account, including stack sets that are created by delegated
|
2026
2039
|
# administrators.
|
2027
2040
|
#
|
2041
|
+
# Valid only if the permissions model is `SERVICE_MANAGED`.
|
2042
|
+
#
|
2028
2043
|
#
|
2029
2044
|
#
|
2030
2045
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html
|
@@ -3003,6 +3018,7 @@ module Aws::CloudFormation
|
|
3003
3018
|
# * {Types::DescribeResourceScanOutput#resource_types #resource_types} => Array<String>
|
3004
3019
|
# * {Types::DescribeResourceScanOutput#resources_scanned #resources_scanned} => Integer
|
3005
3020
|
# * {Types::DescribeResourceScanOutput#resources_read #resources_read} => Integer
|
3021
|
+
# * {Types::DescribeResourceScanOutput#scan_filters #scan_filters} => Array<Types::ScanFilter>
|
3006
3022
|
#
|
3007
3023
|
#
|
3008
3024
|
# @example Example: To describe a selected resource scan
|
@@ -3117,6 +3133,9 @@ module Aws::CloudFormation
|
|
3117
3133
|
# resp.resource_types[0] #=> String
|
3118
3134
|
# resp.resources_scanned #=> Integer
|
3119
3135
|
# resp.resources_read #=> Integer
|
3136
|
+
# resp.scan_filters #=> Array
|
3137
|
+
# resp.scan_filters[0].types #=> Array
|
3138
|
+
# resp.scan_filters[0].types[0] #=> String
|
3120
3139
|
#
|
3121
3140
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeResourceScan AWS API Documentation
|
3122
3141
|
#
|
@@ -3214,8 +3233,6 @@ module Aws::CloudFormation
|
|
3214
3233
|
#
|
3215
3234
|
# * Deleted stacks: You must specify the unique stack ID.
|
3216
3235
|
#
|
3217
|
-
# Default: There is no default value.
|
3218
|
-
#
|
3219
3236
|
# @option params [String] :next_token
|
3220
3237
|
# A string that identifies the next page of events that you want to
|
3221
3238
|
# retrieve.
|
@@ -3408,13 +3425,9 @@ module Aws::CloudFormation
|
|
3408
3425
|
#
|
3409
3426
|
# * Deleted stacks: You must specify the unique stack ID.
|
3410
3427
|
#
|
3411
|
-
# Default: There is no default value.
|
3412
|
-
#
|
3413
3428
|
# @option params [required, String] :logical_resource_id
|
3414
3429
|
# The logical name of the resource as specified in the template.
|
3415
3430
|
#
|
3416
|
-
# Default: There is no default value.
|
3417
|
-
#
|
3418
3431
|
# @return [Types::DescribeStackResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3419
3432
|
#
|
3420
3433
|
# * {Types::DescribeStackResourceOutput#stack_resource_detail #stack_resource_detail} => Types::StackResourceDetail
|
@@ -3586,16 +3599,12 @@ module Aws::CloudFormation
|
|
3586
3599
|
#
|
3587
3600
|
# * Deleted stacks: You must specify the unique stack ID.
|
3588
3601
|
#
|
3589
|
-
# Default: There is no default value.
|
3590
|
-
#
|
3591
3602
|
# Required: Conditional. If you don't specify `StackName`, you must
|
3592
3603
|
# specify `PhysicalResourceId`.
|
3593
3604
|
#
|
3594
3605
|
# @option params [String] :logical_resource_id
|
3595
3606
|
# The logical name of the resource as specified in the template.
|
3596
3607
|
#
|
3597
|
-
# Default: There is no default value.
|
3598
|
-
#
|
3599
3608
|
# @option params [String] :physical_resource_id
|
3600
3609
|
# The name or unique identifier that corresponds to a physical instance
|
3601
3610
|
# ID of a resource supported by CloudFormation.
|
@@ -3608,8 +3617,6 @@ module Aws::CloudFormation
|
|
3608
3617
|
# Required: Conditional. If you don't specify `PhysicalResourceId`, you
|
3609
3618
|
# must specify `StackName`.
|
3610
3619
|
#
|
3611
|
-
# Default: There is no default value.
|
3612
|
-
#
|
3613
3620
|
# @return [Types::DescribeStackResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3614
3621
|
#
|
3615
3622
|
# * {Types::DescribeStackResourcesOutput#stack_resources #stack_resources} => Array<Types::StackResource>
|
@@ -3861,8 +3868,6 @@ module Aws::CloudFormation
|
|
3861
3868
|
#
|
3862
3869
|
# * Deleted stacks: You must specify the unique stack ID.
|
3863
3870
|
#
|
3864
|
-
# Default: There is no default value.
|
3865
|
-
#
|
3866
3871
|
# @option params [String] :next_token
|
3867
3872
|
# A string that identifies the next page of stacks that you want to
|
3868
3873
|
# retrieve.
|
@@ -4659,8 +4664,6 @@ module Aws::CloudFormation
|
|
4659
4664
|
#
|
4660
4665
|
# * Deleted stacks: You must specify the unique stack ID.
|
4661
4666
|
#
|
4662
|
-
# Default: There is no default value.
|
4663
|
-
#
|
4664
4667
|
# @option params [String] :change_set_name
|
4665
4668
|
# The name or Amazon Resource Name (ARN) of a change set for which
|
4666
4669
|
# CloudFormation returns the associated template. If you specify a name,
|
@@ -5489,6 +5492,10 @@ module Aws::CloudFormation
|
|
5489
5492
|
# parameter to get the next set of results. The default value is 10. The
|
5490
5493
|
# maximum value is 100.
|
5491
5494
|
#
|
5495
|
+
# @option params [String] :scan_type_filter
|
5496
|
+
# The scan type that you want to get summary information about. The
|
5497
|
+
# default is `FULL`.
|
5498
|
+
#
|
5492
5499
|
# @return [Types::ListResourceScansOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5493
5500
|
#
|
5494
5501
|
# * {Types::ListResourceScansOutput#resource_scan_summaries #resource_scan_summaries} => Array<Types::ResourceScanSummary>
|
@@ -5528,6 +5535,7 @@ module Aws::CloudFormation
|
|
5528
5535
|
# resp = client.list_resource_scans({
|
5529
5536
|
# next_token: "NextToken",
|
5530
5537
|
# max_results: 1,
|
5538
|
+
# scan_type_filter: "FULL", # accepts FULL, PARTIAL
|
5531
5539
|
# })
|
5532
5540
|
#
|
5533
5541
|
# @example Response structure
|
@@ -5539,6 +5547,7 @@ module Aws::CloudFormation
|
|
5539
5547
|
# resp.resource_scan_summaries[0].start_time #=> Time
|
5540
5548
|
# resp.resource_scan_summaries[0].end_time #=> Time
|
5541
5549
|
# resp.resource_scan_summaries[0].percentage_completed #=> Float
|
5550
|
+
# resp.resource_scan_summaries[0].scan_type #=> String, one of "FULL", "PARTIAL"
|
5542
5551
|
# resp.next_token #=> String
|
5543
5552
|
#
|
5544
5553
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListResourceScans AWS API Documentation
|
@@ -5906,8 +5915,6 @@ module Aws::CloudFormation
|
|
5906
5915
|
#
|
5907
5916
|
# * Deleted stacks: You must specify the unique stack ID.
|
5908
5917
|
#
|
5909
|
-
# Default: There is no default value.
|
5910
|
-
#
|
5911
5918
|
# @option params [String] :next_token
|
5912
5919
|
# A string that identifies the next page of stack resources that you
|
5913
5920
|
# want to retrieve.
|
@@ -6298,11 +6305,11 @@ module Aws::CloudFormation
|
|
6298
6305
|
end
|
6299
6306
|
|
6300
6307
|
# Returns the summary information for stacks whose status matches the
|
6301
|
-
# specified StackStatusFilter
|
6302
|
-
# been deleted is kept for 90 days after the stack is deleted. If
|
6303
|
-
# StackStatusFilter is specified, summary information for all
|
6304
|
-
# returned (including existing stacks and stacks that have
|
6305
|
-
# deleted).
|
6308
|
+
# specified `StackStatusFilter`. Summary information for stacks that
|
6309
|
+
# have been deleted is kept for 90 days after the stack is deleted. If
|
6310
|
+
# no `StackStatusFilter` is specified, summary information for all
|
6311
|
+
# stacks is returned (including existing stacks and stacks that have
|
6312
|
+
# been deleted).
|
6306
6313
|
#
|
6307
6314
|
# @option params [String] :next_token
|
6308
6315
|
# A string that identifies the next page of stacks that you want to
|
@@ -7330,6 +7337,9 @@ module Aws::CloudFormation
|
|
7330
7337
|
# token if you plan to retry requests so that CloudFormation knows that
|
7331
7338
|
# you're not attempting to start a new resource scan.
|
7332
7339
|
#
|
7340
|
+
# @option params [Array<Types::ScanFilter>] :scan_filters
|
7341
|
+
# The scan filters to use.
|
7342
|
+
#
|
7333
7343
|
# @return [Types::StartResourceScanOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7334
7344
|
#
|
7335
7345
|
# * {Types::StartResourceScanOutput#resource_scan_id #resource_scan_id} => String
|
@@ -7351,6 +7361,11 @@ module Aws::CloudFormation
|
|
7351
7361
|
#
|
7352
7362
|
# resp = client.start_resource_scan({
|
7353
7363
|
# client_request_token: "ClientRequestToken",
|
7364
|
+
# scan_filters: [
|
7365
|
+
# {
|
7366
|
+
# types: ["ResourceTypeFilter"],
|
7367
|
+
# },
|
7368
|
+
# ],
|
7354
7369
|
# })
|
7355
7370
|
#
|
7356
7371
|
# @example Response structure
|
@@ -8181,7 +8196,7 @@ module Aws::CloudFormation
|
|
8181
8196
|
req.send_request(options)
|
8182
8197
|
end
|
8183
8198
|
|
8184
|
-
# Updates the stack set
|
8199
|
+
# Updates the stack set and associated stack instances in the specified
|
8185
8200
|
# accounts and Amazon Web Services Regions.
|
8186
8201
|
#
|
8187
8202
|
# Even if the stack set operation created by updating the stack set
|
@@ -8331,14 +8346,14 @@ module Aws::CloudFormation
|
|
8331
8346
|
# Preferences for how CloudFormation performs this stack set operation.
|
8332
8347
|
#
|
8333
8348
|
# @option params [String] :administration_role_arn
|
8334
|
-
# The Amazon Resource Name (ARN) of the IAM
|
8335
|
-
# stack set.
|
8349
|
+
# \[Self-managed permissions\] The Amazon Resource Name (ARN) of the IAM
|
8350
|
+
# role to use to update this stack set.
|
8336
8351
|
#
|
8337
8352
|
# Specify an IAM role only if you are using customized administrator
|
8338
8353
|
# roles to control which users or groups can manage specific stack sets
|
8339
8354
|
# within the same administrator account. For more information, see
|
8340
|
-
# [
|
8341
|
-
#
|
8355
|
+
# [Grant self-managed permissions][1] in the *CloudFormation User
|
8356
|
+
# Guide*.
|
8342
8357
|
#
|
8343
8358
|
# If you specified a customized administrator role when you created the
|
8344
8359
|
# stack set, you must specify a customized administrator role, even if
|
@@ -8347,13 +8362,13 @@ module Aws::CloudFormation
|
|
8347
8362
|
#
|
8348
8363
|
#
|
8349
8364
|
#
|
8350
|
-
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html
|
8365
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html
|
8351
8366
|
#
|
8352
8367
|
# @option params [String] :execution_role_name
|
8353
|
-
# The name of the IAM execution role to use
|
8354
|
-
# you do not specify an execution role,
|
8355
|
-
# `AWSCloudFormationStackSetExecutionRole` role
|
8356
|
-
# operation.
|
8368
|
+
# \[Self-managed permissions\] The name of the IAM execution role to use
|
8369
|
+
# to update the stack set. If you do not specify an execution role,
|
8370
|
+
# CloudFormation uses the `AWSCloudFormationStackSetExecutionRole` role
|
8371
|
+
# for the stack set operation.
|
8357
8372
|
#
|
8358
8373
|
# Specify an IAM role only if you are using customized execution roles
|
8359
8374
|
# to control which stack resources users and groups can include in their
|
@@ -8403,11 +8418,18 @@ module Aws::CloudFormation
|
|
8403
8418
|
# @option params [Types::AutoDeployment] :auto_deployment
|
8404
8419
|
# \[Service-managed permissions\] Describes whether StackSets
|
8405
8420
|
# automatically deploys to Organizations accounts that are added to a
|
8406
|
-
# target organization or organizational unit (OU).
|
8421
|
+
# target organization or organizational unit (OU). For more information,
|
8422
|
+
# see [Manage automatic deployments for CloudFormation StackSets that
|
8423
|
+
# use service-managed permissions][1] in the *CloudFormation User
|
8424
|
+
# Guide*.
|
8407
8425
|
#
|
8408
8426
|
# If you specify `AutoDeployment`, don't specify `DeploymentTargets` or
|
8409
8427
|
# `Regions`.
|
8410
8428
|
#
|
8429
|
+
#
|
8430
|
+
#
|
8431
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html
|
8432
|
+
#
|
8411
8433
|
# @option params [String] :operation_id
|
8412
8434
|
# The unique ID for this stack set operation.
|
8413
8435
|
#
|
@@ -8682,7 +8704,7 @@ module Aws::CloudFormation
|
|
8682
8704
|
tracer: tracer
|
8683
8705
|
)
|
8684
8706
|
context[:gem_name] = 'aws-sdk-cloudformation'
|
8685
|
-
context[:gem_version] = '1.
|
8707
|
+
context[:gem_version] = '1.129.0'
|
8686
8708
|
Seahorse::Client::Request.new(handlers, context)
|
8687
8709
|
end
|
8688
8710
|
|
@@ -413,6 +413,8 @@ module Aws::CloudFormation
|
|
413
413
|
ResourceToImport = Shapes::StructureShape.new(name: 'ResourceToImport')
|
414
414
|
ResourceToSkip = Shapes::StringShape.new(name: 'ResourceToSkip')
|
415
415
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
416
|
+
ResourceTypeFilter = Shapes::StringShape.new(name: 'ResourceTypeFilter')
|
417
|
+
ResourceTypeFilters = Shapes::ListShape.new(name: 'ResourceTypeFilters')
|
416
418
|
ResourceTypePrefix = Shapes::StringShape.new(name: 'ResourceTypePrefix')
|
417
419
|
ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
|
418
420
|
ResourcesFailed = Shapes::IntegerShape.new(name: 'ResourcesFailed')
|
@@ -437,6 +439,9 @@ module Aws::CloudFormation
|
|
437
439
|
RollbackTriggers = Shapes::ListShape.new(name: 'RollbackTriggers')
|
438
440
|
S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
|
439
441
|
S3Url = Shapes::StringShape.new(name: 'S3Url')
|
442
|
+
ScanFilter = Shapes::StructureShape.new(name: 'ScanFilter')
|
443
|
+
ScanFilters = Shapes::ListShape.new(name: 'ScanFilters')
|
444
|
+
ScanType = Shapes::StringShape.new(name: 'ScanType')
|
440
445
|
ScannedResource = Shapes::StructureShape.new(name: 'ScannedResource')
|
441
446
|
ScannedResourceIdentifier = Shapes::StructureShape.new(name: 'ScannedResourceIdentifier')
|
442
447
|
ScannedResourceIdentifiers = Shapes::ListShape.new(name: 'ScannedResourceIdentifiers')
|
@@ -1003,6 +1008,7 @@ module Aws::CloudFormation
|
|
1003
1008
|
DescribeResourceScanOutput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes"))
|
1004
1009
|
DescribeResourceScanOutput.add_member(:resources_scanned, Shapes::ShapeRef.new(shape: ResourcesScanned, location_name: "ResourcesScanned"))
|
1005
1010
|
DescribeResourceScanOutput.add_member(:resources_read, Shapes::ShapeRef.new(shape: ResourcesRead, location_name: "ResourcesRead"))
|
1011
|
+
DescribeResourceScanOutput.add_member(:scan_filters, Shapes::ShapeRef.new(shape: ScanFilters, location_name: "ScanFilters"))
|
1006
1012
|
DescribeResourceScanOutput.struct_class = Types::DescribeResourceScanOutput
|
1007
1013
|
|
1008
1014
|
DescribeStackDriftDetectionStatusInput.add_member(:stack_drift_detection_id, Shapes::ShapeRef.new(shape: StackDriftDetectionId, required: true, location_name: "StackDriftDetectionId"))
|
@@ -1344,6 +1350,7 @@ module Aws::CloudFormation
|
|
1344
1350
|
|
1345
1351
|
ListResourceScansInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
1346
1352
|
ListResourceScansInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ResourceScannerMaxResults, location_name: "MaxResults"))
|
1353
|
+
ListResourceScansInput.add_member(:scan_type_filter, Shapes::ShapeRef.new(shape: ScanType, location_name: "ScanTypeFilter"))
|
1347
1354
|
ListResourceScansInput.struct_class = Types::ListResourceScansInput
|
1348
1355
|
|
1349
1356
|
ListResourceScansOutput.add_member(:resource_scan_summaries, Shapes::ShapeRef.new(shape: ResourceScanSummaries, location_name: "ResourceScanSummaries"))
|
@@ -1694,6 +1701,7 @@ module Aws::CloudFormation
|
|
1694
1701
|
ResourceScanSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
|
1695
1702
|
ResourceScanSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime"))
|
1696
1703
|
ResourceScanSummary.add_member(:percentage_completed, Shapes::ShapeRef.new(shape: PercentageCompleted, location_name: "PercentageCompleted"))
|
1704
|
+
ResourceScanSummary.add_member(:scan_type, Shapes::ShapeRef.new(shape: ScanType, location_name: "ScanType"))
|
1697
1705
|
ResourceScanSummary.struct_class = Types::ResourceScanSummary
|
1698
1706
|
|
1699
1707
|
ResourceTargetDefinition.add_member(:attribute, Shapes::ShapeRef.new(shape: ResourceAttribute, location_name: "Attribute"))
|
@@ -1710,6 +1718,8 @@ module Aws::CloudFormation
|
|
1710
1718
|
ResourceToImport.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifierProperties, required: true, location_name: "ResourceIdentifier"))
|
1711
1719
|
ResourceToImport.struct_class = Types::ResourceToImport
|
1712
1720
|
|
1721
|
+
ResourceTypeFilters.member = Shapes::ShapeRef.new(shape: ResourceTypeFilter)
|
1722
|
+
|
1713
1723
|
ResourceTypes.member = Shapes::ShapeRef.new(shape: ResourceType)
|
1714
1724
|
|
1715
1725
|
ResourcesToImport.member = Shapes::ShapeRef.new(shape: ResourceToImport)
|
@@ -1737,6 +1747,11 @@ module Aws::CloudFormation
|
|
1737
1747
|
|
1738
1748
|
RollbackTriggers.member = Shapes::ShapeRef.new(shape: RollbackTrigger)
|
1739
1749
|
|
1750
|
+
ScanFilter.add_member(:types, Shapes::ShapeRef.new(shape: ResourceTypeFilters, location_name: "Types"))
|
1751
|
+
ScanFilter.struct_class = Types::ScanFilter
|
1752
|
+
|
1753
|
+
ScanFilters.member = Shapes::ShapeRef.new(shape: ScanFilter)
|
1754
|
+
|
1740
1755
|
ScannedResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
1741
1756
|
ScannedResource.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: JazzResourceIdentifierProperties, location_name: "ResourceIdentifier"))
|
1742
1757
|
ScannedResource.add_member(:managed_by_stack, Shapes::ShapeRef.new(shape: ManagedByStack, location_name: "ManagedByStack"))
|
@@ -2126,6 +2141,7 @@ module Aws::CloudFormation
|
|
2126
2141
|
StaleRequestException.struct_class = Types::StaleRequestException
|
2127
2142
|
|
2128
2143
|
StartResourceScanInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken"))
|
2144
|
+
StartResourceScanInput.add_member(:scan_filters, Shapes::ShapeRef.new(shape: ScanFilters, location_name: "ScanFilters"))
|
2129
2145
|
StartResourceScanInput.struct_class = Types::StartResourceScanInput
|
2130
2146
|
|
2131
2147
|
StartResourceScanOutput.add_member(:resource_scan_id, Shapes::ShapeRef.new(shape: ResourceScanId, location_name: "ResourceScanId"))
|
@@ -387,8 +387,6 @@ module Aws::CloudFormation
|
|
387
387
|
# unique stack ID.
|
388
388
|
#
|
389
389
|
# * Deleted stacks: You must specify the unique stack ID.
|
390
|
-
#
|
391
|
-
# Default: There is no default value.
|
392
390
|
# @return [Stack::Collection]
|
393
391
|
def stacks(options = {})
|
394
392
|
batches = Enumerator.new do |y|
|
@@ -1729,12 +1729,14 @@ module Aws::CloudFormation
|
|
1729
1729
|
# Specify an IAM role only if you are using customized administrator
|
1730
1730
|
# roles to control which users or groups can manage specific stack
|
1731
1731
|
# sets within the same administrator account. For more information,
|
1732
|
-
# see [
|
1733
|
-
#
|
1732
|
+
# see [Grant self-managed permissions][1] in the *CloudFormation User
|
1733
|
+
# Guide*.
|
1734
1734
|
#
|
1735
|
+
# Valid only if the permissions model is `SELF_MANAGED`.
|
1735
1736
|
#
|
1736
1737
|
#
|
1737
|
-
#
|
1738
|
+
#
|
1739
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html
|
1738
1740
|
# @return [String]
|
1739
1741
|
#
|
1740
1742
|
# @!attribute [rw] execution_role_name
|
@@ -1746,6 +1748,8 @@ module Aws::CloudFormation
|
|
1746
1748
|
# Specify an IAM role only if you are using customized execution roles
|
1747
1749
|
# to control which stack resources users and groups can include in
|
1748
1750
|
# their stack sets.
|
1751
|
+
#
|
1752
|
+
# Valid only if the permissions model is `SELF_MANAGED`.
|
1749
1753
|
# @return [String]
|
1750
1754
|
#
|
1751
1755
|
# @!attribute [rw] permission_model
|
@@ -1770,13 +1774,22 @@ module Aws::CloudFormation
|
|
1770
1774
|
# @!attribute [rw] auto_deployment
|
1771
1775
|
# Describes whether StackSets automatically deploys to Organizations
|
1772
1776
|
# accounts that are added to the target organization or organizational
|
1773
|
-
# unit (OU).
|
1777
|
+
# unit (OU). For more information, see [Manage automatic deployments
|
1778
|
+
# for CloudFormation StackSets that use service-managed
|
1779
|
+
# permissions][1] in the *CloudFormation User Guide*.
|
1780
|
+
#
|
1781
|
+
# Required if the permissions model is `SERVICE_MANAGED`. (Not used
|
1782
|
+
# with self-managed permissions.)
|
1783
|
+
#
|
1784
|
+
#
|
1785
|
+
#
|
1786
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html
|
1774
1787
|
# @return [Types::AutoDeployment]
|
1775
1788
|
#
|
1776
1789
|
# @!attribute [rw] call_as
|
1777
|
-
#
|
1778
|
-
#
|
1779
|
-
#
|
1790
|
+
# Specifies whether you are acting as an account administrator in the
|
1791
|
+
# organization's management account or as a delegated administrator
|
1792
|
+
# in a member account.
|
1780
1793
|
#
|
1781
1794
|
# By default, `SELF` is specified. Use `SELF` for stack sets with
|
1782
1795
|
# self-managed permissions.
|
@@ -1797,6 +1810,8 @@ module Aws::CloudFormation
|
|
1797
1810
|
# management account, including stack sets that are created by
|
1798
1811
|
# delegated administrators.
|
1799
1812
|
#
|
1813
|
+
# Valid only if the permissions model is `SERVICE_MANAGED`.
|
1814
|
+
#
|
1800
1815
|
#
|
1801
1816
|
#
|
1802
1817
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html
|
@@ -2798,7 +2813,7 @@ module Aws::CloudFormation
|
|
2798
2813
|
# @!attribute [rw] status
|
2799
2814
|
# Status of the resource scan.
|
2800
2815
|
#
|
2801
|
-
#
|
2816
|
+
# IN\_PROGRESS
|
2802
2817
|
#
|
2803
2818
|
# : The resource scan is still in progress.
|
2804
2819
|
#
|
@@ -2845,7 +2860,7 @@ module Aws::CloudFormation
|
|
2845
2860
|
#
|
2846
2861
|
# @!attribute [rw] resources_read
|
2847
2862
|
# The number of resources that were read. This is only available for
|
2848
|
-
# scans with a `Status` set to `COMPLETE`, `EXPIRED`, or `FAILED
|
2863
|
+
# scans with a `Status` set to `COMPLETE`, `EXPIRED`, or `FAILED`.
|
2849
2864
|
#
|
2850
2865
|
# <note markdown="1"> This field may be 0 if the resource scan failed with a
|
2851
2866
|
# `ResourceScanLimitExceededException`.
|
@@ -2853,6 +2868,10 @@ module Aws::CloudFormation
|
|
2853
2868
|
# </note>
|
2854
2869
|
# @return [Integer]
|
2855
2870
|
#
|
2871
|
+
# @!attribute [rw] scan_filters
|
2872
|
+
# The scan filters that were used.
|
2873
|
+
# @return [Array<Types::ScanFilter>]
|
2874
|
+
#
|
2856
2875
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeResourceScanOutput AWS API Documentation
|
2857
2876
|
#
|
2858
2877
|
class DescribeResourceScanOutput < Struct.new(
|
@@ -2864,7 +2883,8 @@ module Aws::CloudFormation
|
|
2864
2883
|
:percentage_completed,
|
2865
2884
|
:resource_types,
|
2866
2885
|
:resources_scanned,
|
2867
|
-
:resources_read
|
2886
|
+
:resources_read,
|
2887
|
+
:scan_filters)
|
2868
2888
|
SENSITIVE = []
|
2869
2889
|
include Aws::Structure
|
2870
2890
|
end
|
@@ -2977,8 +2997,6 @@ module Aws::CloudFormation
|
|
2977
2997
|
# unique stack ID.
|
2978
2998
|
#
|
2979
2999
|
# * Deleted stacks: You must specify the unique stack ID.
|
2980
|
-
#
|
2981
|
-
# Default: There is no default value.
|
2982
3000
|
# @return [String]
|
2983
3001
|
#
|
2984
3002
|
# @!attribute [rw] next_token
|
@@ -3223,14 +3241,10 @@ module Aws::CloudFormation
|
|
3223
3241
|
# unique stack ID.
|
3224
3242
|
#
|
3225
3243
|
# * Deleted stacks: You must specify the unique stack ID.
|
3226
|
-
#
|
3227
|
-
# Default: There is no default value.
|
3228
3244
|
# @return [String]
|
3229
3245
|
#
|
3230
3246
|
# @!attribute [rw] logical_resource_id
|
3231
3247
|
# The logical name of the resource as specified in the template.
|
3232
|
-
#
|
3233
|
-
# Default: There is no default value.
|
3234
3248
|
# @return [String]
|
3235
3249
|
#
|
3236
3250
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceInput AWS API Documentation
|
@@ -3268,16 +3282,12 @@ module Aws::CloudFormation
|
|
3268
3282
|
#
|
3269
3283
|
# * Deleted stacks: You must specify the unique stack ID.
|
3270
3284
|
#
|
3271
|
-
# Default: There is no default value.
|
3272
|
-
#
|
3273
3285
|
# Required: Conditional. If you don't specify `StackName`, you must
|
3274
3286
|
# specify `PhysicalResourceId`.
|
3275
3287
|
# @return [String]
|
3276
3288
|
#
|
3277
3289
|
# @!attribute [rw] logical_resource_id
|
3278
3290
|
# The logical name of the resource as specified in the template.
|
3279
|
-
#
|
3280
|
-
# Default: There is no default value.
|
3281
3291
|
# @return [String]
|
3282
3292
|
#
|
3283
3293
|
# @!attribute [rw] physical_resource_id
|
@@ -3292,8 +3302,6 @@ module Aws::CloudFormation
|
|
3292
3302
|
#
|
3293
3303
|
# Required: Conditional. If you don't specify `PhysicalResourceId`,
|
3294
3304
|
# you must specify `StackName`.
|
3295
|
-
#
|
3296
|
-
# Default: There is no default value.
|
3297
3305
|
# @return [String]
|
3298
3306
|
#
|
3299
3307
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourcesInput AWS API Documentation
|
@@ -3450,8 +3458,6 @@ module Aws::CloudFormation
|
|
3450
3458
|
# unique stack ID.
|
3451
3459
|
#
|
3452
3460
|
# * Deleted stacks: You must specify the unique stack ID.
|
3453
|
-
#
|
3454
|
-
# Default: There is no default value.
|
3455
3461
|
# @return [String]
|
3456
3462
|
#
|
3457
3463
|
# @!attribute [rw] next_token
|
@@ -4342,8 +4348,6 @@ module Aws::CloudFormation
|
|
4342
4348
|
# unique stack ID.
|
4343
4349
|
#
|
4344
4350
|
# * Deleted stacks: You must specify the unique stack ID.
|
4345
|
-
#
|
4346
|
-
# Default: There is no default value.
|
4347
4351
|
# @return [String]
|
4348
4352
|
#
|
4349
4353
|
# @!attribute [rw] change_set_name
|
@@ -5105,11 +5109,17 @@ module Aws::CloudFormation
|
|
5105
5109
|
# value is 10. The maximum value is 100.
|
5106
5110
|
# @return [Integer]
|
5107
5111
|
#
|
5112
|
+
# @!attribute [rw] scan_type_filter
|
5113
|
+
# The scan type that you want to get summary information about. The
|
5114
|
+
# default is `FULL`.
|
5115
|
+
# @return [String]
|
5116
|
+
#
|
5108
5117
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListResourceScansInput AWS API Documentation
|
5109
5118
|
#
|
5110
5119
|
class ListResourceScansInput < Struct.new(
|
5111
5120
|
:next_token,
|
5112
|
-
:max_results
|
5121
|
+
:max_results,
|
5122
|
+
:scan_type_filter)
|
5113
5123
|
SENSITIVE = []
|
5114
5124
|
include Aws::Structure
|
5115
5125
|
end
|
@@ -5464,8 +5474,6 @@ module Aws::CloudFormation
|
|
5464
5474
|
# unique stack ID.
|
5465
5475
|
#
|
5466
5476
|
# * Deleted stacks: You must specify the unique stack ID.
|
5467
|
-
#
|
5468
|
-
# Default: There is no default value.
|
5469
5477
|
# @return [String]
|
5470
5478
|
#
|
5471
5479
|
# @!attribute [rw] next_token
|
@@ -7303,7 +7311,7 @@ module Aws::CloudFormation
|
|
7303
7311
|
# @!attribute [rw] status
|
7304
7312
|
# Status of the resource scan.
|
7305
7313
|
#
|
7306
|
-
#
|
7314
|
+
# IN\_PROGRESS
|
7307
7315
|
#
|
7308
7316
|
# : The resource scan is still in progress.
|
7309
7317
|
#
|
@@ -7337,6 +7345,10 @@ module Aws::CloudFormation
|
|
7337
7345
|
# The percentage of the resource scan that has been completed.
|
7338
7346
|
# @return [Float]
|
7339
7347
|
#
|
7348
|
+
# @!attribute [rw] scan_type
|
7349
|
+
# The scan type that has been completed.
|
7350
|
+
# @return [String]
|
7351
|
+
#
|
7340
7352
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceScanSummary AWS API Documentation
|
7341
7353
|
#
|
7342
7354
|
class ResourceScanSummary < Struct.new(
|
@@ -7345,7 +7357,8 @@ module Aws::CloudFormation
|
|
7345
7357
|
:status_reason,
|
7346
7358
|
:start_time,
|
7347
7359
|
:end_time,
|
7348
|
-
:percentage_completed
|
7360
|
+
:percentage_completed,
|
7361
|
+
:scan_type)
|
7349
7362
|
SENSITIVE = []
|
7350
7363
|
include Aws::Structure
|
7351
7364
|
end
|
@@ -7600,6 +7613,33 @@ module Aws::CloudFormation
|
|
7600
7613
|
include Aws::Structure
|
7601
7614
|
end
|
7602
7615
|
|
7616
|
+
# A filter that is used to specify which resource types to scan.
|
7617
|
+
#
|
7618
|
+
# @!attribute [rw] types
|
7619
|
+
# An array of strings where each string represents an Amazon Web
|
7620
|
+
# Services resource type you want to scan. Each string defines the
|
7621
|
+
# resource type using the format `AWS::ServiceName::ResourceType`, for
|
7622
|
+
# example, `AWS::DynamoDB::Table`. For the full list of supported
|
7623
|
+
# resource types, see the [Resource type support][1] table in the
|
7624
|
+
# *CloudFormation User Guide*.
|
7625
|
+
#
|
7626
|
+
# To scan all resource types within a service, you can use a wildcard,
|
7627
|
+
# represented by an asterisk (`*`). You can place a asterisk at only
|
7628
|
+
# the end of the string, for example, `AWS::S3::*`.
|
7629
|
+
#
|
7630
|
+
#
|
7631
|
+
#
|
7632
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html
|
7633
|
+
# @return [Array<String>]
|
7634
|
+
#
|
7635
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ScanFilter AWS API Documentation
|
7636
|
+
#
|
7637
|
+
class ScanFilter < Struct.new(
|
7638
|
+
:types)
|
7639
|
+
SENSITIVE = []
|
7640
|
+
include Aws::Structure
|
7641
|
+
end
|
7642
|
+
|
7603
7643
|
# A scanned resource returned by `ListResourceScanResources` or
|
7604
7644
|
# `ListResourceScanRelatedResources`.
|
7605
7645
|
#
|
@@ -9758,6 +9798,11 @@ module Aws::CloudFormation
|
|
9758
9798
|
# For more information about maximum concurrent accounts and failure
|
9759
9799
|
# tolerance, see [Stack set operation options][1].
|
9760
9800
|
#
|
9801
|
+
# <note markdown="1"> `StackSetOperationPreferences` don't apply to `AutoDeployment`, even
|
9802
|
+
# if it's enabled.
|
9803
|
+
#
|
9804
|
+
# </note>
|
9805
|
+
#
|
9761
9806
|
#
|
9762
9807
|
#
|
9763
9808
|
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/what-is-cfnstacksets.html#stackset-ops-options
|
@@ -9770,10 +9815,6 @@ module Aws::CloudFormation
|
|
9770
9815
|
# @!attribute [rw] region_order
|
9771
9816
|
# The order of the Regions where you want to perform the stack
|
9772
9817
|
# operation.
|
9773
|
-
#
|
9774
|
-
# <note markdown="1"> `RegionOrder` isn't followed if `AutoDeployment` is enabled.
|
9775
|
-
#
|
9776
|
-
# </note>
|
9777
9818
|
# @return [Array<String>]
|
9778
9819
|
#
|
9779
9820
|
# @!attribute [rw] failure_tolerance_count
|
@@ -10261,10 +10302,15 @@ module Aws::CloudFormation
|
|
10261
10302
|
# knows that you're not attempting to start a new resource scan.
|
10262
10303
|
# @return [String]
|
10263
10304
|
#
|
10305
|
+
# @!attribute [rw] scan_filters
|
10306
|
+
# The scan filters to use.
|
10307
|
+
# @return [Array<Types::ScanFilter>]
|
10308
|
+
#
|
10264
10309
|
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StartResourceScanInput AWS API Documentation
|
10265
10310
|
#
|
10266
10311
|
class StartResourceScanInput < Struct.new(
|
10267
|
-
:client_request_token
|
10312
|
+
:client_request_token,
|
10313
|
+
:scan_filters)
|
10268
10314
|
SENSITIVE = []
|
10269
10315
|
include Aws::Structure
|
10270
10316
|
end
|
@@ -11720,14 +11766,14 @@ module Aws::CloudFormation
|
|
11720
11766
|
# @return [Types::StackSetOperationPreferences]
|
11721
11767
|
#
|
11722
11768
|
# @!attribute [rw] administration_role_arn
|
11723
|
-
# The Amazon Resource Name (ARN) of the
|
11724
|
-
# stack set.
|
11769
|
+
# \[Self-managed permissions\] The Amazon Resource Name (ARN) of the
|
11770
|
+
# IAM role to use to update this stack set.
|
11725
11771
|
#
|
11726
11772
|
# Specify an IAM role only if you are using customized administrator
|
11727
11773
|
# roles to control which users or groups can manage specific stack
|
11728
11774
|
# sets within the same administrator account. For more information,
|
11729
|
-
# see [
|
11730
|
-
#
|
11775
|
+
# see [Grant self-managed permissions][1] in the *CloudFormation User
|
11776
|
+
# Guide*.
|
11731
11777
|
#
|
11732
11778
|
# If you specified a customized administrator role when you created
|
11733
11779
|
# the stack set, you must specify a customized administrator role,
|
@@ -11736,12 +11782,13 @@ module Aws::CloudFormation
|
|
11736
11782
|
#
|
11737
11783
|
#
|
11738
11784
|
#
|
11739
|
-
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html
|
11785
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html
|
11740
11786
|
# @return [String]
|
11741
11787
|
#
|
11742
11788
|
# @!attribute [rw] execution_role_name
|
11743
|
-
# The name of the IAM execution role to
|
11744
|
-
# If you do not specify an execution
|
11789
|
+
# \[Self-managed permissions\] The name of the IAM execution role to
|
11790
|
+
# use to update the stack set. If you do not specify an execution
|
11791
|
+
# role, CloudFormation uses the
|
11745
11792
|
# `AWSCloudFormationStackSetExecutionRole` role for the stack set
|
11746
11793
|
# operation.
|
11747
11794
|
#
|
@@ -11797,10 +11844,17 @@ module Aws::CloudFormation
|
|
11797
11844
|
# @!attribute [rw] auto_deployment
|
11798
11845
|
# \[Service-managed permissions\] Describes whether StackSets
|
11799
11846
|
# automatically deploys to Organizations accounts that are added to a
|
11800
|
-
# target organization or organizational unit (OU).
|
11847
|
+
# target organization or organizational unit (OU). For more
|
11848
|
+
# information, see [Manage automatic deployments for CloudFormation
|
11849
|
+
# StackSets that use service-managed permissions][1] in the
|
11850
|
+
# *CloudFormation User Guide*.
|
11801
11851
|
#
|
11802
11852
|
# If you specify `AutoDeployment`, don't specify `DeploymentTargets`
|
11803
11853
|
# or `Regions`.
|
11854
|
+
#
|
11855
|
+
#
|
11856
|
+
#
|
11857
|
+
# [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html
|
11804
11858
|
# @return [Types::AutoDeployment]
|
11805
11859
|
#
|
11806
11860
|
# @!attribute [rw] operation_id
|
data/sig/client.rbs
CHANGED
@@ -592,6 +592,7 @@ module Aws
|
|
592
592
|
def resource_types: () -> ::Array[::String]
|
593
593
|
def resources_scanned: () -> ::Integer
|
594
594
|
def resources_read: () -> ::Integer
|
595
|
+
def scan_filters: () -> ::Array[Types::ScanFilter]
|
595
596
|
end
|
596
597
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_resource_scan-instance_method
|
597
598
|
def describe_resource_scan: (
|
@@ -1054,7 +1055,8 @@ module Aws
|
|
1054
1055
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_resource_scans-instance_method
|
1055
1056
|
def list_resource_scans: (
|
1056
1057
|
?next_token: ::String,
|
1057
|
-
?max_results: ::Integer
|
1058
|
+
?max_results: ::Integer,
|
1059
|
+
?scan_type_filter: ("FULL" | "PARTIAL")
|
1058
1060
|
) -> _ListResourceScansResponseSuccess
|
1059
1061
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceScansResponseSuccess
|
1060
1062
|
|
@@ -1384,7 +1386,12 @@ module Aws
|
|
1384
1386
|
end
|
1385
1387
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#start_resource_scan-instance_method
|
1386
1388
|
def start_resource_scan: (
|
1387
|
-
?client_request_token: ::String
|
1389
|
+
?client_request_token: ::String,
|
1390
|
+
?scan_filters: Array[
|
1391
|
+
{
|
1392
|
+
types: Array[::String]?
|
1393
|
+
},
|
1394
|
+
]
|
1388
1395
|
) -> _StartResourceScanResponseSuccess
|
1389
1396
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartResourceScanResponseSuccess
|
1390
1397
|
|
data/sig/types.rbs
CHANGED
@@ -479,6 +479,7 @@ module Aws::CloudFormation
|
|
479
479
|
attr_accessor resource_types: ::Array[::String]
|
480
480
|
attr_accessor resources_scanned: ::Integer
|
481
481
|
attr_accessor resources_read: ::Integer
|
482
|
+
attr_accessor scan_filters: ::Array[Types::ScanFilter]
|
482
483
|
SENSITIVE: []
|
483
484
|
end
|
484
485
|
|
@@ -939,6 +940,7 @@ module Aws::CloudFormation
|
|
939
940
|
class ListResourceScansInput
|
940
941
|
attr_accessor next_token: ::String
|
941
942
|
attr_accessor max_results: ::Integer
|
943
|
+
attr_accessor scan_type_filter: ("FULL" | "PARTIAL")
|
942
944
|
SENSITIVE: []
|
943
945
|
end
|
944
946
|
|
@@ -1361,6 +1363,7 @@ module Aws::CloudFormation
|
|
1361
1363
|
attr_accessor start_time: ::Time
|
1362
1364
|
attr_accessor end_time: ::Time
|
1363
1365
|
attr_accessor percentage_completed: ::Float
|
1366
|
+
attr_accessor scan_type: ("FULL" | "PARTIAL")
|
1364
1367
|
SENSITIVE: []
|
1365
1368
|
end
|
1366
1369
|
|
@@ -1407,6 +1410,11 @@ module Aws::CloudFormation
|
|
1407
1410
|
SENSITIVE: []
|
1408
1411
|
end
|
1409
1412
|
|
1413
|
+
class ScanFilter
|
1414
|
+
attr_accessor types: ::Array[::String]
|
1415
|
+
SENSITIVE: []
|
1416
|
+
end
|
1417
|
+
|
1410
1418
|
class ScannedResource
|
1411
1419
|
attr_accessor resource_type: ::String
|
1412
1420
|
attr_accessor resource_identifier: ::Hash[::String, ::String]
|
@@ -1820,6 +1828,7 @@ module Aws::CloudFormation
|
|
1820
1828
|
|
1821
1829
|
class StartResourceScanInput
|
1822
1830
|
attr_accessor client_request_token: ::String
|
1831
|
+
attr_accessor scan_filters: ::Array[Types::ScanFilter]
|
1823
1832
|
SENSITIVE: []
|
1824
1833
|
end
|
1825
1834
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudformation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.129.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|