aws-sdk-configservice 1.82.0 → 1.83.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 793c3241905cc305faca0a380ae17c46b2a049508d1e61f6aa673169709e36f9
4
- data.tar.gz: 17999ce8519aeeb36a1f68e49384d53fcddf21c88a656db39a1cb56def31c22f
3
+ metadata.gz: 6d9e02cceab4355f7560e1ada95b78c77142af30f11c924d4da04ab4ae1b4b0c
4
+ data.tar.gz: 8b1a999c4ae333082b4050f076ec1b7a6231c71f9765976363809a57c8051f9b
5
5
  SHA512:
6
- metadata.gz: 9abaf77f4f97560f144b0c763170144d5ff792849cc256bde5c240f39b6a2d8bbc560555a6d94f89434bd692e13796c85899d3e6e12b9f6bb3f6a5b2b0eacf43
7
- data.tar.gz: 0647cb52b90d7c477aeb2e1cfd98f0f4523b6ede2abfe2e8f7c42ed59f75ee190fcf8f161bbe0128a8a3090a2739fbfb3cb5b76596d571845bfa7627319b8939
6
+ metadata.gz: 6afd96f88bc805d5dc13e3983d62873b048855d42923f5c41d49e70f795d0d344177191e4d38df64ae8861d5f66d007911bf2644e2a80732f29c8fdd5419b56f
7
+ data.tar.gz: 9cd8dd51a9e94fd77f28fced93ff16276c86e7e0809f74b6e2a54e3382dc858b0953dc3ef220114ff7e1f9cf2a2f59a2aa9db75c481dc8878ab505644c5deac1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.83.0 (2022-08-24)
5
+ ------------------
6
+
7
+ * Feature - AWS Config now supports ConformancePackTemplate documents in SSM Docs for the deployment and update of conformance packs.
8
+
4
9
  1.82.0 (2022-08-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.82.0
1
+ 1.83.0
@@ -1805,6 +1805,8 @@ module Aws::ConfigService
1805
1805
  # resp.conformance_pack_details[0].conformance_pack_input_parameters[0].parameter_value #=> String
1806
1806
  # resp.conformance_pack_details[0].last_update_requested_time #=> Time
1807
1807
  # resp.conformance_pack_details[0].created_by #=> String
1808
+ # resp.conformance_pack_details[0].template_ssm_document_details.document_name #=> String
1809
+ # resp.conformance_pack_details[0].template_ssm_document_details.document_version #=> String
1808
1810
  # resp.next_token #=> String
1809
1811
  #
1810
1812
  # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConformancePacks AWS API Documentation
@@ -4180,9 +4182,8 @@ module Aws::ConfigService
4180
4182
  # `AWSServiceRoleForConfigConforms` in your account. The service-linked
4181
4183
  # role is created only when the role does not exist in your account.
4182
4184
  #
4183
- # <note markdown="1"> You must specify either the `TemplateS3Uri` or the `TemplateBody`
4184
- # parameter, but not both. If you provide both Config uses the
4185
- # `TemplateS3Uri` parameter and ignores the `TemplateBody` parameter.
4185
+ # <note markdown="1"> You must specify one and only one of the`TemplateS3Uri`,
4186
+ # `TemplateBody` or `TemplateSSMDocumentDetails` parameters.
4186
4187
  #
4187
4188
  # </note>
4188
4189
  #
@@ -4191,11 +4192,11 @@ module Aws::ConfigService
4191
4192
  # [1]: https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html
4192
4193
  #
4193
4194
  # @option params [required, String] :conformance_pack_name
4194
- # Name of the conformance pack you want to create.
4195
+ # The unique name of the conformance pack you want to deploy.
4195
4196
  #
4196
4197
  # @option params [String] :template_s3_uri
4197
- # Location of file containing the template body
4198
- # (`s3://bucketname/prefix`). The uri must point to the conformance pack
4198
+ # The location of the file containing the template body
4199
+ # (`s3://bucketname/prefix`). The uri must point to a conformance pack
4199
4200
  # template (max size: 300 KB) that is located in an Amazon S3 bucket in
4200
4201
  # the same region as the conformance pack.
4201
4202
  #
@@ -4204,12 +4205,12 @@ module Aws::ConfigService
4204
4205
  # </note>
4205
4206
  #
4206
4207
  # @option params [String] :template_body
4207
- # A string containing full conformance pack template body. Structure
4208
- # containing the template body with a minimum length of 1 byte and a
4209
- # maximum length of 51,200 bytes.
4208
+ # A string containing the full conformance pack template body. The
4209
+ # structure containing the template body has a minimum length of 1 byte
4210
+ # and a maximum length of 51,200 bytes.
4210
4211
  #
4211
4212
  # <note markdown="1"> You can only use a YAML template with two resource types: Config rule
4212
- # (`AWS::Config::ConfigRule`) and a remediation action
4213
+ # (`AWS::Config::ConfigRule`) and remediation action
4213
4214
  # (`AWS::Config::RemediationConfiguration`).
4214
4215
  #
4215
4216
  # </note>
@@ -4232,6 +4233,12 @@ module Aws::ConfigService
4232
4233
  # @option params [Array<Types::ConformancePackInputParameter>] :conformance_pack_input_parameters
4233
4234
  # A list of `ConformancePackInputParameter` objects.
4234
4235
  #
4236
+ # @option params [Types::TemplateSSMDocumentDetails] :template_ssm_document_details
4237
+ # An object of type `TemplateSSMDocumentDetails`, which contains the
4238
+ # name or the Amazon Resource Name (ARN) of the Amazon Web Services
4239
+ # Systems Manager document (SSM document) and the version of the SSM
4240
+ # document that is used to create a conformance pack.
4241
+ #
4235
4242
  # @return [Types::PutConformancePackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4236
4243
  #
4237
4244
  # * {Types::PutConformancePackResponse#conformance_pack_arn #conformance_pack_arn} => String
@@ -4250,6 +4257,10 @@ module Aws::ConfigService
4250
4257
  # parameter_value: "ParameterValue", # required
4251
4258
  # },
4252
4259
  # ],
4260
+ # template_ssm_document_details: {
4261
+ # document_name: "SSMDocumentName", # required
4262
+ # document_version: "SSMDocumentVersion",
4263
+ # },
4253
4264
  # })
4254
4265
  #
4255
4266
  # @example Response structure
@@ -5385,7 +5396,7 @@ module Aws::ConfigService
5385
5396
  params: params,
5386
5397
  config: config)
