aws-cdk-lib 2.133.0__py3-none-any.whl → 2.134.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 (56) hide show
  1. aws_cdk/__init__.py +9 -1
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.133.0.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +105 -3
  5. aws_cdk/aws_apigatewayv2_integrations/__init__.py +155 -3
  6. aws_cdk/aws_appconfig/__init__.py +186 -8
  7. aws_cdk/aws_appintegrations/__init__.py +551 -0
  8. aws_cdk/aws_appsync/__init__.py +71 -0
  9. aws_cdk/aws_autoscaling/__init__.py +6 -4
  10. aws_cdk/aws_backup/__init__.py +23 -12
  11. aws_cdk/aws_batch/__init__.py +423 -73
  12. aws_cdk/aws_bedrock/__init__.py +197 -2
  13. aws_cdk/aws_cloudformation/__init__.py +1 -1
  14. aws_cdk/aws_cloudfront/__init__.py +2 -2
  15. aws_cdk/aws_cloudtrail/__init__.py +44 -14
  16. aws_cdk/aws_cloudwatch/__init__.py +18 -0
  17. aws_cdk/aws_codeartifact/__init__.py +812 -2
  18. aws_cdk/aws_codebuild/__init__.py +21 -5
  19. aws_cdk/aws_codepipeline/__init__.py +24 -8
  20. aws_cdk/aws_cognito/__init__.py +41 -40
  21. aws_cdk/aws_connect/__init__.py +256 -0
  22. aws_cdk/aws_datasync/__init__.py +393 -13
  23. aws_cdk/aws_dlm/__init__.py +2 -2
  24. aws_cdk/aws_docdbelastic/__init__.py +117 -0
  25. aws_cdk/aws_dynamodb/__init__.py +416 -5
  26. aws_cdk/aws_ec2/__init__.py +493 -93
  27. aws_cdk/aws_ecs/__init__.py +6 -4
  28. aws_cdk/aws_eks/__init__.py +27 -25
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +359 -60
  30. aws_cdk/aws_entityresolution/__init__.py +91 -64
  31. aws_cdk/aws_glue/__init__.py +137 -3
  32. aws_cdk/aws_iam/__init__.py +9 -10
  33. aws_cdk/aws_internetmonitor/__init__.py +85 -0
  34. aws_cdk/aws_iotsitewise/__init__.py +110 -50
  35. aws_cdk/aws_kafkaconnect/__init__.py +1237 -162
  36. aws_cdk/aws_kendra/__init__.py +34 -24
  37. aws_cdk/aws_kinesisanalytics/__init__.py +37 -37
  38. aws_cdk/aws_kinesisanalyticsv2/__init__.py +37 -37
  39. aws_cdk/aws_kinesisfirehose/__init__.py +6 -2
  40. aws_cdk/aws_msk/__init__.py +88 -0
  41. aws_cdk/aws_opensearchservice/__init__.py +19 -17
  42. aws_cdk/aws_pinpoint/__init__.py +42 -0
  43. aws_cdk/aws_rds/__init__.py +48 -14
  44. aws_cdk/aws_sagemaker/__init__.py +2 -2
  45. aws_cdk/aws_ssm/__init__.py +3 -3
  46. aws_cdk/aws_stepfunctions_tasks/__init__.py +23 -0
  47. aws_cdk/aws_synthetics/__init__.py +74 -14
  48. aws_cdk/aws_transfer/__init__.py +4 -3
  49. aws_cdk/aws_wafv2/__init__.py +96 -46
  50. aws_cdk/cx_api/__init__.py +17 -0
  51. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
  52. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +56 -56
  53. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
  54. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
  55. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
  56. {aws_cdk_lib-2.133.0.dist-info → aws_cdk_lib-2.134.0.dist-info}/top_level.txt +0 -0
