aws-cdk-lib 2.90.0__py3-none-any.whl → 2.92.0__py3-none-any.whl
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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +22 -4
- aws_cdk/_jsii/__init__.py +2 -2
- aws_cdk/_jsii/{aws-cdk-lib@2.90.0.jsii.tgz → aws-cdk-lib@2.92.0.jsii.tgz} +0 -0
- aws_cdk/aws_appstream/__init__.py +3 -3
- aws_cdk/aws_batch/__init__.py +39 -18
- aws_cdk/aws_billingconductor/__init__.py +44 -13
- aws_cdk/aws_cleanrooms/__init__.py +2 -4
- aws_cdk/aws_cloudtrail/__init__.py +35 -10
- aws_cdk/aws_cloudwatch/__init__.py +3 -3
- aws_cdk/aws_codebuild/__init__.py +7 -7
- aws_cdk/aws_cognito/__init__.py +8 -8
- aws_cdk/aws_config/__init__.py +220 -0
- aws_cdk/aws_datasync/__init__.py +22 -35
- aws_cdk/aws_dms/__init__.py +909 -4
- aws_cdk/aws_dynamodb/__init__.py +0 -1
- aws_cdk/aws_ec2/__init__.py +59 -21
- aws_cdk/aws_ecs/__init__.py +45 -21
- aws_cdk/aws_evidently/__init__.py +3 -3
- aws_cdk/aws_fsx/__init__.py +6 -5
- aws_cdk/aws_glue/__init__.py +438 -10
- aws_cdk/aws_guardduty/__init__.py +60 -17
- aws_cdk/aws_iam/__init__.py +8 -9
- aws_cdk/aws_iot/__init__.py +5 -1
- aws_cdk/aws_kms/__init__.py +95 -47
- aws_cdk/aws_lambda/__init__.py +4 -2
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -3
- aws_cdk/aws_mediatailor/__init__.py +2902 -892
- aws_cdk/aws_mwaa/__init__.py +13 -8
- aws_cdk/aws_neptune/__init__.py +50 -2
- aws_cdk/aws_omics/__init__.py +80 -0
- aws_cdk/aws_opensearchserverless/__init__.py +3 -3
- aws_cdk/aws_opensearchservice/__init__.py +247 -14
- aws_cdk/aws_organizations/__init__.py +17 -17
- aws_cdk/aws_personalize/__init__.py +41 -25
- aws_cdk/aws_rds/__init__.py +24 -10
- aws_cdk/aws_resiliencehub/__init__.py +22 -22
- aws_cdk/aws_rolesanywhere/__init__.py +58 -74
- aws_cdk/aws_route53/__init__.py +3 -1
- aws_cdk/aws_s3/__init__.py +17 -7
- aws_cdk/aws_sagemaker/__init__.py +396 -5
- aws_cdk/aws_sns/__init__.py +8 -8
- aws_cdk/aws_sqs/__init__.py +231 -4
- aws_cdk/aws_ssm/__init__.py +6 -28
- aws_cdk/aws_stepfunctions/__init__.py +7 -7
- aws_cdk/aws_timestream/__init__.py +243 -0
- aws_cdk/aws_transfer/__init__.py +250 -52
- aws_cdk/aws_vpclattice/__init__.py +10 -6
- aws_cdk/aws_wafv2/__init__.py +7517 -5036
- aws_cdk/custom_resources/__init__.py +18 -30
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/METADATA +8 -8
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/RECORD +55 -55
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.90.0.dist-info → aws_cdk_lib-2.92.0.dist-info}/top_level.txt +0 -0
|
@@ -57,11 +57,7 @@ class CfnCRL(
|
|
|
57
57
|
metaclass=jsii.JSIIMeta,
|
|
58
58
|
jsii_type="aws-cdk-lib.aws_rolesanywhere.CfnCRL",
|
|
59
59
|
):
|
|
60
|
-
'''
|
|
61
|
-
|
|
62
|
-
A CRL is a list of certificates that have been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere validates against the CRL before issuing credentials.
|
|
63
|
-
|
|
64
|
-
*Required permissions:* ``rolesanywhere:ImportCrl`` .
|
|
60
|
+
'''Creates a Crl.
|
|
65
61
|
|
|
66
62
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html
|
|
67
63
|
:exampleMetadata: fixture=_generated
|
|
@@ -100,10 +96,10 @@ class CfnCRL(
|
|
|
100
96
|
'''
|
|
101
97
|
:param scope: Scope in which this resource is defined.
|
|
102
98
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
103
|
-
:param crl_data:
|
|
104
|
-
:param name: The name of the
|
|
105
|
-
:param enabled:
|
|
106
|
-
:param tags: A list of
|
|
99
|
+
:param crl_data: x509 v3 Certificate Revocation List to revoke auth for corresponding certificates presented in CreateSession operations.
|
|
100
|
+
:param name: The customer specified name of the resource.
|
|
101
|
+
:param enabled: The enabled status of the resource.
|
|
102
|
+
:param tags: A list of Tags.
|
|
107
103
|
:param trust_anchor_arn: The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
|
|
108
104
|
'''
|
|
109
105
|
if __debug__:
|
|
@@ -173,7 +169,7 @@ class CfnCRL(
|
|
|
173
169
|
@builtins.property
|
|
174
170
|
@jsii.member(jsii_name="crlData")
|
|
175
171
|
def crl_data(self) -> builtins.str:
|
|
176
|
-
'''
|
|
172
|
+
'''x509 v3 Certificate Revocation List to revoke auth for corresponding certificates presented in CreateSession operations.'''
|
|
177
173
|
return typing.cast(builtins.str, jsii.get(self, "crlData"))
|
|
178
174
|
|
|
179
175
|
@crl_data.setter
|
|
@@ -186,7 +182,7 @@ class CfnCRL(
|
|
|
186
182
|
@builtins.property
|
|
187
183
|
@jsii.member(jsii_name="name")
|
|
188
184
|
def name(self) -> builtins.str:
|
|
189
|
-
'''The name of the
|
|
185
|
+
'''The customer specified name of the resource.'''
|
|
190
186
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
191
187
|
|
|
192
188
|
@name.setter
|
|
@@ -201,7 +197,7 @@ class CfnCRL(
|
|
|
201
197
|
def enabled(
|
|
202
198
|
self,
|
|
203
199
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
204
|
-
'''
|
|
200
|
+
'''The enabled status of the resource.'''
|
|
205
201
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "enabled"))
|
|
206
202
|
|
|
207
203
|
@enabled.setter
|
|
@@ -217,7 +213,7 @@ class CfnCRL(
|
|
|
217
213
|
@builtins.property
|
|
218
214
|
@jsii.member(jsii_name="tagsRaw")
|
|
219
215
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
220
|
-
'''A list of
|
|
216
|
+
'''A list of Tags.'''
|
|
221
217
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tagsRaw"))
|
|
222
218
|
|
|
223
219
|
@tags_raw.setter
|
|
@@ -264,10 +260,10 @@ class CfnCRLProps:
|
|
|
264
260
|
) -> None:
|
|
265
261
|
'''Properties for defining a ``CfnCRL``.
|
|
266
262
|
|
|
267
|
-
:param crl_data:
|
|
268
|
-
:param name: The name of the
|
|
269
|
-
:param enabled:
|
|
270
|
-
:param tags: A list of
|
|
263
|
+
:param crl_data: x509 v3 Certificate Revocation List to revoke auth for corresponding certificates presented in CreateSession operations.
|
|
264
|
+
:param name: The customer specified name of the resource.
|
|
265
|
+
:param enabled: The enabled status of the resource.
|
|
266
|
+
:param tags: A list of Tags.
|
|
271
267
|
:param trust_anchor_arn: The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
|
|
272
268
|
|
|
273
269
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html
|
|
@@ -312,7 +308,7 @@ class CfnCRLProps:
|
|
|
312
308
|
|
|
313
309
|
@builtins.property
|
|
314
310
|
def crl_data(self) -> builtins.str:
|
|
315
|
-
'''
|
|
311
|
+
'''x509 v3 Certificate Revocation List to revoke auth for corresponding certificates presented in CreateSession operations.
|
|
316
312
|
|
|
317
313
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-crldata
|
|
318
314
|
'''
|
|
@@ -322,7 +318,7 @@ class CfnCRLProps:
|
|
|
322
318
|
|
|
323
319
|
@builtins.property
|
|
324
320
|
def name(self) -> builtins.str:
|
|
325
|
-
'''The name of the
|
|
321
|
+
'''The customer specified name of the resource.
|
|
326
322
|
|
|
327
323
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-name
|
|
328
324
|
'''
|
|
@@ -334,7 +330,7 @@ class CfnCRLProps:
|
|
|
334
330
|
def enabled(
|
|
335
331
|
self,
|
|
336
332
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
337
|
-
'''
|
|
333
|
+
'''The enabled status of the resource.
|
|
338
334
|
|
|
339
335
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-enabled
|
|
340
336
|
'''
|
|
@@ -343,7 +339,7 @@ class CfnCRLProps:
|
|
|
343
339
|
|
|
344
340
|
@builtins.property
|
|
345
341
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
346
|
-
'''A list of
|
|
342
|
+
'''A list of Tags.
|
|
347
343
|
|
|
348
344
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-crl.html#cfn-rolesanywhere-crl-tags
|
|
349
345
|
'''
|
|
@@ -377,11 +373,7 @@ class CfnProfile(
|
|
|
377
373
|
metaclass=jsii.JSIIMeta,
|
|
378
374
|
jsii_type="aws-cdk-lib.aws_rolesanywhere.CfnProfile",
|
|
379
375
|
):
|
|
380
|
-
'''Creates a
|
|
381
|
-
|
|
382
|
-
You use profiles to intersect permissions with IAM managed policies.
|
|
383
|
-
|
|
384
|
-
*Required permissions:* ``rolesanywhere:CreateProfile`` .
|
|
376
|
+
'''Creates a Profile.
|
|
385
377
|
|
|
386
378
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html
|
|
387
379
|
:exampleMetadata: fixture=_generated
|
|
@@ -426,14 +418,14 @@ class CfnProfile(
|
|
|
426
418
|
'''
|
|
427
419
|
:param scope: Scope in which this resource is defined.
|
|
428
420
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
429
|
-
:param name: The name of the
|
|
430
|
-
:param role_arns: A list of IAM role ARNs
|
|
431
|
-
:param duration_seconds:
|
|
432
|
-
:param enabled:
|
|
433
|
-
:param managed_policy_arns: A list of managed policy ARNs
|
|
434
|
-
:param require_instance_properties: Specifies whether instance properties are required in
|
|
435
|
-
:param session_policy: A session policy that
|
|
436
|
-
:param tags:
|
|
421
|
+
:param name: The customer specified name of the resource.
|
|
422
|
+
:param role_arns: A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
|
|
423
|
+
:param duration_seconds: The number of seconds vended session credentials will be valid for.
|
|
424
|
+
:param enabled: The enabled status of the resource.
|
|
425
|
+
:param managed_policy_arns: A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
|
|
426
|
+
:param require_instance_properties: Specifies whether instance properties are required in CreateSession requests with this profile.
|
|
427
|
+
:param session_policy: A session policy that will applied to the trust boundary of the vended session credentials.
|
|
428
|
+
:param tags: A list of Tags.
|
|
437
429
|
'''
|
|
438
430
|
if __debug__:
|
|
439
431
|
type_hints = typing.get_type_hints(_typecheckingstub__15739ec913066dea67815f6297a7c4e3ed351b4df22323a7b46fa138af1a7af8)
|
|
@@ -514,7 +506,7 @@ class CfnProfile(
|
|
|
514
506
|
@builtins.property
|
|
515
507
|
@jsii.member(jsii_name="name")
|
|
516
508
|
def name(self) -> builtins.str:
|
|
517
|
-
'''The name of the
|
|
509
|
+
'''The customer specified name of the resource.'''
|
|
518
510
|
return typing.cast(builtins.str, jsii.get(self, "name"))
|
|
519
511
|
|
|
520
512
|
@name.setter
|
|
@@ -527,7 +519,7 @@ class CfnProfile(
|
|
|
527
519
|
@builtins.property
|
|
528
520
|
@jsii.member(jsii_name="roleArns")
|
|
529
521
|
def role_arns(self) -> typing.List[builtins.str]:
|
|
530
|
-
'''A list of IAM role ARNs.'''
|
|
522
|
+
'''A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.'''
|
|
531
523
|
return typing.cast(typing.List[builtins.str], jsii.get(self, "roleArns"))
|
|
532
524
|
|
|
533
525
|
@role_arns.setter
|
|
@@ -540,7 +532,7 @@ class CfnProfile(
|
|
|
540
532
|
@builtins.property
|
|
541
533
|
@jsii.member(jsii_name="durationSeconds")
|
|
542
534
|
def duration_seconds(self) -> typing.Optional[jsii.Number]:
|
|
543
|
-
'''
|
|
535
|
+
'''The number of seconds vended session credentials will be valid for.'''
|
|
544
536
|
return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "durationSeconds"))
|
|
545
537
|
|
|
546
538
|
@duration_seconds.setter
|
|
@@ -555,7 +547,7 @@ class CfnProfile(
|
|
|
555
547
|
def enabled(
|
|
556
548
|
self,
|
|
557
549
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
558
|
-
'''
|
|
550
|
+
'''The enabled status of the resource.'''
|
|
559
551
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "enabled"))
|
|
560
552
|
|
|
561
553
|
@enabled.setter
|
|
@@ -571,7 +563,7 @@ class CfnProfile(
|
|
|
571
563
|
@builtins.property
|
|
572
564
|
@jsii.member(jsii_name="managedPolicyArns")
|
|
573
565
|
def managed_policy_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
574
|
-
'''A list of managed policy ARNs
|
|
566
|
+
'''A list of managed policy ARNs.'''
|
|
575
567
|
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "managedPolicyArns"))
|
|
576
568
|
|
|
577
569
|
@managed_policy_arns.setter
|
|
@@ -589,7 +581,7 @@ class CfnProfile(
|
|
|
589
581
|
def require_instance_properties(
|
|
590
582
|
self,
|
|
591
583
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
592
|
-
'''Specifies whether instance properties are required in
|
|
584
|
+
'''Specifies whether instance properties are required in CreateSession requests with this profile.'''
|
|
593
585
|
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "requireInstanceProperties"))
|
|
594
586
|
|
|
595
587
|
@require_instance_properties.setter
|
|
@@ -605,7 +597,7 @@ class CfnProfile(
|
|
|
605
597
|
@builtins.property
|
|
606
598
|
@jsii.member(jsii_name="sessionPolicy")
|
|
607
599
|
def session_policy(self) -> typing.Optional[builtins.str]:
|
|
608
|
-
'''A session policy that
|
|
600
|
+
'''A session policy that will applied to the trust boundary of the vended session credentials.'''
|
|
609
601
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sessionPolicy"))
|
|
610
602
|
|
|
611
603
|
@session_policy.setter
|
|
@@ -618,7 +610,7 @@ class CfnProfile(
|
|
|
618
610
|
@builtins.property
|
|
619
611
|
@jsii.member(jsii_name="tagsRaw")
|
|
620
612
|
def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
621
|
-
'''
|
|
613
|
+
'''A list of Tags.'''
|
|
622
614
|
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tagsRaw"))
|
|
623
615
|
|
|
624
616
|
@tags_raw.setter
|
|
@@ -658,14 +650,14 @@ class CfnProfileProps:
|
|
|
658
650
|
) -> None:
|
|
659
651
|
'''Properties for defining a ``CfnProfile``.
|
|
660
652
|
|
|
661
|
-
:param name: The name of the
|
|
662
|
-
:param role_arns: A list of IAM role ARNs
|
|
663
|
-
:param duration_seconds:
|
|
664
|
-
:param enabled:
|
|
665
|
-
:param managed_policy_arns: A list of managed policy ARNs
|
|
666
|
-
:param require_instance_properties: Specifies whether instance properties are required in
|
|
667
|
-
:param session_policy: A session policy that
|
|
668
|
-
:param tags:
|
|
653
|
+
:param name: The customer specified name of the resource.
|
|
654
|
+
:param role_arns: A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
|
|
655
|
+
:param duration_seconds: The number of seconds vended session credentials will be valid for.
|
|
656
|
+
:param enabled: The enabled status of the resource.
|
|
657
|
+
:param managed_policy_arns: A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
|
|
658
|
+
:param require_instance_properties: Specifies whether instance properties are required in CreateSession requests with this profile.
|
|
659
|
+
:param session_policy: A session policy that will applied to the trust boundary of the vended session credentials.
|
|
660
|
+
:param tags: A list of Tags.
|
|
669
661
|
|
|
670
662
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html
|
|
671
663
|
:exampleMetadata: fixture=_generated
|
|
@@ -721,7 +713,7 @@ class CfnProfileProps:
|
|
|
721
713
|
|
|
722
714
|
@builtins.property
|
|
723
715
|
def name(self) -> builtins.str:
|
|
724
|
-
'''The name of the
|
|
716
|
+
'''The customer specified name of the resource.
|
|
725
717
|
|
|
726
718
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-name
|
|
727
719
|
'''
|
|
@@ -731,9 +723,7 @@ class CfnProfileProps:
|
|
|
731
723
|
|
|
732
724
|
@builtins.property
|
|
733
725
|
def role_arns(self) -> typing.List[builtins.str]:
|
|
734
|
-
'''A list of IAM role ARNs.
|
|
735
|
-
|
|
736
|
-
During ``CreateSession`` , if a matching role ARN is provided, the properties in this profile will be applied to the intersection session policy.
|
|
726
|
+
'''A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
|
|
737
727
|
|
|
738
728
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-rolearns
|
|
739
729
|
'''
|
|
@@ -743,7 +733,7 @@ class CfnProfileProps:
|
|
|
743
733
|
|
|
744
734
|
@builtins.property
|
|
745
735
|
def duration_seconds(self) -> typing.Optional[jsii.Number]:
|
|
746
|
-
'''
|
|
736
|
+
'''The number of seconds vended session credentials will be valid for.
|
|
747
737
|
|
|
748
738
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-durationseconds
|
|
749
739
|
'''
|
|
@@ -754,7 +744,7 @@ class CfnProfileProps:
|
|
|
754
744
|
def enabled(
|
|
755
745
|
self,
|
|
756
746
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
757
|
-
'''
|
|
747
|
+
'''The enabled status of the resource.
|
|
758
748
|
|
|
759
749
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-enabled
|
|
760
750
|
'''
|
|
@@ -763,7 +753,9 @@ class CfnProfileProps:
|
|
|
763
753
|
|
|
764
754
|
@builtins.property
|
|
765
755
|
def managed_policy_arns(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
766
|
-
'''A list of managed policy ARNs
|
|
756
|
+
'''A list of managed policy ARNs.
|
|
757
|
+
|
|
758
|
+
Managed policies identified by this list will be applied to the vended session credentials.
|
|
767
759
|
|
|
768
760
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-managedpolicyarns
|
|
769
761
|
'''
|
|
@@ -774,7 +766,7 @@ class CfnProfileProps:
|
|
|
774
766
|
def require_instance_properties(
|
|
775
767
|
self,
|
|
776
768
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
777
|
-
'''Specifies whether instance properties are required in
|
|
769
|
+
'''Specifies whether instance properties are required in CreateSession requests with this profile.
|
|
778
770
|
|
|
779
771
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-requireinstanceproperties
|
|
780
772
|
'''
|
|
@@ -783,7 +775,7 @@ class CfnProfileProps:
|
|
|
783
775
|
|
|
784
776
|
@builtins.property
|
|
785
777
|
def session_policy(self) -> typing.Optional[builtins.str]:
|
|
786
|
-
'''A session policy that
|
|
778
|
+
'''A session policy that will applied to the trust boundary of the vended session credentials.
|
|
787
779
|
|
|
788
780
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-sessionpolicy
|
|
789
781
|
'''
|
|
@@ -792,7 +784,7 @@ class CfnProfileProps:
|
|
|
792
784
|
|
|
793
785
|
@builtins.property
|
|
794
786
|
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
795
|
-
'''
|
|
787
|
+
'''A list of Tags.
|
|
796
788
|
|
|
797
789
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-tags
|
|
798
790
|
'''
|
|
@@ -817,11 +809,7 @@ class CfnTrustAnchor(
|
|
|
817
809
|
metaclass=jsii.JSIIMeta,
|
|
818
810
|
jsii_type="aws-cdk-lib.aws_rolesanywhere.CfnTrustAnchor",
|
|
819
811
|
):
|
|
820
|
-
'''Creates a
|
|
821
|
-
|
|
822
|
-
You can define a trust anchor as a reference to an AWS Private Certificate Authority ( AWS Private CA ) or by uploading a CA certificate. Your AWS workloads can authenticate with the trust anchor using certificates issued by the CA in exchange for temporary AWS credentials.
|
|
823
|
-
|
|
824
|
-
*Required permissions:* ``rolesanywhere:CreateTrustAnchor`` .
|
|
812
|
+
'''Creates a TrustAnchor.
|
|
825
813
|
|
|
826
814
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html
|
|
827
815
|
:exampleMetadata: fixture=_generated
|
|
@@ -1015,7 +1003,7 @@ class CfnTrustAnchor(
|
|
|
1015
1003
|
acm_pca_arn: typing.Optional[builtins.str] = None,
|
|
1016
1004
|
x509_certificate_data: typing.Optional[builtins.str] = None,
|
|
1017
1005
|
) -> None:
|
|
1018
|
-
'''
|
|
1006
|
+
'''A union object representing the data field of the TrustAnchor depending on its type.
|
|
1019
1007
|
|
|
1020
1008
|
:param acm_pca_arn: The root certificate of the AWS Private Certificate Authority specified by this ARN is used in trust validation for temporary credential requests. Included for trust anchors of type ``AWS_ACM_PCA`` . .. epigraph:: This field is not supported in your region.
|
|
1021
1009
|
:param x509_certificate_data: The PEM-encoded data for the certificate anchor. Included for trust anchors of type ``CERTIFICATE_BUNDLE`` .
|
|
@@ -1092,10 +1080,10 @@ class CfnTrustAnchor(
|
|
|
1092
1080
|
source_data: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTrustAnchor.SourceDataProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
1093
1081
|
source_type: typing.Optional[builtins.str] = None,
|
|
1094
1082
|
) -> None:
|
|
1095
|
-
'''
|
|
1083
|
+
'''Object representing the TrustAnchor type and its related certificate data.
|
|
1096
1084
|
|
|
1097
|
-
:param source_data:
|
|
1098
|
-
:param source_type: The type of the TrustAnchor.
|
|
1085
|
+
:param source_data: A union object representing the data field of the TrustAnchor depending on its type.
|
|
1086
|
+
:param source_type: The type of the TrustAnchor.
|
|
1099
1087
|
|
|
1100
1088
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html
|
|
1101
1089
|
:exampleMetadata: fixture=_generated
|
|
@@ -1128,7 +1116,7 @@ class CfnTrustAnchor(
|
|
|
1128
1116
|
def source_data(
|
|
1129
1117
|
self,
|
|
1130
1118
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTrustAnchor.SourceDataProperty"]]:
|
|
1131
|
-
'''
|
|
1119
|
+
'''A union object representing the data field of the TrustAnchor depending on its type.
|
|
1132
1120
|
|
|
1133
1121
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html#cfn-rolesanywhere-trustanchor-source-sourcedata
|
|
1134
1122
|
'''
|
|
@@ -1139,10 +1127,6 @@ class CfnTrustAnchor(
|
|
|
1139
1127
|
def source_type(self) -> typing.Optional[builtins.str]:
|
|
1140
1128
|
'''The type of the TrustAnchor.
|
|
1141
1129
|
|
|
1142
|
-
.. epigraph::
|
|
1143
|
-
|
|
1144
|
-
``AWS_ACM_PCA`` is not an allowed value in your region.
|
|
1145
|
-
|
|
1146
1130
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html#cfn-rolesanywhere-trustanchor-source-sourcetype
|
|
1147
1131
|
'''
|
|
1148
1132
|
result = self._values.get("source_type")
|
aws_cdk/aws_route53/__init__.py
CHANGED
|
@@ -4211,7 +4211,7 @@ class CfnRecordSetGroup(
|
|
|
4211
4211
|
:param failover: *Failover resource record sets only:* To configure failover, you add the ``Failover`` element to two resource record sets. For one resource record set, you specify ``PRIMARY`` as the value for ``Failover`` ; for the other resource record set, you specify ``SECONDARY`` . In addition, you include the ``HealthCheckId`` element and specify the health check that you want Amazon Route 53 to perform for each resource record set. Except where noted, the following failover behaviors assume that you have included the ``HealthCheckId`` element in both resource record sets: - When the primary resource record set is healthy, Route 53 responds to DNS queries with the applicable value from the primary resource record set regardless of the health of the secondary resource record set. - When the primary resource record set is unhealthy and the secondary resource record set is healthy, Route 53 responds to DNS queries with the applicable value from the secondary resource record set. - When the secondary resource record set is unhealthy, Route 53 responds to DNS queries with the applicable value from the primary resource record set regardless of the health of the primary resource record set. - If you omit the ``HealthCheckId`` element for the secondary resource record set, and if the primary resource record set is unhealthy, Route 53 always responds to DNS queries with the applicable value from the secondary resource record set. This is true regardless of the health of the associated endpoint. You can't create non-failover resource record sets that have the same values for the ``Name`` and ``Type`` elements as failover resource record sets. For failover alias resource record sets, you must also include the ``EvaluateTargetHealth`` element and set the value to true. For more information about configuring failover for Route 53, see the following topics in the *Amazon Route 53 Developer Guide* : - `Route 53 Health Checks and DNS Failover <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html>`_ - `Configuring Failover in a Private Hosted Zone <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-private-hosted-zones.html>`_
|
|
4212
4212
|
:param geo_location: *Geolocation resource record sets only:* A complex type that lets you control how Amazon Route 53 responds to DNS queries based on the geographic origin of the query. For example, if you want all queries from Africa to be routed to a web server with an IP address of ``192.0.2.111`` , create a resource record set with a ``Type`` of ``A`` and a ``ContinentCode`` of ``AF`` . .. epigraph:: Although creating geolocation and geolocation alias resource record sets in a private hosted zone is allowed, it's not supported. If you create separate resource record sets for overlapping geographic regions (for example, one resource record set for a continent and one for a country on the same continent), priority goes to the smallest geographic region. This allows you to route most queries for a continent to one resource and to route queries for a country on that continent to a different resource. You can't create two geolocation resource record sets that specify the same geographic location. The value ``*`` in the ``CountryCode`` element matches all geographic locations that aren't specified in other geolocation resource record sets that have the same values for the ``Name`` and ``Type`` elements. .. epigraph:: Geolocation works by mapping IP addresses to locations. However, some IP addresses aren't mapped to geographic locations, so even if you create geolocation resource record sets that cover all seven continents, Route 53 will receive some DNS queries from locations that it can't identify. We recommend that you create a resource record set for which the value of ``CountryCode`` is ``*`` . Two groups of queries are routed to the resource that you specify in this record: queries that come from locations for which you haven't created geolocation resource record sets and queries from IP addresses that aren't mapped to a location. If you don't create a ``*`` resource record set, Route 53 returns a "no answer" response for queries from those locations. You can't create non-geolocation resource record sets that have the same values for the ``Name`` and ``Type`` elements as geolocation resource record sets.
|
|
4213
4213
|
:param health_check_id: If you want Amazon Route 53 to return this resource record set in response to a DNS query only when the status of a health check is healthy, include the ``HealthCheckId`` element and specify the ID of the applicable health check. Route 53 determines whether a resource record set is healthy based on one of the following: - By periodically sending a request to the endpoint that is specified in the health check - By aggregating the status of a specified group of health checks (calculated health checks) - By determining the current state of a CloudWatch alarm (CloudWatch metric health checks) .. epigraph:: Route 53 doesn't check the health of the endpoint that is specified in the resource record set, for example, the endpoint specified by the IP address in the ``Value`` element. When you add a ``HealthCheckId`` element to a resource record set, Route 53 checks the health of the endpoint that you specified in the health check. For more information, see the following topics in the *Amazon Route 53 Developer Guide* : - `How Amazon Route 53 Determines Whether an Endpoint Is Healthy <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html>`_ - `Route 53 Health Checks and DNS Failover <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html>`_ - `Configuring Failover in a Private Hosted Zone <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-private-hosted-zones.html>`_ *When to Specify HealthCheckId* Specifying a value for ``HealthCheckId`` is useful only when Route 53 is choosing between two or more resource record sets to respond to a DNS query, and you want Route 53 to base the choice in part on the status of a health check. Configuring health checks makes sense only in the following configurations: - *Non-alias resource record sets* : You're checking the health of a group of non-alias resource record sets that have the same routing policy, name, and type (such as multiple weighted records named www.example.com with a type of A) and you specify health check IDs for all the resource record sets. If the health check status for a resource record set is healthy, Route 53 includes the record among the records that it responds to DNS queries with. If the health check status for a resource record set is unhealthy, Route 53 stops responding to DNS queries using the value for that resource record set. If the health check status for all resource record sets in the group is unhealthy, Route 53 considers all resource record sets in the group healthy and responds to DNS queries accordingly. - *Alias resource record sets* : You specify the following settings: - You set ``EvaluateTargetHealth`` to true for an alias resource record set in a group of resource record sets that have the same routing policy, name, and type (such as multiple weighted records named www.example.com with a type of A). - You configure the alias resource record set to route traffic to a non-alias resource record set in the same hosted zone. - You specify a health check ID for the non-alias resource record set. If the health check status is healthy, Route 53 considers the alias resource record set to be healthy and includes the alias record among the records that it responds to DNS queries with. If the health check status is unhealthy, Route 53 stops responding to DNS queries using the alias resource record set. .. epigraph:: The alias resource record set can also route traffic to a *group* of non-alias resource record sets that have the same routing policy, name, and type. In that configuration, associate health checks with all of the resource record sets in the group of non-alias resource record sets. *Geolocation Routing* For geolocation resource record sets, if an endpoint is unhealthy, Route 53 looks for a resource record set for the larger, associated geographic region. For example, suppose you have resource record sets for a state in the United States, for the entire United States, for North America, and a resource record set that has ``*`` for ``CountryCode`` is ``*`` , which applies to all locations. If the endpoint for the state resource record set is unhealthy, Route 53 checks for healthy resource record sets in the following order until it finds a resource record set for which the endpoint is healthy: - The United States - North America - The default resource record set *Specifying the Health Check Endpoint by Domain Name* If your health checks specify the endpoint only by domain name, we recommend that you create a separate health check for each endpoint. For example, create a health check for each ``HTTP`` server that is serving content for ``www.example.com`` . For the value of ``FullyQualifiedDomainName`` , specify the domain name of the server (such as ``us-east-2-www.example.com`` ), not the name of the resource record sets ( ``www.example.com`` ). .. epigraph:: Health check results will be unpredictable if you do the following: - Create a health check that has the same value for ``FullyQualifiedDomainName`` as the name of a resource record set. - Associate that health check with the resource record set.
|
|
4214
|
-
:param hosted_zone_id: The ID of the hosted zone that you want to create records in. Specify either ``HostedZoneName`` or ``HostedZoneId`` , but not both. If you have multiple hosted zones with the same domain name, you must specify the hosted zone using ``HostedZoneId`` .
|
|
4214
|
+
:param hosted_zone_id: The ID of the hosted zone that you want to create records in. Specify either ``HostedZoneName`` or ``HostedZoneId`` , but not both. If you have multiple hosted zones with the same domain name, you must specify the hosted zone using ``HostedZoneId`` . Do not provide the ``HostedZoneId`` if it is already defined in ``AWS::Route53::RecordSetGroup`` . The creation fails if ``HostedZoneId`` is defined in both.
|
|
4215
4215
|
:param hosted_zone_name: The name of the hosted zone that you want to create records in. You must include a trailing dot (for example, ``www.example.com.`` ) as part of the ``HostedZoneName`` . When you create a stack using an ``AWS::Route53::RecordSet`` that specifies ``HostedZoneName`` , AWS CloudFormation attempts to find a hosted zone whose name matches the ``HostedZoneName`` . If AWS CloudFormation can't find a hosted zone with a matching domain name, or if there is more than one hosted zone with the specified domain name, AWS CloudFormation will not create the stack. Specify either ``HostedZoneName`` or ``HostedZoneId`` , but not both. If you have multiple hosted zones with the same domain name, you must specify the hosted zone using ``HostedZoneId`` .
|
|
4216
4216
|
:param multi_value_answer: *Multivalue answer resource record sets only* : To route traffic approximately randomly to multiple resources, such as web servers, create one multivalue answer record for each resource and specify ``true`` for ``MultiValueAnswer`` . Note the following: - If you associate a health check with a multivalue answer resource record set, Amazon Route 53 responds to DNS queries with the corresponding IP address only when the health check is healthy. - If you don't associate a health check with a multivalue answer record, Route 53 always considers the record to be healthy. - Route 53 responds to DNS queries with up to eight healthy records; if you have eight or fewer healthy records, Route 53 responds to all DNS queries with all the healthy records. - If you have more than eight healthy records, Route 53 responds to different DNS resolvers with different combinations of healthy records. - When all records are unhealthy, Route 53 responds to DNS queries with up to eight unhealthy records. - If a resource becomes unavailable after a resolver caches a response, client software typically tries another of the IP addresses in the response. You can't create multivalue answer alias records.
|
|
4217
4217
|
:param region: *Latency-based resource record sets only:* The Amazon EC2 Region where you created the resource that this resource record set refers to. The resource typically is an AWS resource, such as an EC2 instance or an ELB load balancer, and is referred to by an IP address or a DNS domain name, depending on the record type. When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 Region. Route 53 then returns the value that is associated with the selected resource record set. Note the following: - You can only specify one ``ResourceRecord`` per latency resource record set. - You can only create one latency resource record set for each Amazon EC2 Region. - You aren't required to create latency resource record sets for all Amazon EC2 Regions. Route 53 will choose the region with the best latency from among the regions that you create latency resource record sets for. - You can't create non-latency resource record sets that have the same values for the ``Name`` and ``Type`` elements as latency resource record sets.
|
|
@@ -4531,6 +4531,8 @@ class CfnRecordSetGroup(
|
|
|
4531
4531
|
|
|
4532
4532
|
Specify either ``HostedZoneName`` or ``HostedZoneId`` , but not both. If you have multiple hosted zones with the same domain name, you must specify the hosted zone using ``HostedZoneId`` .
|
|
4533
4533
|
|
|
4534
|
+
Do not provide the ``HostedZoneId`` if it is already defined in ``AWS::Route53::RecordSetGroup`` . The creation fails if ``HostedZoneId`` is defined in both.
|
|
4535
|
+
|
|
4534
4536
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordsetgroup-recordset.html#cfn-route53-recordsetgroup-recordset-hostedzoneid
|
|
4535
4537
|
'''
|
|
4536
4538
|
result = self._values.get("hosted_zone_id")
|
aws_cdk/aws_s3/__init__.py
CHANGED
|
@@ -2803,7 +2803,7 @@ class CfnBucket(
|
|
|
2803
2803
|
:param scope: Scope in which this resource is defined.
|
|
2804
2804
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2805
2805
|
:param accelerate_configuration: Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see `Amazon S3 Transfer Acceleration <https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html>`_ in the *Amazon S3 User Guide* .
|
|
2806
|
-
:param access_control: A canned access control list (ACL) that grants predefined permissions to the bucket. For more information about canned ACLs, see `Canned ACL <https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl>`_ in the *Amazon S3 User Guide* .
|
|
2806
|
+
:param access_control: .. epigraph:: This is a legacy property, and it is not recommended for most use cases. A majority of modern use cases in Amazon S3 no longer require the use of ACLs, and we recommend that you keep ACLs disabled. For more information, see `Controlling object ownership <https://docs.aws.amazon.com//AmazonS3/latest/userguide/about-object-ownership.html>`_ in the *Amazon S3 User Guide* . A canned access control list (ACL) that grants predefined permissions to the bucket. For more information about canned ACLs, see `Canned ACL <https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl>`_ in the *Amazon S3 User Guide* . S3 buckets are created with ACLs disabled by default. Therefore, unless you explicitly set the `AWS::S3::OwnershipControls <https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-ownershipcontrols.html>`_ property to enable ACLs, your resource will fail to deploy with any value other than Private. Use cases requiring ACLs are uncommon. The majority of access control configurations can be successfully and more easily achieved with bucket policies. For more information, see `AWS::S3::BucketPolicy <https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html>`_ . For examples of common policy configurations, including S3 Server Access Logs buckets and more, see `Bucket policy examples <https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html>`_ in the *Amazon S3 User Guide* .
|
|
2807
2807
|
:param analytics_configurations: Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.
|
|
2808
2808
|
:param bucket_encryption: Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3), AWS KMS-managed keys (SSE-KMS), or dual-layer server-side encryption with KMS-managed keys (DSSE-KMS). For information about the Amazon S3 default encryption feature, see `Amazon S3 Default Encryption for S3 Buckets <https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html>`_ in the *Amazon S3 User Guide* .
|
|
2809
2809
|
:param bucket_name: A name for the bucket. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the bucket name. The bucket name must contain only lowercase letters, numbers, periods (.), and dashes (-) and must follow `Amazon S3 bucket restrictions and limitations <https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html>`_ . For more information, see `Rules for naming Amazon S3 buckets <https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules>`_ in the *Amazon S3 User Guide* . .. epigraph:: If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.
|
|
@@ -2973,7 +2973,9 @@ class CfnBucket(
|
|
|
2973
2973
|
@builtins.property
|
|
2974
2974
|
@jsii.member(jsii_name="accessControl")
|
|
2975
2975
|
def access_control(self) -> typing.Optional[builtins.str]:
|
|
2976
|
-
'''
|
|
2976
|
+
'''.. epigraph::
|
|
2977
|
+
|
|
2978
|
+
This is a legacy property, and it is not recommended for most use cases.'''
|
|
2977
2979
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "accessControl"))
|
|
2978
2980
|
|
|
2979
2981
|
@access_control.setter
|
|
@@ -4140,7 +4142,7 @@ class CfnBucket(
|
|
|
4140
4142
|
'''Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket.
|
|
4141
4143
|
|
|
4142
4144
|
:param bucket_arn: The Amazon Resource Name (ARN) of the bucket to which data is exported.
|
|
4143
|
-
:param format: Specifies the file format used when exporting data to Amazon S3.
|
|
4145
|
+
:param format: Specifies the file format used when exporting data to Amazon S3. *Allowed values* : ``CSV`` | ``ORC`` | ``Parquet``
|
|
4144
4146
|
:param bucket_account_id: The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data. .. epigraph:: Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
|
|
4145
4147
|
:param prefix: The prefix to use when exporting data. The prefix is prepended to all results.
|
|
4146
4148
|
|
|
@@ -4191,6 +4193,8 @@ class CfnBucket(
|
|
|
4191
4193
|
def format(self) -> builtins.str:
|
|
4192
4194
|
'''Specifies the file format used when exporting data to Amazon S3.
|
|
4193
4195
|
|
|
4196
|
+
*Allowed values* : ``CSV`` | ``ORC`` | ``Parquet``
|
|
4197
|
+
|
|
4194
4198
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-destination.html#cfn-s3-bucket-destination-format
|
|
4195
4199
|
'''
|
|
4196
4200
|
result = self._values.get("format")
|
|
@@ -9100,7 +9104,7 @@ class CfnBucketProps:
|
|
|
9100
9104
|
'''Properties for defining a ``CfnBucket``.
|
|
9101
9105
|
|
|
9102
9106
|
:param accelerate_configuration: Configures the transfer acceleration state for an Amazon S3 bucket. For more information, see `Amazon S3 Transfer Acceleration <https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html>`_ in the *Amazon S3 User Guide* .
|
|
9103
|
-
:param access_control: A canned access control list (ACL) that grants predefined permissions to the bucket. For more information about canned ACLs, see `Canned ACL <https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl>`_ in the *Amazon S3 User Guide* .
|
|
9107
|
+
:param access_control: .. epigraph:: This is a legacy property, and it is not recommended for most use cases. A majority of modern use cases in Amazon S3 no longer require the use of ACLs, and we recommend that you keep ACLs disabled. For more information, see `Controlling object ownership <https://docs.aws.amazon.com//AmazonS3/latest/userguide/about-object-ownership.html>`_ in the *Amazon S3 User Guide* . A canned access control list (ACL) that grants predefined permissions to the bucket. For more information about canned ACLs, see `Canned ACL <https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl>`_ in the *Amazon S3 User Guide* . S3 buckets are created with ACLs disabled by default. Therefore, unless you explicitly set the `AWS::S3::OwnershipControls <https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-ownershipcontrols.html>`_ property to enable ACLs, your resource will fail to deploy with any value other than Private. Use cases requiring ACLs are uncommon. The majority of access control configurations can be successfully and more easily achieved with bucket policies. For more information, see `AWS::S3::BucketPolicy <https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html>`_ . For examples of common policy configurations, including S3 Server Access Logs buckets and more, see `Bucket policy examples <https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html>`_ in the *Amazon S3 User Guide* .
|
|
9104
9108
|
:param analytics_configurations: Specifies the configuration and any analyses for the analytics filter of an Amazon S3 bucket.
|
|
9105
9109
|
:param bucket_encryption: Specifies default encryption for a bucket using server-side encryption with Amazon S3-managed keys (SSE-S3), AWS KMS-managed keys (SSE-KMS), or dual-layer server-side encryption with KMS-managed keys (DSSE-KMS). For information about the Amazon S3 default encryption feature, see `Amazon S3 Default Encryption for S3 Buckets <https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html>`_ in the *Amazon S3 User Guide* .
|
|
9106
9110
|
:param bucket_name: A name for the bucket. If you don't specify a name, AWS CloudFormation generates a unique ID and uses that ID for the bucket name. The bucket name must contain only lowercase letters, numbers, periods (.), and dashes (-) and must follow `Amazon S3 bucket restrictions and limitations <https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html>`_ . For more information, see `Rules for naming Amazon S3 buckets <https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html#bucketnamingrules>`_ in the *Amazon S3 User Guide* . .. epigraph:: If you specify a name, you can't perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you need to replace the resource, specify a new name.
|
|
@@ -9214,11 +9218,17 @@ class CfnBucketProps:
|
|
|
9214
9218
|
|
|
9215
9219
|
@builtins.property
|
|
9216
9220
|
def access_control(self) -> typing.Optional[builtins.str]:
|
|
9217
|
-
'''
|
|
9221
|
+
'''.. epigraph::
|
|
9222
|
+
|
|
9223
|
+
This is a legacy property, and it is not recommended for most use cases.
|
|
9224
|
+
|
|
9225
|
+
A majority of modern use cases in Amazon S3 no longer require the use of ACLs, and we recommend that you keep ACLs disabled. For more information, see `Controlling object ownership <https://docs.aws.amazon.com//AmazonS3/latest/userguide/about-object-ownership.html>`_ in the *Amazon S3 User Guide* .
|
|
9226
|
+
|
|
9227
|
+
A canned access control list (ACL) that grants predefined permissions to the bucket. For more information about canned ACLs, see `Canned ACL <https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl>`_ in the *Amazon S3 User Guide* .
|
|
9218
9228
|
|
|
9219
|
-
|
|
9229
|
+
S3 buckets are created with ACLs disabled by default. Therefore, unless you explicitly set the `AWS::S3::OwnershipControls <https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-ownershipcontrols.html>`_ property to enable ACLs, your resource will fail to deploy with any value other than Private. Use cases requiring ACLs are uncommon.
|
|
9220
9230
|
|
|
9221
|
-
|
|
9231
|
+
The majority of access control configurations can be successfully and more easily achieved with bucket policies. For more information, see `AWS::S3::BucketPolicy <https://docs.aws.amazon.com//AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html>`_ . For examples of common policy configurations, including S3 Server Access Logs buckets and more, see `Bucket policy examples <https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html>`_ in the *Amazon S3 User Guide* .
|
|
9222
9232
|
|
|
9223
9233
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucket.html#cfn-s3-bucket-accesscontrol
|
|
9224
9234
|
'''
|