5387
5398
  context[:gem_name] = 'aws-sdk-configservice'
5388
- context[:gem_version] = '1.82.0'
5399
+ context[:gem_version] = '1.83.0'
5389
5400
  Seahorse::Client::Request.new(handlers, context)
5390
5401
  end
5391
5402
 
@@ -475,6 +475,8 @@ module Aws::ConfigService
475
475
  RetentionConfigurationNameList = Shapes::ListShape.new(name: 'RetentionConfigurationNameList')
476
476
  RetentionPeriodInDays = Shapes::IntegerShape.new(name: 'RetentionPeriodInDays')
477
477
  RuleLimit = Shapes::IntegerShape.new(name: 'RuleLimit')
478
+ SSMDocumentName = Shapes::StringShape.new(name: 'SSMDocumentName')
479
+ SSMDocumentVersion = Shapes::StringShape.new(name: 'SSMDocumentVersion')
478
480
  SchemaVersionId = Shapes::StringShape.new(name: 'SchemaVersionId')
479
481
  Scope = Shapes::StructureShape.new(name: 'Scope')
480
482
  SelectAggregateResourceConfigRequest = Shapes::StructureShape.new(name: 'SelectAggregateResourceConfigRequest')
@@ -521,6 +523,7 @@ module Aws::ConfigService
521
523
  TagsList = Shapes::ListShape.new(name: 'TagsList')
522
524
  TemplateBody = Shapes::StringShape.new(name: 'TemplateBody')
