aws-sdk-accessanalyzer 1.25.0 → 1.26.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: c1f609a49569e581f43729ba536059295d99accec3f3cec802bae646e2dccb78
4
- data.tar.gz: 250721619bac6f9546fc706ef9a7acbfd65049189e8f5e5a83ac30ed67934a7a
3
+ metadata.gz: 1342cd4f47db2ecf75338f34ad04cc82ff152dac1de6eff3db4b8201cbf1edff
4
+ data.tar.gz: 12528aefa563f1de3dc8cc9c38b1348bc4fd94a148dfa37ed4eca5cf9dc6343a
5
5
  SHA512:
6
- metadata.gz: e1eba15a8f18c067a4ff706c8bdeabeea4521a5de980c5b126f0f85e78ae41a3c6acd439570c73ba025b5ef9083f9cb41f555e4c244f337809423ea099082672
7
- data.tar.gz: d2f851355c995c91957e2951501866c2b7a31f01bd4352a51c37411781929dbf94cddf20d7fb1fc5f1677ab5b25e23296a325a84886b7f2137349656981d0682
6
+ metadata.gz: 1ca05166f5530d95105fcfbfc1ff2f9d42ab77e7f6f3c1f55902394c696ae0c2f71af93fa3b3fd54b93d1ea2a8ca9412df5e5cf1ca99988c060b86f067452bdc
7
+ data.tar.gz: 71739b092dd991d1356836a103f7776d25894ea191cf64d8745ade87db3003ab4859654eb5336a847ff5d67bcac50c5687aaf34a5ddcb56a6e4c9031e3e1b9f9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2021-11-30)
5
+ ------------------
6
+
7
+ * Feature - AWS IAM Access Analyzer now supports policy validation for resource policies attached to S3 buckets and access points. You can run additional policy checks by specifying the S3 resource type you want to attach to your resource policy.
8
+
4
9
  1.25.0 (2021-11-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.26.0
@@ -119,7 +119,9 @@ module Aws::AccessAnalyzer
119
119
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
120
  # are very aggressive. Construct and pass an instance of
121
121
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
122
+ # enable retries and extended timeouts. Instance profile credential
123
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
124
+ # to true.
123
125
  #
124
126
  # @option options [required, String] :region
125
127
  # The AWS region to connect to. The configured `:region` is
@@ -1740,6 +1742,19 @@ module Aws::AccessAnalyzer
1740
1742
  # as identity policy or resource policy or a specific input such as
1741
1743
  # managed policy or Amazon S3 bucket policy.
1742
1744
  #
1745
+ # @option params [String] :validate_policy_resource_type
1746
+ # The type of resource to attach to your resource policy. Specify a
1747
+ # value for the policy validation resource type only if the policy type
1748
+ # is `RESOURCE_POLICY`. For example, to validate a resource policy to
1749
+ # attach to an Amazon S3 bucket, you can choose `AWS::S3::Bucket` for
1750
+ # the policy validation resource type.
1751
+ #
1752
+ # For resource types not supported as valid values, IAM Access Analyzer
1753
+ # runs policy checks that apply to all resource policies. For example,
1754
+ # to validate a resource policy to attach to a KMS key, do not specify a
1755
+ # value for the policy validation resource type and IAM Access Analyzer
1756
+ # will run policy checks that apply to all resource policies.
1757
+ #
1743
1758
  # @return [Types::ValidatePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1744
1759
  #
1745
1760
  # * {Types::ValidatePolicyResponse#findings #findings} => Array<Types::ValidatePolicyFinding>
@@ -1755,6 +1770,7 @@ module Aws::AccessAnalyzer
1755
1770
  # next_token: "Token",
1756
1771
  # policy_document: "PolicyDocument", # required
1757
1772
  # policy_type: "IDENTITY_POLICY", # required, accepts IDENTITY_POLICY, RESOURCE_POLICY, SERVICE_CONTROL_POLICY
1773
+ # validate_policy_resource_type: "AWS::S3::Bucket", # accepts AWS::S3::Bucket, AWS::S3::AccessPoint, AWS::S3::MultiRegionAccessPoint, AWS::S3ObjectLambda::AccessPoint
1758
1774
  # })
1759
1775
  #
1760
1776
  # @example Response structure
@@ -1801,7 +1817,7 @@ module Aws::AccessAnalyzer
1801
1817
  params: params,
1802
1818
  config: config)
1803
1819
  context[:gem_name] = 'aws-sdk-accessanalyzer'
1804
- context[:gem_version] = '1.25.0'
1820
+ context[:gem_version] = '1.26.0'
1805
1821
  Seahorse::Client::Request.new(handlers, context)
1806
1822
  end
1807
1823
 
@@ -199,6 +199,7 @@ module Aws::AccessAnalyzer
199
199
  ValidatePolicyFindingList = Shapes::ListShape.new(name: 'ValidatePolicyFindingList')
200
200
  ValidatePolicyFindingType = Shapes::StringShape.new(name: 'ValidatePolicyFindingType')
201
201
  ValidatePolicyRequest = Shapes::StructureShape.new(name: 'ValidatePolicyRequest')