@@ -5338,7 +5338,7 @@ class CfnProject(
5338
5338
  The Webhook feature isn't available in AWS CloudFormation for GitHub Enterprise projects. Use the AWS CLI or AWS CodeBuild console to create the webhook.
5339
5339
 
5340
5340
  :param pattern: For a ``WebHookFilter`` that uses ``EVENT`` type, a comma-separated string that specifies one or more events. For example, the webhook filter ``PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED`` allows all push, pull request created, and pull request updated events to trigger a build. For a ``WebHookFilter`` that uses any of the other filter types, a regular expression pattern. For example, a ``WebHookFilter`` that uses ``HEAD_REF`` for its ``type`` and the pattern ``^refs/heads/`` triggers a build when the head reference is a branch with a reference name ``refs/heads/branch-name`` .
5341
- :param type: The type of webhook filter. There are six webhook filter types: ``EVENT`` , ``ACTOR_ACCOUNT_ID`` , ``HEAD_REF`` , ``BASE_REF`` , ``FILE_PATH`` , and ``COMMIT_MESSAGE`` . - EVENT - A webhook event triggers a build when the provided ``pattern`` matches one of six event types: ``PUSH`` , ``PULL_REQUEST_CREATED`` , ``PULL_REQUEST_UPDATED`` , ``PULL_REQUEST_CLOSED`` , ``PULL_REQUEST_REOPENED`` , and ``PULL_REQUEST_MERGED`` . The ``EVENT`` patterns are specified as a comma-separated string. For example, ``PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED`` filters all push, pull request created, and pull request updated events. .. epigraph:: The ``PULL_REQUEST_REOPENED`` works with GitHub and GitHub Enterprise only. - ACTOR_ACCOUNT_ID - A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression ``pattern`` . - HEAD_REF - A webhook event triggers a build when the head reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` and ``refs/tags/tag-name`` . Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events. - BASE_REF - A webhook event triggers a build when the base reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` . .. epigraph:: Works with pull request events only. - FILE_PATH - A webhook triggers a build when the path of a changed file matches the regular expression ``pattern`` . .. epigraph:: Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. - COMMIT_MESSAGE - A webhook triggers a build when the head commit message matches the regular expression ``pattern`` . .. epigraph:: Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.
5341
+ :param type: The type of webhook filter. There are eight webhook filter types: ``EVENT`` , ``ACTOR_ACCOUNT_ID`` , ``HEAD_REF`` , ``BASE_REF`` , ``FILE_PATH`` , ``COMMIT_MESSAGE`` , ``TAG_NAME`` , and ``RELEASE_NAME`` . - EVENT - A webhook event triggers a build when the provided ``pattern`` matches one of eight event types: ``PUSH`` , ``PULL_REQUEST_CREATED`` , ``PULL_REQUEST_UPDATED`` , ``PULL_REQUEST_CLOSED`` , ``PULL_REQUEST_REOPENED`` , ``PULL_REQUEST_MERGED`` , ``RELEASED`` , and ``PRERELEASED`` . The ``EVENT`` patterns are specified as a comma-separated string. For example, ``PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED`` filters all push, pull request created, and pull request updated events. .. epigraph:: The ``PULL_REQUEST_REOPENED`` works with GitHub and GitHub Enterprise only. The ``RELEASED`` and ``PRERELEASED`` work with GitHub only. - ACTOR_ACCOUNT_ID - A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression ``pattern`` . - HEAD_REF - A webhook event triggers a build when the head reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` and ``refs/tags/tag-name`` . .. epigraph:: Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events. - BASE_REF - A webhook event triggers a build when the base reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` . .. epigraph:: Works with pull request events only. - FILE_PATH - A webhook triggers a build when the path of a changed file matches the regular expression ``pattern`` . .. epigraph:: Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. - COMMIT_MESSAGE - A webhook triggers a build when the head commit message matches the regular expression ``pattern`` . .. epigraph:: Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. - TAG_NAME - A webhook triggers a build when the tag name of the release matches the regular expression ``pattern`` . .. epigraph:: Works with ``RELEASED`` and ``PRERELEASED`` events only. - RELEASE_NAME - A webhook triggers a build when the release name matches the regular expression ``pattern`` . .. epigraph:: Works with ``RELEASED`` and ``PRERELEASED`` events only.
5342
5342
  :param exclude_matched_pattern: Used to indicate that the ``pattern`` determines which webhook events do not trigger a build. If true, then a webhook event that does not match the ``pattern`` triggers a build. If false, then a webhook event that matches the ``pattern`` triggers a build.
5343
5343
 
5344
5344
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html
@@ -5388,21 +5388,23 @@ class CfnProject(
5388
5388
  def type(self) -> builtins.str:
5389
5389
  '''The type of webhook filter.
5390
5390
 
5391
- There are six webhook filter types: ``EVENT`` , ``ACTOR_ACCOUNT_ID`` , ``HEAD_REF`` , ``BASE_REF`` , ``FILE_PATH`` , and ``COMMIT_MESSAGE`` .
5391
+ There are eight webhook filter types: ``EVENT`` , ``ACTOR_ACCOUNT_ID`` , ``HEAD_REF`` , ``BASE_REF`` , ``FILE_PATH`` , ``COMMIT_MESSAGE`` , ``TAG_NAME`` , and ``RELEASE_NAME`` .
5392
5392
 
5393
5393
  - EVENT
5394
- - A webhook event triggers a build when the provided ``pattern`` matches one of six event types: ``PUSH`` , ``PULL_REQUEST_CREATED`` , ``PULL_REQUEST_UPDATED`` , ``PULL_REQUEST_CLOSED`` , ``PULL_REQUEST_REOPENED`` , and ``PULL_REQUEST_MERGED`` . The ``EVENT`` patterns are specified as a comma-separated string. For example, ``PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED`` filters all push, pull request created, and pull request updated events.
5394
+ - A webhook event triggers a build when the provided ``pattern`` matches one of eight event types: ``PUSH`` , ``PULL_REQUEST_CREATED`` , ``PULL_REQUEST_UPDATED`` , ``PULL_REQUEST_CLOSED`` , ``PULL_REQUEST_REOPENED`` , ``PULL_REQUEST_MERGED`` , ``RELEASED`` , and ``PRERELEASED`` . The ``EVENT`` patterns are specified as a comma-separated string. For example, ``PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED`` filters all push, pull request created, and pull request updated events.
5395
5395
 
5396
5396
  .. epigraph::
5397
5397
 
5398
- The ``PULL_REQUEST_REOPENED`` works with GitHub and GitHub Enterprise only.
5398
+ The ``PULL_REQUEST_REOPENED`` works with GitHub and GitHub Enterprise only. The ``RELEASED`` and ``PRERELEASED`` work with GitHub only.
5399
5399
 
5400
5400
  - ACTOR_ACCOUNT_ID
5401
5401
  - A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression ``pattern`` .
5402
5402
  - HEAD_REF
5403
5403
  - A webhook event triggers a build when the head reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` and ``refs/tags/tag-name`` .
5404
5404
 
5405
- Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events.
5405
+ .. epigraph::
5406
+
5407
+ Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events.
5406
5408
 
5407
5409
  - BASE_REF
5408
5410
  - A webhook event triggers a build when the base reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` .
@@ -5425,6 +5427,20 @@ class CfnProject(
5425
5427
 
5426
5428
  Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events.
5427
5429
 
5430
+ - TAG_NAME
5431
+ - A webhook triggers a build when the tag name of the release matches the regular expression ``pattern`` .
5432
+
5433
+ .. epigraph::
5434
+
5435
+ Works with ``RELEASED`` and ``PRERELEASED`` events only.
5436
+
5437
+ - RELEASE_NAME
5438
+ - A webhook triggers a build when the release name matches the regular expression ``pattern`` .
5439
+
5440
+ .. epigraph::
5441
+
5442
+ Works with ``RELEASED`` and ``PRERELEASED`` events only.
5443
+
5428
5444
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html#cfn-codebuild-project-webhookfilter-type
5429
5445
  '''
5430
5446
  result = self._values.get("type")
@@ -2358,7 +2358,8 @@ class CfnPipeline(
2358
2358
  )],
2359
2359
  region="region",
2360
2360
  role_arn="roleArn",
2361
- run_order=123
2361
+ run_order=123,
2362
+ timeout_in_minutes=123
2362
2363
  )],