523
525
  TemplateS3Uri = Shapes::StringShape.new(name: 'TemplateS3Uri')
526
+ TemplateSSMDocumentDetails = Shapes::StructureShape.new(name: 'TemplateSSMDocumentDetails')
524
527
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
525
528
  UnprocessedResourceIdentifierList = Shapes::ListShape.new(name: 'UnprocessedResourceIdentifierList')
526
529
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -845,6 +848,7 @@ module Aws::ConfigService
845
848
  ConformancePackDetail.add_member(:conformance_pack_input_parameters, Shapes::ShapeRef.new(shape: ConformancePackInputParameters, location_name: "ConformancePackInputParameters"))
846
849
  ConformancePackDetail.add_member(:last_update_requested_time, Shapes::ShapeRef.new(shape: Date, location_name: "LastUpdateRequestedTime"))
847
850
  ConformancePackDetail.add_member(:created_by, Shapes::ShapeRef.new(shape: StringWithCharLimit256, location_name: "CreatedBy"))
851
+ ConformancePackDetail.add_member(:template_ssm_document_details, Shapes::ShapeRef.new(shape: TemplateSSMDocumentDetails, location_name: "TemplateSSMDocumentDetails"))
848
852
  ConformancePackDetail.struct_class = Types::ConformancePackDetail
849
853
 
850
854
  ConformancePackDetailList.member = Shapes::ShapeRef.new(shape: ConformancePackDetail)
@@ -1744,6 +1748,7 @@ module Aws::ConfigService
1744
1748
  PutConformancePackRequest.add_member(:delivery_s3_bucket, Shapes::ShapeRef.new(shape: DeliveryS3Bucket, location_name: "DeliveryS3Bucket"))
1745
1749
  PutConformancePackRequest.add_member(:delivery_s3_key_prefix, Shapes::ShapeRef.new(shape: DeliveryS3KeyPrefix, location_name: "DeliveryS3KeyPrefix"))
1746
1750
  PutConformancePackRequest.add_member(:conformance_pack_input_parameters, Shapes::ShapeRef.new(shape: ConformancePackInputParameters, location_name: "ConformancePackInputParameters"))
1751
+ PutConformancePackRequest.add_member(:template_ssm_document_details, Shapes::ShapeRef.new(shape: TemplateSSMDocumentDetails, location_name: "TemplateSSMDocumentDetails"))
1747
1752
  PutConformancePackRequest.struct_class = Types::PutConformancePackRequest
1748
1753
 
1749
1754
  PutConformancePackResponse.add_member(:conformance_pack_arn, Shapes::ShapeRef.new(shape: ConformancePackArn, location_name: "ConformancePackArn"))
@@ -2073,6 +2078,10 @@ module Aws::ConfigService
2073
2078
 
2074
2079
  TagsList.member = Shapes::ShapeRef.new(shape: Tag)
2075
2080
 
2081
+ TemplateSSMDocumentDetails.add_member(:document_name, Shapes::ShapeRef.new(shape: SSMDocumentName, required: true, location_name: "DocumentName"))
2082
+ TemplateSSMDocumentDetails.add_member(:document_version, Shapes::ShapeRef.new(shape: SSMDocumentVersion, location_name: "DocumentVersion"))
2083
+ TemplateSSMDocumentDetails.struct_class = Types::TemplateSSMDocumentDetails
2084
+
2076
2085
  TooManyTagsException.struct_class = Types::TooManyTagsException
2077
2086
 
2078
2087
  UnprocessedResourceIdentifierList.member = Shapes::ShapeRef.new(shape: AggregateResourceIdentifier)
@@ -1755,13 +1755,20 @@ module Aws::ConfigService
1755
1755
  # @return [Array<Types::ConformancePackInputParameter>]
1756
1756
  #
1757
1757
  # @!attribute [rw] last_update_requested_time
1758
- # Last time when conformation pack update was requested.
1758
+ # The last time a conformation pack update was requested.
1759
1759
  # @return [Time]