202
+ ValidatePolicyResourceType = Shapes::StringShape.new(name: 'ValidatePolicyResourceType')
202
203
  ValidatePolicyResponse = Shapes::StructureShape.new(name: 'ValidatePolicyResponse')
203
204
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
204
205
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
@@ -798,6 +799,7 @@ module Aws::AccessAnalyzer
798
799
  ValidatePolicyRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
799
800
  ValidatePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "policyDocument"))
800
801
  ValidatePolicyRequest.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "policyType"))
802
+ ValidatePolicyRequest.add_member(:validate_policy_resource_type, Shapes::ShapeRef.new(shape: ValidatePolicyResourceType, location_name: "validatePolicyResourceType"))
801
803
  ValidatePolicyRequest.struct_class = Types::ValidatePolicyRequest
802
804
 
803
805
  ValidatePolicyResponse.add_member(:findings, Shapes::ShapeRef.new(shape: ValidatePolicyFindingList, required: true, location_name: "findings"))
@@ -2867,10 +2867,11 @@ module Aws::AccessAnalyzer
2867
2867
  # without a policy. To propose deletion of an existing policy, you can
2868
2868
  # specify an empty string. If the proposed configuration is for a new
2869
2869
  # secret and you do not specify the KMS key ID, the access preview uses
2870
- # the default CMK of the Amazon Web Services account. If you specify an
2871
- # empty string for the KMS key ID, the access preview uses the default
2872
- # CMK of the Amazon Web Services account. For more information about
2873
- # secret policy limits, see [Quotas for Secrets Manager.][2].
2870
+ # the Amazon Web Services managed key `aws/secretsmanager`. If you
2871
+ # specify an empty string for the KMS key ID, the access preview uses
2872
+ # the Amazon Web Services managed key of the Amazon Web Services
2873
+ # account. For more information about secret policy limits, see [Quotas
2874
+ # for Secrets Manager.][2].
2874
2875
  #
2875
2876
  #
2876
2877
  #
@@ -2886,8 +2887,7 @@ module Aws::AccessAnalyzer
2886
2887
  # }
2887
2888
  #
2888
2889
  # @!attribute [rw] kms_key_id
2889
- # The proposed ARN, key ID, or alias of the KMS customer master key
2890
- # (CMK).
2890
+ # The proposed ARN, key ID, or alias of the KMS key.
2891
2891
  # @return [String]
2892
2892
  #
2893
2893
  # @!attribute [rw] secret_policy
@@ -3467,6 +3467,7 @@ module Aws::AccessAnalyzer
3467
3467
  # next_token: "Token",
3468
3468
  # policy_document: "PolicyDocument", # required
3469
3469
  # policy_type: "IDENTITY_POLICY", # required, accepts IDENTITY_POLICY, RESOURCE_POLICY, SERVICE_CONTROL_POLICY
3470
+ # validate_policy_resource_type: "AWS::S3::Bucket", # accepts AWS::S3::Bucket, AWS::S3::AccessPoint, AWS::S3::MultiRegionAccessPoint, AWS::S3ObjectLambda::AccessPoint
3470
3471
  # }
3471
3472
  #
3472
3473
  # @!attribute [rw] locale
@@ -3499,6 +3500,21 @@ module Aws::AccessAnalyzer
3499
3500
  # such as managed policy or Amazon S3 bucket policy.
3500
3501
  # @return [String]
3501
3502
  #
3503
+ # @!attribute [rw] validate_policy_resource_type
3504
+ # The type of resource to attach to your resource policy. Specify a
3505
+ # value for the policy validation resource type only if the policy
3506
+ # type is `RESOURCE_POLICY`. For example, to validate a resource
3507
+ # policy to attach to an Amazon S3 bucket, you can choose
3508
+ # `AWS::S3::Bucket` for the policy validation resource type.
3509
+ #
3510
+ # For resource types not supported as valid values, IAM Access
3511
+ # Analyzer runs policy checks that apply to all resource policies. For
3512
+ # example, to validate a resource policy to attach to a KMS key, do
3513
+ # not specify a value for the policy validation resource type and IAM
3514
+ # Access Analyzer will run policy checks that apply to all resource
3515
+ # policies.
3516
+ # @return [String]
3517
+ #
3502
3518
  # @see http://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ValidatePolicyRequest AWS API Documentation
3503
3519
  #
3504
3520
  class ValidatePolicyRequest < Struct.new(
@@ -3506,7 +3522,8 @@ module Aws::AccessAnalyzer
3506
3522
  :max_results,
3507
3523
  :next_token,
3508
3524
  :policy_document,
3509
- :policy_type)
3525
+ :policy_type,
3526
+ :validate_policy_resource_type)
3510
3527
  SENSITIVE = []
3511
3528
  include Aws::Structure
3512
3529
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-accessanalyzer/customizations'
48
48
  # @!group service
49
49
  module Aws::AccessAnalyzer
50
50
 
51
- GEM_VERSION = '1.25.0'
51
+ GEM_VERSION = '1.26.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-accessanalyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.26.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: 2021-11-04 00:00:00.000000000 Z
11
+ date: 2021-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core