2363
2364
  name="name",
2364
2365
 
@@ -2771,6 +2772,7 @@ class CfnPipeline(
2771
2772
  "region": "region",
2772
2773
  "role_arn": "roleArn",
2773
2774
  "run_order": "runOrder",
2775
+ "timeout_in_minutes": "timeoutInMinutes",
2774
2776
  },
2775
2777
  )
2776
2778
  class ActionDeclarationProperty:
@@ -2786,13 +2788,10 @@ class CfnPipeline(
2786
2788
  region: typing.Optional[builtins.str] = None,
2787
2789
  role_arn: typing.Optional[builtins.str] = None,
2788
2790
  run_order: typing.Optional[jsii.Number] = None,
2791
+ timeout_in_minutes: typing.Optional[jsii.Number] = None,
2789
2792
  ) -> None:
2790
2793
  '''Represents information about an action declaration.
2791
2794
 
2792
- .. epigraph::
2793
-
2794
- Documentation for the ``timeoutInMinutes`` parameter in the ``ActionDeclaration`` is not yet available for CloudFormation and CDK resources in CodePipeline. For more information about the configurable timeout for manual approval actions, see the `ActionDeclaration <https://docs.aws.amazon.com/codepipeline/latest/APIReference/API_ActionDeclaration.html>`_ in the CodePipeline API Reference.
2795
-
2796
2795
  :param action_type_id: Specifies the action type and the provider of the action.
2797
2796
  :param name: The action declaration's name.
2798
2797
  :param configuration: The action's configuration. These are key-value pairs that specify input values for an action. For more information, see `Action Structure Requirements in CodePipeline <https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#action-requirements>`_ . For the list of configuration properties for the AWS CloudFormation action type in CodePipeline, see `Configuration Properties Reference <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-action-reference.html>`_ in the *AWS CloudFormation User Guide* . For template snippets with examples, see `Using Parameter Override Functions with CodePipeline Pipelines <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-parameter-override-functions.html>`_ in the *AWS CloudFormation User Guide* . The values can be represented in either JSON or YAML format. For example, the JSON configuration item format is as follows: *JSON:* ``"Configuration" : { Key : Value },``
@@ -2802,6 +2801,7 @@ class CfnPipeline(
2802
2801
  :param region: The action declaration's AWS Region, such as us-east-1.
2803
2802
  :param role_arn: The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.
2804
2803
  :param run_order: The order in which actions are run.
2804
+ :param timeout_in_minutes: A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in `Quotas for AWS CodePipeline <https://docs.aws.amazon.com/codepipeline/latest/userguide/limits.html>`_ . This attribute is available only to the manual approval ActionType.
2805
2805
 
2806
2806
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html
2807
2807
  :exampleMetadata: fixture=_generated
@@ -2834,7 +2834,8 @@ class CfnPipeline(
2834
2834
  )],
2835
2835
  region="region",
2836
2836
  role_arn="roleArn",
2837
- run_order=123
2837
+ run_order=123,
2838
+ timeout_in_minutes=123
2838
2839
  )
2839
2840
  '''