1760
1760
  #
1761
1761
  # @!attribute [rw] created_by
1762
- # Amazon Web Services service that created the conformance pack.
1762
+ # The Amazon Web Services service that created the conformance pack.
1763
1763
  # @return [String]
1764
1764
  #
1765
+ # @!attribute [rw] template_ssm_document_details
1766
+ # An object that contains the name or Amazon Resource Name (ARN) of
1767
+ # the Amazon Web Services Systems Manager document (SSM document) and
1768
+ # the version of the SSM document that is used to create a conformance
1769
+ # pack.
1770
+ # @return [Types::TemplateSSMDocumentDetails]
1771
+ #
1765
1772
  # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ConformancePackDetail AWS API Documentation
1766
1773
  #
1767
1774
  class ConformancePackDetail < Struct.new(
@@ -1772,7 +1779,8 @@ module Aws::ConfigService
1772
1779
  :delivery_s3_key_prefix,
1773
1780
  :conformance_pack_input_parameters,
1774
1781
  :last_update_requested_time,
1775
- :created_by)
1782
+ :created_by,
1783
+ :template_ssm_document_details)
1776
1784
  SENSITIVE = []
1777
1785
  include Aws::Structure
1778
1786
  end
@@ -5265,7 +5273,7 @@ module Aws::ConfigService
5265
5273
  #
5266
5274
  # * To call IAM `GetRole` action or create a service-linked role.
5267
5275
  #
5268
- # * To read Amazon S3 bucket.
5276
+ # * To read Amazon S3 bucket or call SSM:GetDocument.
5269
5277
  #
5270
5278
  # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/InsufficientPermissionsException AWS API Documentation
5271
5279
  #
@@ -7056,17 +7064,21 @@ module Aws::ConfigService
7056
7064
  # parameter_value: "ParameterValue", # required
7057
7065
  # },
7058
7066
  # ],
7067
+ # template_ssm_document_details: {
7068
+ # document_name: "SSMDocumentName", # required
7069
+ # document_version: "SSMDocumentVersion",
7070
+ # },
7059
7071
  # }
7060
7072
  #
7061
7073
  # @!attribute [rw] conformance_pack_name
7062
- # Name of the conformance pack you want to create.
7074
+ # The unique name of the conformance pack you want to deploy.
7063
7075
  # @return [String]
7064
7076
  #
7065
7077
  # @!attribute [rw] template_s3_uri
7066
- # Location of file containing the template body
7067
- # (`s3://bucketname/prefix`). The uri must point to the conformance
7068
- # pack template (max size: 300 KB) that is located in an Amazon S3
7069
- # bucket in the same region as the conformance pack.
7078
+ # The location of the file containing the template body
7079
+ # (`s3://bucketname/prefix`). The uri must point to a conformance pack
7080
+ # template (max size: 300 KB) that is located in an Amazon S3 bucket
7081
+ # in the same region as the conformance pack.
7070
7082
  #
7071
7083
  # <note markdown="1"> You must have access to read Amazon S3 bucket.
7072
7084
  #
@@ -7074,12 +7086,12 @@ module Aws::ConfigService
7074
7086
  # @return [String]
7075
7087
  #
7076
7088
  # @!attribute [rw] template_body
7077
- # A string containing full conformance pack template body. Structure
7078
- # containing the template body with a minimum length of 1 byte and a
7079
- # maximum length of 51,200 bytes.
7089
+ # A string containing the full conformance pack template body. The
7090
+ # structure containing the template body has a minimum length of 1
7091
+ # byte and a maximum length of 51,200 bytes.
7080
7092
  #
7081
7093
  # <note markdown="1"> You can only use a YAML template with two resource types: Config
7082
- # rule (`AWS::Config::ConfigRule`) and a remediation action
7094
+ # rule (`AWS::Config::ConfigRule`) and remediation action
7083
7095
  # (`AWS::Config::RemediationConfiguration`).
7084
7096
  #
7085
7097
  # </note>
