aws-cdk-lib 2.126.0__py3-none-any.whl → 2.127.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.

Files changed (69) hide show
  1. aws_cdk/__init__.py +0 -2
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.126.0.jsii.tgz → aws-cdk-lib@2.127.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +18 -6
  5. aws_cdk/aws_amazonmq/__init__.py +3 -2
  6. aws_cdk/aws_amplifyuibuilder/__init__.py +1212 -666
  7. aws_cdk/aws_apigateway/__init__.py +7 -3
  8. aws_cdk/aws_appconfig/__init__.py +108 -19
  9. aws_cdk/aws_appsync/__init__.py +43 -0
  10. aws_cdk/aws_autoscaling/__init__.py +37 -14
  11. aws_cdk/aws_cassandra/__init__.py +810 -4
  12. aws_cdk/aws_cloudfront/__init__.py +35 -37
  13. aws_cdk/aws_cloudfront/experimental/__init__.py +21 -0
  14. aws_cdk/aws_codebuild/__init__.py +43 -3
  15. aws_cdk/aws_codecommit/__init__.py +1 -0
  16. aws_cdk/aws_codepipeline/__init__.py +7 -3
  17. aws_cdk/aws_codepipeline_actions/__init__.py +11 -1
  18. aws_cdk/aws_codestarnotifications/__init__.py +24 -15
  19. aws_cdk/aws_cognito/__init__.py +180 -116
  20. aws_cdk/aws_datasync/__init__.py +8 -4
  21. aws_cdk/aws_dynamodb/__init__.py +80 -11
  22. aws_cdk/aws_ec2/__init__.py +207 -45
  23. aws_cdk/aws_ecs/__init__.py +171 -78
  24. aws_cdk/aws_ecs_patterns/__init__.py +24 -0
  25. aws_cdk/aws_efs/__init__.py +64 -8
  26. aws_cdk/aws_eks/__init__.py +52 -41
  27. aws_cdk/aws_elasticloadbalancingv2/__init__.py +12 -9
  28. aws_cdk/aws_fis/__init__.py +32 -12
  29. aws_cdk/aws_fsx/__init__.py +61 -43
  30. aws_cdk/aws_glue/__init__.py +449 -0
  31. aws_cdk/aws_guardduty/__init__.py +0 -8
  32. aws_cdk/aws_iam/__init__.py +3 -3
  33. aws_cdk/aws_inspectorv2/__init__.py +989 -0
  34. aws_cdk/aws_internetmonitor/__init__.py +10 -12
  35. aws_cdk/aws_iot/__init__.py +112 -0
  36. aws_cdk/aws_iotwireless/__init__.py +32 -19
  37. aws_cdk/aws_lambda/__init__.py +129 -32
  38. aws_cdk/aws_lambda_event_sources/__init__.py +95 -4
  39. aws_cdk/aws_lambda_nodejs/__init__.py +21 -0
  40. aws_cdk/aws_location/__init__.py +8 -2
  41. aws_cdk/aws_logs/__init__.py +7 -3
  42. aws_cdk/aws_networkmanager/__init__.py +1 -1
  43. aws_cdk/aws_opensearchserverless/__init__.py +4 -4
  44. aws_cdk/aws_osis/__init__.py +13 -13
  45. aws_cdk/aws_personalize/__init__.py +1 -1
  46. aws_cdk/aws_pinpoint/__init__.py +5 -5
  47. aws_cdk/aws_pipes/__init__.py +7 -10
  48. aws_cdk/aws_rds/__init__.py +449 -8
  49. aws_cdk/aws_redshiftserverless/__init__.py +282 -0
  50. aws_cdk/aws_rolesanywhere/__init__.py +53 -41
  51. aws_cdk/aws_route53/__init__.py +282 -0
  52. aws_cdk/aws_s3/__init__.py +11 -6
  53. aws_cdk/aws_sagemaker/__init__.py +1398 -39
  54. aws_cdk/aws_sns/__init__.py +56 -13
  55. aws_cdk/aws_sqs/__init__.py +13 -10
  56. aws_cdk/aws_stepfunctions/__init__.py +3612 -1395
  57. aws_cdk/aws_stepfunctions_tasks/__init__.py +267 -181
  58. aws_cdk/aws_transfer/__init__.py +1 -1
  59. aws_cdk/aws_verifiedpermissions/__init__.py +55 -55
  60. aws_cdk/aws_workspacesweb/__init__.py +6 -3
  61. aws_cdk/cx_api/__init__.py +17 -0
  62. aws_cdk/triggers/__init__.py +21 -0
  63. {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/METADATA +1 -1
  64. {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/RECORD +68 -69
  65. aws_cdk/aws_ssmguiconnect/__init__.py +0 -540
  66. {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/LICENSE +0 -0
  67. {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/NOTICE +0 -0
  68. {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/WHEEL +0 -0
  69. {aws_cdk_lib-2.126.0.dist-info → aws_cdk_lib-2.127.0.dist-info}/top_level.txt +0 -0
@@ -365,7 +365,11 @@ class CfnProfile(
365
365
  metaclass=jsii.JSIIMeta,
366
366
  jsii_type="aws-cdk-lib.aws_rolesanywhere.CfnProfile",
367
367
  ):
368
- '''Creates a Profile.
368
+ '''Creates a *profile* , a list of the roles that Roles Anywhere service is trusted to assume.
369
+
370
+ You use profiles to intersect permissions with IAM managed policies.
371
+
372
+ *Required permissions:* ``rolesanywhere:CreateProfile`` .
369
373
 
370
374
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html
371
375
  :cloudformationResource: AWS::RolesAnywhere::Profile
@@ -411,14 +415,14 @@ class CfnProfile(
411
415
  '''
412
416
  :param scope: Scope in which this resource is defined.
413
417
  :param id: Construct identifier for this resource (unique in its scope).
414
- :param name: The customer specified name of the resource.
415
- :param role_arns: A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
416
- :param duration_seconds: The number of seconds vended session credentials will be valid for.
417
- :param enabled: The enabled status of the resource.
418
- :param managed_policy_arns: A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
419
- :param require_instance_properties: Specifies whether instance properties are required in CreateSession requests with this profile.
420
- :param session_policy: A session policy that will applied to the trust boundary of the vended session credentials.
421
- :param tags: A list of Tags.
418
+ :param name: The name of the profile.
419
+ :param role_arns: A list of IAM role ARNs. During ``CreateSession`` , if a matching role ARN is provided, the properties in this profile will be applied to the intersection session policy.
420
+ :param duration_seconds: Sets the maximum number of seconds that vended temporary credentials through `CreateSession <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html>`_ will be valid for, between 900 and 3600.
421
+ :param enabled: Indicates whether the profile is enabled.
422
+ :param managed_policy_arns: A list of managed policy ARNs that apply to the vended session credentials.
423
+ :param require_instance_properties: Specifies whether instance properties are required in temporary credential requests with this profile.
424
+ :param session_policy: A session policy that applies to the trust boundary of the vended session credentials.
425
+ :param tags: The tags to attach to the profile.
422
426
  '''
423
427
  if __debug__:
424
428
  type_hints = typing.get_type_hints(_typecheckingstub__15739ec913066dea67815f6297a7c4e3ed351b4df22323a7b46fa138af1a7af8)
@@ -499,7 +503,7 @@ class CfnProfile(
499
503
  @builtins.property
500
504
  @jsii.member(jsii_name="name")
501
505
  def name(self) -> builtins.str:
502
- '''The customer specified name of the resource.'''
506
+ '''The name of the profile.'''
503
507
  return typing.cast(builtins.str, jsii.get(self, "name"))
504
508
 
505
509
  @name.setter
@@ -512,7 +516,7 @@ class CfnProfile(
512
516
  @builtins.property
513
517
  @jsii.member(jsii_name="roleArns")
514
518
  def role_arns(self) -> typing.List[builtins.str]:
515
- '''A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.'''
519
+ '''A list of IAM role ARNs.'''
516
520
  return typing.cast(typing.List[builtins.str], jsii.get(self, "roleArns"))
517
521
 
518
522
  @role_arns.setter
@@ -525,7 +529,7 @@ class CfnProfile(
525
529
  @builtins.property
526
530
  @jsii.member(jsii_name="durationSeconds")
527
531
  def duration_seconds(self) -> typing.Optional[jsii.Number]:
528
- '''The number of seconds vended session credentials will be valid for.'''
532
+ '''Sets the maximum number of seconds that vended temporary credentials through `CreateSession <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html>`_ will be valid for, between 900 and 3600.'''
529
533
  return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "durationSeconds"))
530
534
 
531
535
  @duration_seconds.setter
@@ -540,7 +544,7 @@ class CfnProfile(
540
544
  def enabled(
541
545
  self,
542
546
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
543
- '''The enabled status of the resource.'''
547
+ '''Indicates whether the profile is enabled.'''
544
548
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "enabled"))
545
549
 
546
550
  @enabled.setter
@@ -556,7 +560,7 @@ class CfnProfile(
556
560
  @builtins.property
557
561
  @jsii.member(jsii_name="managedPolicyArns")
558
562
  def managed_policy_arns(self) -> typing.Optional[typing.List[builtins.str]]:
559
- '''A list of managed policy ARNs.'''
563
+ '''A list of managed policy ARNs that apply to the vended session credentials.'''
560
564
  return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "managedPolicyArns"))
561
565
 
562
566
  @managed_policy_arns.setter
@@ -574,7 +578,7 @@ class CfnProfile(
574
578
  def require_instance_properties(
575
579
  self,
576
580
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
577
- '''Specifies whether instance properties are required in CreateSession requests with this profile.'''
581
+ '''Specifies whether instance properties are required in temporary credential requests with this profile.'''
578
582
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "requireInstanceProperties"))
579
583
 
580
584
  @require_instance_properties.setter
@@ -590,7 +594,7 @@ class CfnProfile(
590
594
  @builtins.property
591
595
  @jsii.member(jsii_name="sessionPolicy")
592
596
  def session_policy(self) -> typing.Optional[builtins.str]:
593
- '''A session policy that will applied to the trust boundary of the vended session credentials.'''
597
+ '''A session policy that applies to the trust boundary of the vended session credentials.'''
594
598
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sessionPolicy"))
595
599
 
596
600
  @session_policy.setter
@@ -603,7 +607,7 @@ class CfnProfile(
603
607
  @builtins.property
604
608
  @jsii.member(jsii_name="tagsRaw")
605
609
  def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
606
- '''A list of Tags.'''
610
+ '''The tags to attach to the profile.'''
607
611
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tagsRaw"))
608
612
 
609
613
  @tags_raw.setter
@@ -643,14 +647,14 @@ class CfnProfileProps:
643
647
  ) -> None:
644
648
  '''Properties for defining a ``CfnProfile``.
645
649
 
646
- :param name: The customer specified name of the resource.
647
- :param role_arns: A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
648
- :param duration_seconds: The number of seconds vended session credentials will be valid for.
649
- :param enabled: The enabled status of the resource.
650
- :param managed_policy_arns: A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
651
- :param require_instance_properties: Specifies whether instance properties are required in CreateSession requests with this profile.
652
- :param session_policy: A session policy that will applied to the trust boundary of the vended session credentials.
653
- :param tags: A list of Tags.
650
+ :param name: The name of the profile.
651
+ :param role_arns: A list of IAM role ARNs. During ``CreateSession`` , if a matching role ARN is provided, the properties in this profile will be applied to the intersection session policy.
652
+ :param duration_seconds: Sets the maximum number of seconds that vended temporary credentials through `CreateSession <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html>`_ will be valid for, between 900 and 3600.
653
+ :param enabled: Indicates whether the profile is enabled.
654
+ :param managed_policy_arns: A list of managed policy ARNs that apply to the vended session credentials.
655
+ :param require_instance_properties: Specifies whether instance properties are required in temporary credential requests with this profile.
656
+ :param session_policy: A session policy that applies to the trust boundary of the vended session credentials.
657
+ :param tags: The tags to attach to the profile.
654
658
 
655
659
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html
656
660
  :exampleMetadata: fixture=_generated
@@ -706,7 +710,7 @@ class CfnProfileProps:
706
710
 
707
711
  @builtins.property
708
712
  def name(self) -> builtins.str:
709
- '''The customer specified name of the resource.
713
+ '''The name of the profile.
710
714
 
711
715
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-name
712
716
  '''
@@ -716,7 +720,9 @@ class CfnProfileProps:
716
720
 
717
721
  @builtins.property
718
722
  def role_arns(self) -> typing.List[builtins.str]:
719
- '''A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
723
+ '''A list of IAM role ARNs.
724
+
725
+ During ``CreateSession`` , if a matching role ARN is provided, the properties in this profile will be applied to the intersection session policy.
720
726
 
721
727
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-rolearns
722
728
  '''
@@ -726,7 +732,7 @@ class CfnProfileProps:
726
732
 
727
733
  @builtins.property
728
734
  def duration_seconds(self) -> typing.Optional[jsii.Number]:
729
- '''The number of seconds vended session credentials will be valid for.
735
+ '''Sets the maximum number of seconds that vended temporary credentials through `CreateSession <https://docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html>`_ will be valid for, between 900 and 3600.
730
736
 
731
737
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-durationseconds
732
738
  '''
@@ -737,7 +743,7 @@ class CfnProfileProps:
737
743
  def enabled(
738
744
  self,
739
745
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
740
- '''The enabled status of the resource.
746
+ '''Indicates whether the profile is enabled.
741
747
 
742
748
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-enabled
743
749
  '''
@@ -746,9 +752,7 @@ class CfnProfileProps:
746
752
 
747
753
  @builtins.property
748
754
  def managed_policy_arns(self) -> typing.Optional[typing.List[builtins.str]]:
749
- '''A list of managed policy ARNs.
750
-
751
- Managed policies identified by this list will be applied to the vended session credentials.
755
+ '''A list of managed policy ARNs that apply to the vended session credentials.
752
756
 
753
757
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-managedpolicyarns
754
758
  '''
@@ -759,7 +763,7 @@ class CfnProfileProps:
759
763
  def require_instance_properties(
760
764
  self,
761
765
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
762
- '''Specifies whether instance properties are required in CreateSession requests with this profile.
766
+ '''Specifies whether instance properties are required in temporary credential requests with this profile.
763
767
 
764
768
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-requireinstanceproperties
765
769
  '''
@@ -768,7 +772,7 @@ class CfnProfileProps:
768
772
 
769
773
  @builtins.property
770
774
  def session_policy(self) -> typing.Optional[builtins.str]:
771
- '''A session policy that will applied to the trust boundary of the vended session credentials.
775
+ '''A session policy that applies to the trust boundary of the vended session credentials.
772
776
 
773
777
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-sessionpolicy
774
778
  '''
@@ -777,7 +781,7 @@ class CfnProfileProps:
777
781
 
778
782
  @builtins.property
779
783
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
780
- '''A list of Tags.
784
+ '''The tags to attach to the profile.
781
785
 
782
786
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-profile.html#cfn-rolesanywhere-profile-tags
783
787
  '''
@@ -802,7 +806,11 @@ class CfnTrustAnchor(
802
806
  metaclass=jsii.JSIIMeta,
803
807
  jsii_type="aws-cdk-lib.aws_rolesanywhere.CfnTrustAnchor",
804
808
  ):
805
- '''Creates a TrustAnchor.
809
+ '''Creates a trust anchor to establish trust between IAM Roles Anywhere and your certificate authority (CA).
810
+
811
+ 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.
812
+
813
+ *Required permissions:* ``rolesanywhere:CreateTrustAnchor`` .
806
814
 
807
815
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rolesanywhere-trustanchor.html
808
816
  :cloudformationResource: AWS::RolesAnywhere::TrustAnchor
@@ -1146,7 +1154,7 @@ class CfnTrustAnchor(
1146
1154
  acm_pca_arn: typing.Optional[builtins.str] = None,
1147
1155
  x509_certificate_data: typing.Optional[builtins.str] = None,
1148
1156
  ) -> None:
1149
- '''A union object representing the data field of the TrustAnchor depending on its type.
1157
+ '''The data field of the trust anchor depending on its type.
1150
1158
 
1151
1159
  :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.
1152
1160
  :param x509_certificate_data: The PEM-encoded data for the certificate anchor. Included for trust anchors of type ``CERTIFICATE_BUNDLE`` .
@@ -1223,10 +1231,10 @@ class CfnTrustAnchor(
1223
1231
  source_data: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnTrustAnchor.SourceDataProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1224
1232
  source_type: typing.Optional[builtins.str] = None,
1225
1233
  ) -> None:
1226
- '''Object representing the TrustAnchor type and its related certificate data.
1234
+ '''The trust anchor type and its related certificate data.
1227
1235
 
1228
- :param source_data: A union object representing the data field of the TrustAnchor depending on its type.
1229
- :param source_type: The type of the TrustAnchor.
1236
+ :param source_data: The data field of the trust anchor depending on its type.
1237
+ :param source_type: The type of the TrustAnchor. .. epigraph:: ``AWS_ACM_PCA`` is not an allowed value in your region.
1230
1238
 
1231
1239
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html
1232
1240
  :exampleMetadata: fixture=_generated
@@ -1259,7 +1267,7 @@ class CfnTrustAnchor(
1259
1267
  def source_data(
1260
1268
  self,
1261
1269
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTrustAnchor.SourceDataProperty"]]:
1262
- '''A union object representing the data field of the TrustAnchor depending on its type.
1270
+ '''The data field of the trust anchor depending on its type.
1263
1271
 
1264
1272
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html#cfn-rolesanywhere-trustanchor-source-sourcedata
1265
1273
  '''
@@ -1270,6 +1278,10 @@ class CfnTrustAnchor(
1270
1278
  def source_type(self) -> typing.Optional[builtins.str]:
1271
1279
  '''The type of the TrustAnchor.
1272
1280
 
1281
+ .. epigraph::
1282
+
1283
+ ``AWS_ACM_PCA`` is not an allowed value in your region.
1284
+
1273
1285
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rolesanywhere-trustanchor-source.html#cfn-rolesanywhere-trustanchor-source-sourcetype
1274
1286
  '''
1275
1287
  result = self._values.get("source_type")