2840
2841
  if __debug__:
@@ -2848,6 +2849,7 @@ class CfnPipeline(
2848
2849
  check_type(argname="argument region", value=region, expected_type=type_hints["region"])
2849
2850
  check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
2850
2851
  check_type(argname="argument run_order", value=run_order, expected_type=type_hints["run_order"])
2852
+ check_type(argname="argument timeout_in_minutes", value=timeout_in_minutes, expected_type=type_hints["timeout_in_minutes"])
2851
2853
  self._values: typing.Dict[builtins.str, typing.Any] = {
2852
2854
  "action_type_id": action_type_id,
2853
2855
  "name": name,
@@ -2866,6 +2868,8 @@ class CfnPipeline(
2866
2868
  self._values["role_arn"] = role_arn
2867
2869
  if run_order is not None:
2868
2870
  self._values["run_order"] = run_order
2871
+ if timeout_in_minutes is not None:
2872
+ self._values["timeout_in_minutes"] = timeout_in_minutes
2869
2873
 
2870
2874
  @builtins.property
2871
2875
  def action_type_id(
@@ -2975,6 +2979,15 @@ class CfnPipeline(
2975
2979
  result = self._values.get("run_order")
2976
2980
  return typing.cast(typing.Optional[jsii.Number], result)
2977
2981
 
2982
+ @builtins.property
2983
+ def timeout_in_minutes(self) -> typing.Optional[jsii.Number]:
2984
+ '''A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in `Quotas for AWS CodePipeline <https://docs.aws.amazon.com/codepipeline/latest/userguide/limits.html>`_ . This attribute is available only to the manual approval ActionType.
2985
+
2986
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-timeoutinminutes
2987
+ '''
2988
+ result = self._values.get("timeout_in_minutes")
2989
+ return typing.cast(typing.Optional[jsii.Number], result)
2990
+
2978
2991
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
2979
2992
  return isinstance(rhs, self.__class__) and rhs._values == self._values
2980
2993
 
@@ -4257,7 +4270,8 @@ class CfnPipeline(
4257
4270
  )],
4258
4271
  region="region",
4259
4272
  role_arn="roleArn",
4260
- run_order=123
4273
+ run_order=123,
4274
+ timeout_in_minutes=123
4261
4275
  )],
4262
4276
  name="name",
4263
4277
 
@@ -4571,7 +4585,8 @@ class CfnPipelineProps:
4571
4585
  )],
4572
4586
  region="region",
4573
4587
  role_arn="roleArn",
4574
- run_order=123
4588
+ run_order=123,
4589
+ timeout_in_minutes=123
4575
4590
  )],
4576
4591
  name="name",
4577
4592
 
@@ -9401,6 +9416,7 @@ def _typecheckingstub__490d89c9ac665593d791c6e187fcf0e47ca3ec8684f1c7a502e1711bc
9401
9416
  region: typing.Optional[builtins.str] = None,
9402
9417
  role_arn: typing.Optional[builtins.str] = None,
9403
9418
  run_order: typing.Optional[jsii.Number] = None,
9419
+ timeout_in_minutes: typing.Optional[jsii.Number] = None,
9404
9420
  ) -> None:
9405
9421
  """Type checking stubs"""
9406
9422
  pass