@@ -7106,6 +7118,13 @@ module Aws::ConfigService
7106
7118
  # A list of `ConformancePackInputParameter` objects.
7107
7119
  # @return [Array<Types::ConformancePackInputParameter>]
7108
7120
  #
7121
+ # @!attribute [rw] template_ssm_document_details
7122
+ # An object of type `TemplateSSMDocumentDetails`, which contains the
7123
+ # name or the Amazon Resource Name (ARN) of the Amazon Web Services
7124
+ # Systems Manager document (SSM document) and the version of the SSM
7125
+ # document that is used to create a conformance pack.
7126
+ # @return [Types::TemplateSSMDocumentDetails]
7127
+ #
7109
7128
  # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConformancePackRequest AWS API Documentation
7110
7129
  #
7111
7130
  class PutConformancePackRequest < Struct.new(
@@ -7114,7 +7133,8 @@ module Aws::ConfigService
7114
7133
  :template_body,
7115
7134
  :delivery_s3_bucket,
7116
7135
  :delivery_s3_key_prefix,
7117
- :conformance_pack_input_parameters)
7136
+ :conformance_pack_input_parameters,
7137
+ :template_ssm_document_details)
7118
7138
  SENSITIVE = []
7119
7139
  include Aws::Structure
7120
7140
  end
@@ -9168,6 +9188,54 @@ module Aws::ConfigService
9168
9188
  include Aws::Structure
9169
9189
  end
9170
9190
 
9191
+ # This API allows you to create a conformance pack template with an
9192
+ # Amazon Web Services Systems Manager document (SSM document). To deploy
9193
+ # a conformance pack using an SSM document, you first create an SSM
9194
+ # document with conformance pack content, and then provide the
9195
+ # `DocumentName` (and optionally `DocumentVersion`) in the
9196
+ # [PutConformancePack API][1].
9197
+ #
9198
+ # The `TemplateSSMDocumentDetails` object contains the name of the SSM
9199
+ # document and the version of the SSM document.
9200
+ #
9201
+ #
9202
+ #
9203
+ # [1]: https://docs.aws.amazon.com/config/latest/APIReference/API_PutConformancePack.html
9204
+ #
9205
+ # @note When making an API call, you may pass TemplateSSMDocumentDetails
9206
+ # data as a hash:
9207
+ #
9208
+ # {
9209
+ # document_name: "SSMDocumentName", # required
9210
+ # document_version: "SSMDocumentVersion",
9211
+ # }
9212
+ #
9213
+ # @!attribute [rw] document_name
9214
+ # The name or Amazon Resource Name (ARN) of the SSM document to use to
9215
+ # create a conformance pack. If you use the Document Name, Config
9216
+ # checks only your account and region for the SSM document. If you
9217
+ # want to use an SSM document from another region or account, you must
9218
+ # provide the ARN.
9219
+ # @return [String]
9220
+ #
9221
+ # @!attribute [rw] document_version
9222
+ # The version of the SSM document to use to create a conformance pack.
9223
+ # By default, Config uses the latest version.
9224
+ #
9225
+ # <note markdown="1"> This field is optional.
9226
+ #
9227
+ # </note>
9228
+ # @return [String]
9229
+ #
9230
+ # @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/TemplateSSMDocumentDetails AWS API Documentation
9231
+ #
9232
+ class TemplateSSMDocumentDetails < Struct.new(
9233
+ :document_name,
9234
+ :document_version)
9235
+ SENSITIVE = []
9236
+ include Aws::Structure
9237
+ end
9238
+
9171
9239
  # You have reached the limit of the number of tags you can use. You have
9172
9240
  # more than 50 tags.
9173
9241
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-configservice/customizations'
48
48
  # @!group service
49
49
  module Aws::ConfigService
50
50
 
51
- GEM_VERSION = '1.82.0'
51
+ GEM_VERSION = '1.83.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-configservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.82.0
4
+ version: 1.83.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: 2022-08-04 00:00:00.000000000 Z
11
+ date: 2022-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core