@@ -8350,7 +8350,7 @@ class CfnUserPoolIdentityProvider(
8350
8350
  :param user_pool_id: The user pool ID.
8351
8351
  :param attribute_mapping: A mapping of IdP attributes to standard and custom user pool attributes.
8352
8352
  :param idp_identifiers: A list of IdP identifiers.
8353
- :param provider_details: The IdP details. The following list describes the provider detail keys for each IdP type. - For Google and Login with Amazon: - client_id - client_secret - authorize_scopes - For Facebook: - client_id - client_secret - authorize_scopes - api_version - For Sign in with Apple: - client_id - team_id - key_id - private_key - authorize_scopes - For OpenID Connect (OIDC) providers: - client_id - client_secret - attributes_request_method - oidc_issuer - authorize_scopes - The following keys are only present if Amazon Cognito didn't discover them at the ``oidc_issuer`` URL. - authorize_url - token_url - attributes_url - jwks_uri - Amazon Cognito sets the value of the following keys automatically. They are read-only. - attributes_url_add_attributes - For SAML providers: - MetadataFile or MetadataURL - IDPSignout *optional*
8353
+ :param provider_details: The scopes, URLs, and identifiers for your external identity provider. The following examples describe the provider detail keys for each IdP type. These values and their schema are subject to change. Social IdP ``authorize_scopes`` values must match the values listed here. - **OpenID Connect (OIDC)** - Amazon Cognito accepts the following elements when it can't discover endpoint URLs from ``oidc_issuer`` : ``attributes_url`` , ``authorize_url`` , ``jwks_uri`` , ``token_url`` . Create or update request: ``"ProviderDetails": { "attributes_request_method": "GET", "attributes_url": "https://auth.example.com/userInfo", "authorize_scopes": "openid profile email", "authorize_url": "https://auth.example.com/authorize", "client_id": "1example23456789", "client_secret": "provider-app-client-secret", "jwks_uri": "https://auth.example.com/.well-known/jwks.json", "oidc_issuer": "https://auth.example.com", "token_url": "https://example.com/token" }`` Describe response: ``"ProviderDetails": { "attributes_request_method": "GET", "attributes_url": "https://auth.example.com/userInfo", "attributes_url_add_attributes": "false", "authorize_scopes": "openid profile email", "authorize_url": "https://auth.example.com/authorize", "client_id": "1example23456789", "client_secret": "provider-app-client-secret", "jwks_uri": "https://auth.example.com/.well-known/jwks.json", "oidc_issuer": "https://auth.example.com", "token_url": "https://example.com/token" }`` - **SAML** - Create or update request with Metadata URL: ``"ProviderDetails": { "IDPInit": "true", "IDPSignout": "true", "EncryptedResponses" : "true", "MetadataURL": "https://auth.example.com/sso/saml/metadata", "RequestSigningAlgorithm": "rsa-sha256" }`` Create or update request with Metadata file: ``"ProviderDetails": { "IDPInit": "true", "IDPSignout": "true", "EncryptedResponses" : "true", "MetadataFile": "[metadata XML]", "RequestSigningAlgorithm": "rsa-sha256" }`` The value of ``MetadataFile`` must be the plaintext metadata document with all quote (") characters escaped by backslashes. Describe response: ``"ProviderDetails": { "IDPInit": "true", "IDPSignout": "true", "EncryptedResponses" : "true", "ActiveEncryptionCertificate": "[certificate]", "MetadataURL": "https://auth.example.com/sso/saml/metadata", "RequestSigningAlgorithm": "rsa-sha256", "SLORedirectBindingURI": "https://auth.example.com/slo/saml", "SSORedirectBindingURI": "https://auth.example.com/sso/saml" }`` - **LoginWithAmazon** - Create or update request: ``"ProviderDetails": { "authorize_scopes": "profile postal_code", "client_id": "amzn1.application-oa2-client.1example23456789", "client_secret": "provider-app-client-secret"`` Describe response: ``"ProviderDetails": { "attributes_url": "https://api.amazon.com/user/profile", "attributes_url_add_attributes": "false", "authorize_scopes": "profile postal_code", "authorize_url": "https://www.amazon.com/ap/oa", "client_id": "amzn1.application-oa2-client.1example23456789", "client_secret": "provider-app-client-secret", "token_request_method": "POST", "token_url": "https://api.amazon.com/auth/o2/token" }`` - **Google** - Create or update request: ``"ProviderDetails": { "authorize_scopes": "email profile openid", "client_id": "1example23456789.apps.googleusercontent.com", "client_secret": "provider-app-client-secret" }`` Describe response: ``"ProviderDetails": { "attributes_url": "https://people.googleapis.com/v1/people/me?personFields=", "attributes_url_add_attributes": "true", "authorize_scopes": "email profile openid", "authorize_url": "https://accounts.google.com/o/oauth2/v2/auth", "client_id": "1example23456789.apps.googleusercontent.com", "client_secret": "provider-app-client-secret", "oidc_issuer": "https://accounts.google.com", "token_request_method": "POST", "token_url": "https://www.googleapis.com/oauth2/v4/token" }`` - **SignInWithApple** - Create or update request: ``"ProviderDetails": { "authorize_scopes": "email name", "client_id": "com.example.cognito", "private_key": "1EXAMPLE", "key_id": "2EXAMPLE", "team_id": "3EXAMPLE" }`` Describe response: ``"ProviderDetails": { "attributes_url_add_attributes": "false", "authorize_scopes": "email name", "authorize_url": "https://appleid.apple.com/auth/authorize", "client_id": "com.example.cognito", "key_id": "1EXAMPLE", "oidc_issuer": "https://appleid.apple.com", "team_id": "2EXAMPLE", "token_request_method": "POST", "token_url": "https://appleid.apple.com/auth/token" }`` - **Facebook** - Create or update request: ``"ProviderDetails": { "api_version": "v17.0", "authorize_scopes": "public_profile, email", "client_id": "1example23456789", "client_secret": "provider-app-client-secret" }`` Describe response: ``"ProviderDetails": { "api_version": "v17.0", "attributes_url": "https://graph.facebook.com/v17.0/me?fields=", "attributes_url_add_attributes": "true", "authorize_scopes": "public_profile, email", "authorize_url": "https://www.facebook.com/v17.0/dialog/oauth", "client_id": "1example23456789", "client_secret": "provider-app-client-secret", "token_request_method": "GET", "token_url": "https://graph.facebook.com/v17.0/oauth/access_token" }``
8354
8354
  '''
8355
8355
  if __debug__:
8356
8356
  type_hints = typing.get_type_hints(_typecheckingstub__759e90505ceb64aa7002be11d4da4a87090102263927799f662a83f606483634)
@@ -8482,10 +8482,7 @@ class CfnUserPoolIdentityProvider(
8482
8482
  @builtins.property
8483
8483
  @jsii.member(jsii_name="providerDetails")
8484
8484
  def provider_details(self) -> typing.Any:
8485
- '''The IdP details.
8486
-
8487
- The following list describes the provider detail keys for each IdP type.
8488
- '''
8485
+ '''The scopes, URLs, and identifiers for your external identity provider.'''
8489
8486
  return typing.cast(typing.Any, jsii.get(self, "providerDetails"))
8490
8487
 
8491
8488
  @provider_details.setter
@@ -8526,7 +8523,7 @@ class CfnUserPoolIdentityProviderProps:
8526
8523
  :param user_pool_id: The user pool ID.
8527
8524
  :param attribute_mapping: A mapping of IdP attributes to standard and custom user pool attributes.
8528
8525
  :param idp_identifiers: A list of IdP identifiers.
8529
- :param provider_details: The IdP details. The following list describes the provider detail keys for each IdP type. - For Google and Login with Amazon: - client_id - client_secret - authorize_scopes - For Facebook: - client_id - client_secret - authorize_scopes - api_version - For Sign in with Apple: - client_id - team_id - key_id - private_key - authorize_scopes - For OpenID Connect (OIDC) providers: - client_id - client_secret - attributes_request_method - oidc_issuer - authorize_scopes - The following keys are only present if Amazon Cognito didn't discover them at the ``oidc_issuer`` URL. - authorize_url - token_url - attributes_url - jwks_uri - Amazon Cognito sets the value of the following keys automatically. They are read-only. - attributes_url_add_attributes - For SAML providers: - MetadataFile or MetadataURL - IDPSignout *optional*
8526
+ :param provider_details: The scopes, URLs, and identifiers for your external identity provider. The following examples describe the provider detail keys for each IdP type. These values and their schema are subject to change. Social IdP ``authorize_scopes`` values must match the values listed here. - **OpenID Connect (OIDC)** - Amazon Cognito accepts the following elements when it can't discover endpoint URLs from ``oidc_issuer`` : ``attributes_url`` , ``authorize_url`` , ``jwks_uri`` , ``token_url`` . Create or update request: ``"ProviderDetails": { "attributes_request_method": "GET", "attributes_url": "https://auth.example.com/userInfo", "authorize_scopes": "openid profile email", "authorize_url": "https://auth.example.com/authorize", "client_id": "1example23456789", "client_secret": "provider-app-client-secret", "jwks_uri": "https://auth.example.com/.well-known/jwks.json", "oidc_issuer": "https://auth.example.com", "token_url": "https://example.com/token" }`` Describe response: ``"ProviderDetails": { "attributes_request_method": "GET", "attributes_url": "https://auth.example.com/userInfo", "attributes_url_add_attributes": "false", "authorize_scopes": "openid profile email", "authorize_url": "https://auth.example.com/authorize", "client_id": "1example23456789", "client_secret": "provider-app-client-secret", "jwks_uri": "https://auth.example.com/.well-known/jwks.json", "oidc_issuer": "https://auth.example.com", "token_url": "https://example.com/token" }`` - **SAML** - Create or update request with Metadata URL: ``"ProviderDetails": { "IDPInit": "true", "IDPSignout": "true", "EncryptedResponses" : "true", "MetadataURL": "https://auth.example.com/sso/saml/metadata", "RequestSigningAlgorithm": "rsa-sha256" }`` Create or update request with Metadata file: ``"ProviderDetails": { "IDPInit": "true", "IDPSignout": "true", "EncryptedResponses" : "true", "MetadataFile": "[metadata XML]", "RequestSigningAlgorithm": "rsa-sha256" }`` The value of ``MetadataFile`` must be the plaintext metadata document with all quote (") characters escaped by backslashes. Describe response: ``"ProviderDetails": { "IDPInit": "true", "IDPSignout": "true", "EncryptedResponses" : "true", "ActiveEncryptionCertificate": "[certificate]", "MetadataURL": "https://auth.example.com/sso/saml/metadata", "RequestSigningAlgorithm": "rsa-sha256", "SLORedirectBindingURI": "https://auth.example.com/slo/saml", "SSORedirectBindingURI": "https://auth.example.com/sso/saml" }`` - **LoginWithAmazon** - Create or update request: ``"ProviderDetails": { "authorize_scopes": "profile postal_code", "client_id": "amzn1.application-oa2-client.1example23456789", "client_secret": "provider-app-client-secret"`` Describe response: ``"ProviderDetails": { "attributes_url": "https://api.amazon.com/user/profile", "attributes_url_add_attributes": "false", "authorize_scopes": "profile postal_code", "authorize_url": "https://www.amazon.com/ap/oa", "client_id": "amzn1.application-oa2-client.1example23456789", "client_secret": "provider-app-client-secret", "token_request_method": "POST", "token_url": "https://api.amazon.com/auth/o2/token" }`` - **Google** - Create or update request: ``"ProviderDetails": { "authorize_scopes": "email profile openid", "client_id": "1example23456789.apps.googleusercontent.com", "client_secret": "provider-app-client-secret" }`` Describe response: ``"ProviderDetails": { "attributes_url": "https://people.googleapis.com/v1/people/me?personFields=", "attributes_url_add_attributes": "true", "authorize_scopes": "email profile openid", "authorize_url": "https://accounts.google.com/o/oauth2/v2/auth", "client_id": "1example23456789.apps.googleusercontent.com", "client_secret": "provider-app-client-secret", "oidc_issuer": "https://accounts.google.com", "token_request_method": "POST", "token_url": "https://www.googleapis.com/oauth2/v4/token" }`` - **SignInWithApple** - Create or update request: ``"ProviderDetails": { "authorize_scopes": "email name", "client_id": "com.example.cognito", "private_key": "1EXAMPLE", "key_id": "2EXAMPLE", "team_id": "3EXAMPLE" }`` Describe response: ``"ProviderDetails": { "attributes_url_add_attributes": "false", "authorize_scopes": "email name", "authorize_url": "https://appleid.apple.com/auth/authorize", "client_id": "com.example.cognito", "key_id": "1EXAMPLE", "oidc_issuer": "https://appleid.apple.com", "team_id": "2EXAMPLE", "token_request_method": "POST", "token_url": "https://appleid.apple.com/auth/token" }`` - **Facebook** - Create or update request: ``"ProviderDetails": { "api_version": "v17.0", "authorize_scopes": "public_profile, email", "client_id": "1example23456789", "client_secret": "provider-app-client-secret" }`` Describe response: ``"ProviderDetails": { "api_version": "v17.0", "attributes_url": "https://graph.facebook.com/v17.0/me?fields=", "attributes_url_add_attributes": "true", "authorize_scopes": "public_profile, email", "authorize_url": "https://www.facebook.com/v17.0/dialog/oauth", "client_id": "1example23456789", "client_secret": "provider-app-client-secret", "token_request_method": "GET", "token_url": "https://graph.facebook.com/v17.0/oauth/access_token" }``
8530
8527
 
8531
8528
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolidentityprovider.html
8532
8529
  :exampleMetadata: fixture=_generated
@@ -8621,39 +8618,42 @@ class CfnUserPoolIdentityProviderProps:
8621
8618
 
8622
8619
  @builtins.property
8623
8620
  def provider_details(self) -> typing.Any:
8624
- '''The IdP details. The following list describes the provider detail keys for each IdP type.
8625
-
8626
- - For Google and Login with Amazon:
8627
- - client_id
8628
- - client_secret
8629
- - authorize_scopes
8630
- - For Facebook:
8631
- - client_id
8632
- - client_secret
8633
- - authorize_scopes
8634
- - api_version
8635
- - For Sign in with Apple:
8636
- - client_id
8637
- - team_id
8638
- - key_id
8639
- - private_key
8640
- - authorize_scopes
8641
- - For OpenID Connect (OIDC) providers:
8642
- - client_id
8643
- - client_secret
8644
- - attributes_request_method
8645
- - oidc_issuer
8646
- - authorize_scopes
8647
- - The following keys are only present if Amazon Cognito didn't discover them at the ``oidc_issuer`` URL.
8648
- - authorize_url
8649
- - token_url
8650
- - attributes_url
8651
- - jwks_uri
8652
- - Amazon Cognito sets the value of the following keys automatically. They are read-only.
8653
- - attributes_url_add_attributes
8654
- - For SAML providers:
8655
- - MetadataFile or MetadataURL
8656
- - IDPSignout *optional*
8621
+ '''The scopes, URLs, and identifiers for your external identity provider.
8622
+
8623
+ The following
8624
+ examples describe the provider detail keys for each IdP type. These values and their
8625
+ schema are subject to change. Social IdP ``authorize_scopes`` values must match
8626
+ the values listed here.
8627
+
8628
+ - **OpenID Connect (OIDC)** - Amazon Cognito accepts the following elements when it can't discover endpoint URLs from ``oidc_issuer`` : ``attributes_url`` , ``authorize_url`` , ``jwks_uri`` , ``token_url`` .
8629
+
8630
+ Create or update request: ``"ProviderDetails": { "attributes_request_method": "GET", "attributes_url": "https://auth.example.com/userInfo", "authorize_scopes": "openid profile email", "authorize_url": "https://auth.example.com/authorize", "client_id": "1example23456789", "client_secret": "provider-app-client-secret", "jwks_uri": "https://auth.example.com/.well-known/jwks.json", "oidc_issuer": "https://auth.example.com", "token_url": "https://example.com/token" }``
8631
+
8632
+ Describe response: ``"ProviderDetails": { "attributes_request_method": "GET", "attributes_url": "https://auth.example.com/userInfo", "attributes_url_add_attributes": "false", "authorize_scopes": "openid profile email", "authorize_url": "https://auth.example.com/authorize", "client_id": "1example23456789", "client_secret": "provider-app-client-secret", "jwks_uri": "https://auth.example.com/.well-known/jwks.json", "oidc_issuer": "https://auth.example.com", "token_url": "https://example.com/token" }``
8633
+
8634
+ - **SAML** - Create or update request with Metadata URL: ``"ProviderDetails": { "IDPInit": "true", "IDPSignout": "true", "EncryptedResponses" : "true", "MetadataURL": "https://auth.example.com/sso/saml/metadata", "RequestSigningAlgorithm": "rsa-sha256" }``
8635
+
8636
+ Create or update request with Metadata file: ``"ProviderDetails": { "IDPInit": "true", "IDPSignout": "true", "EncryptedResponses" : "true", "MetadataFile": "[metadata XML]", "RequestSigningAlgorithm": "rsa-sha256" }``
8637
+
8638
+ The value of ``MetadataFile`` must be the plaintext metadata document with all quote (") characters escaped by backslashes.
8639
+
8640
+ Describe response: ``"ProviderDetails": { "IDPInit": "true", "IDPSignout": "true", "EncryptedResponses" : "true", "ActiveEncryptionCertificate": "[certificate]", "MetadataURL": "https://auth.example.com/sso/saml/metadata", "RequestSigningAlgorithm": "rsa-sha256", "SLORedirectBindingURI": "https://auth.example.com/slo/saml", "SSORedirectBindingURI": "https://auth.example.com/sso/saml" }``
8641
+
8642
+ - **LoginWithAmazon** - Create or update request: ``"ProviderDetails": { "authorize_scopes": "profile postal_code", "client_id": "amzn1.application-oa2-client.1example23456789", "client_secret": "provider-app-client-secret"``
8643
+
8644
+ Describe response: ``"ProviderDetails": { "attributes_url": "https://api.amazon.com/user/profile", "attributes_url_add_attributes": "false", "authorize_scopes": "profile postal_code", "authorize_url": "https://www.amazon.com/ap/oa", "client_id": "amzn1.application-oa2-client.1example23456789", "client_secret": "provider-app-client-secret", "token_request_method": "POST", "token_url": "https://api.amazon.com/auth/o2/token" }``
8645
+
8646
+ - **Google** - Create or update request: ``"ProviderDetails": { "authorize_scopes": "email profile openid", "client_id": "1example23456789.apps.googleusercontent.com", "client_secret": "provider-app-client-secret" }``
8647
+
8648
+ Describe response: ``"ProviderDetails": { "attributes_url": "https://people.googleapis.com/v1/people/me?personFields=", "attributes_url_add_attributes": "true", "authorize_scopes": "email profile openid", "authorize_url": "https://accounts.google.com/o/oauth2/v2/auth", "client_id": "1example23456789.apps.googleusercontent.com", "client_secret": "provider-app-client-secret", "oidc_issuer": "https://accounts.google.com", "token_request_method": "POST", "token_url": "https://www.googleapis.com/oauth2/v4/token" }``
8649
+
8650
+ - **SignInWithApple** - Create or update request: ``"ProviderDetails": { "authorize_scopes": "email name", "client_id": "com.example.cognito", "private_key": "1EXAMPLE", "key_id": "2EXAMPLE", "team_id": "3EXAMPLE" }``
8651
+
8652
+ Describe response: ``"ProviderDetails": { "attributes_url_add_attributes": "false", "authorize_scopes": "email name", "authorize_url": "https://appleid.apple.com/auth/authorize", "client_id": "com.example.cognito", "key_id": "1EXAMPLE", "oidc_issuer": "https://appleid.apple.com", "team_id": "2EXAMPLE", "token_request_method": "POST", "token_url": "https://appleid.apple.com/auth/token" }``
8653
+
8654
+ - **Facebook** - Create or update request: ``"ProviderDetails": { "api_version": "v17.0", "authorize_scopes": "public_profile, email", "client_id": "1example23456789", "client_secret": "provider-app-client-secret" }``
8655
+
8656
+ Describe response: ``"ProviderDetails": { "api_version": "v17.0", "attributes_url": "https://graph.facebook.com/v17.0/me?fields=", "attributes_url_add_attributes": "true", "authorize_scopes": "public_profile, email", "authorize_url": "https://www.facebook.com/v17.0/dialog/oauth", "client_id": "1example23456789", "client_secret": "provider-app-client-secret", "token_request_method": "GET", "token_url": "https://graph.facebook.com/v17.0/oauth/access_token" }``
8657
8657
 
8658
8658
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolidentityprovider.html#cfn-cognito-userpoolidentityprovider-providerdetails
8659
8659
  '''
@@ -9010,7 +9010,8 @@ class CfnUserPoolProps:
9010
9010
  def deletion_protection(self) -> typing.Optional[builtins.str]:
9011
9011
  '''When active, ``DeletionProtection`` prevents accidental deletion of your user pool.
9012
9012
 
9013
- Before you can delete a user pool that you have protected against deletion, you must deactivate this feature.
9013
+ Before you can delete a user pool that you have protected against deletion, you
9014
+ must deactivate this feature.
9014
9015
 
9015
9016
  When you try to delete a protected user pool in a ``DeleteUserPool`` API request, Amazon Cognito returns an ``InvalidParameterException`` error. To delete a protected user pool, send a new ``DeleteUserPool`` request after you deactivate deletion protection in an ``UpdateUserPool`` API request.
9016
9017