aws-cdk-lib 2.132.1__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.
- aws_cdk/__init__.py +9 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.132.1.jsii.tgz → aws-cdk-lib@2.134.0.jsii.tgz} +0 -0
- aws_cdk/aws_amplify/__init__.py +12 -10
- aws_cdk/aws_apigatewayv2/__init__.py +112 -6
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +155 -3
- aws_cdk/aws_appconfig/__init__.py +186 -8
- aws_cdk/aws_appintegrations/__init__.py +551 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +6 -6
- aws_cdk/aws_appsync/__init__.py +71 -0
- aws_cdk/aws_autoscaling/__init__.py +10 -14
- aws_cdk/aws_b2bi/__init__.py +2 -42
- aws_cdk/aws_backup/__init__.py +23 -12
- aws_cdk/aws_batch/__init__.py +2150 -1078
- aws_cdk/aws_bedrock/__init__.py +197 -2
- aws_cdk/aws_cloudformation/__init__.py +1 -1
- aws_cdk/aws_cloudfront/__init__.py +4 -4
- aws_cdk/aws_cloudtrail/__init__.py +44 -14
- aws_cdk/aws_cloudwatch/__init__.py +20 -4
- aws_cdk/aws_codeartifact/__init__.py +812 -2
- aws_cdk/aws_codebuild/__init__.py +32 -10
- aws_cdk/aws_codepipeline/__init__.py +33 -11
- aws_cdk/aws_cognito/__init__.py +49 -44
- aws_cdk/aws_connect/__init__.py +256 -0
- aws_cdk/aws_controltower/__init__.py +4 -4
- aws_cdk/aws_datasync/__init__.py +393 -13
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_docdbelastic/__init__.py +117 -0
- aws_cdk/aws_dynamodb/__init__.py +416 -5
- aws_cdk/aws_ec2/__init__.py +590 -134
- aws_cdk/aws_ecs/__init__.py +29 -20
- aws_cdk/aws_ecs_patterns/__init__.py +52 -12
- aws_cdk/aws_eks/__init__.py +27 -25
- aws_cdk/aws_elasticloadbalancing/__init__.py +6 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +363 -62
- aws_cdk/aws_emr/__init__.py +7 -4
- aws_cdk/aws_entityresolution/__init__.py +91 -64
- aws_cdk/aws_fsx/__init__.py +7 -7
- aws_cdk/aws_glue/__init__.py +137 -3
- aws_cdk/aws_iam/__init__.py +9 -10
- aws_cdk/aws_internetmonitor/__init__.py +85 -0
- aws_cdk/aws_iotsitewise/__init__.py +208 -198
- aws_cdk/aws_iotwireless/__init__.py +6 -5
- aws_cdk/aws_kafkaconnect/__init__.py +1237 -162
- aws_cdk/aws_kendra/__init__.py +34 -24
- aws_cdk/aws_kinesisanalytics/__init__.py +37 -37
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +37 -37
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -2
- aws_cdk/aws_lambda/__init__.py +16 -16
- aws_cdk/aws_msk/__init__.py +88 -0
- aws_cdk/aws_opensearchservice/__init__.py +61 -18
- aws_cdk/aws_pinpoint/__init__.py +42 -0
- aws_cdk/aws_rds/__init__.py +1292 -216
- aws_cdk/aws_redshift/__init__.py +6 -3
- aws_cdk/aws_redshiftserverless/__init__.py +0 -157
- aws_cdk/aws_sagemaker/__init__.py +29 -9
- aws_cdk/aws_shield/__init__.py +7 -8
- aws_cdk/aws_ssm/__init__.py +15 -12
- aws_cdk/aws_stepfunctions_tasks/__init__.py +476 -0
- aws_cdk/aws_synthetics/__init__.py +74 -14
- aws_cdk/aws_transfer/__init__.py +4 -3
- aws_cdk/aws_wafv2/__init__.py +516 -42
- aws_cdk/cx_api/__init__.py +34 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/RECORD +69 -69
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.132.1.dist-info → aws_cdk_lib-2.134.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.132.1.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
|
|
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,37 +5388,59 @@ class CfnProject(
|
|
|
5388
5388
|
def type(self) -> builtins.str:
|
|
5389
5389
|
'''The type of webhook filter.
|
|
5390
5390
|
|
|
5391
|
-
There are
|
|
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 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.
|
|
5394
5395
|
|
|
5395
5396
|
.. epigraph::
|
|
5396
5397
|
|
|
5397
|
-
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.
|
|
5398
5399
|
|
|
5399
|
-
-
|
|
5400
|
-
-
|
|
5400
|
+
- ACTOR_ACCOUNT_ID
|
|
5401
|
+
- A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression ``pattern`` .
|
|
5402
|
+
- HEAD_REF
|
|
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`` .
|
|
5401
5404
|
|
|
5402
|
-
|
|
5405
|
+
.. epigraph::
|
|
5406
|
+
|
|
5407
|
+
Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events.
|
|
5403
5408
|
|
|
5404
|
-
-
|
|
5409
|
+
- BASE_REF
|
|
5410
|
+
- A webhook event triggers a build when the base reference matches the regular expression ``pattern`` . For example, ``refs/heads/branch-name`` .
|
|
5405
5411
|
|
|
5406
5412
|
.. epigraph::
|
|
5407
5413
|
|
|
5408
5414
|
Works with pull request events only.
|
|
5409
5415
|
|
|
5410
|
-
-
|
|
5416
|
+
- FILE_PATH
|
|
5417
|
+
- A webhook triggers a build when the path of a changed file matches the regular expression ``pattern`` .
|
|
5411
5418
|
|
|
5412
5419
|
.. epigraph::
|
|
5413
5420
|
|
|
5414
5421
|
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.
|
|
5415
5422
|
|
|
5416
|
-
-
|
|
5423
|
+
- COMMIT_MESSAGE
|
|
5424
|
+
- A webhook triggers a build when the head commit message matches the regular expression ``pattern`` .
|
|
5417
5425
|
|
|
5418
5426
|
.. epigraph::
|
|
5419
5427
|
|
|
5420
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.
|
|
5421
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
|
+
|
|
5422
5444
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-webhookfilter.html#cfn-codebuild-project-webhookfilter-type
|
|
5423
5445
|
'''
|
|
5424
5446
|
result = self._values.get("type")
|
|
@@ -647,6 +647,9 @@ codepipeline.Pipeline(self, "Pipeline",
|
|
|
647
647
|
To migrate your pipeline type from V1 to V2, you just need to update the `pipelineType` property to `PipelineType.V2`.
|
|
648
648
|
This migration does not cause replacement of your pipeline.
|
|
649
649
|
|
|
650
|
+
When the `@aws-cdk/aws-codepipeline:defaultPipelineTypeToV2` feature flag is set to `true` (default for new projects),
|
|
651
|
+
the V2 type is selected by default if you do not specify a value for `pipelineType` property. Otherwise, the V1 type is selected.
|
|
652
|
+
|
|
650
653
|
```python
|
|
651
654
|
codepipeline.Pipeline(self, "Pipeline",
|
|
652
655
|
pipeline_type=codepipeline.PipelineType.V2
|
|
@@ -2355,7 +2358,8 @@ class CfnPipeline(
|
|
|
2355
2358
|
)],
|
|
2356
2359
|
region="region",
|
|
2357
2360
|
role_arn="roleArn",
|
|
2358
|
-
run_order=123
|
|
2361
|
+
run_order=123,
|
|
2362
|
+
timeout_in_minutes=123
|
|
2359
2363
|
)],
|
|
2360
2364
|
name="name",
|
|
2361
2365
|
|
|
@@ -2768,6 +2772,7 @@ class CfnPipeline(
|
|
|
2768
2772
|
"region": "region",
|
|
2769
2773
|
"role_arn": "roleArn",
|
|
2770
2774
|
"run_order": "runOrder",
|
|
2775
|
+
"timeout_in_minutes": "timeoutInMinutes",
|
|
2771
2776
|
},
|
|
2772
2777
|
)
|
|
2773
2778
|
class ActionDeclarationProperty:
|
|
@@ -2783,13 +2788,10 @@ class CfnPipeline(
|
|
|
2783
2788
|
region: typing.Optional[builtins.str] = None,
|
|
2784
2789
|
role_arn: typing.Optional[builtins.str] = None,
|
|
2785
2790
|
run_order: typing.Optional[jsii.Number] = None,
|
|
2791
|
+
timeout_in_minutes: typing.Optional[jsii.Number] = None,
|
|
2786
2792
|
) -> None:
|
|
2787
2793
|
'''Represents information about an action declaration.
|
|
2788
2794
|
|
|
2789
|
-
.. epigraph::
|
|
2790
|
-
|
|
2791
|
-
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.
|
|
2792
|
-
|
|
2793
2795
|
:param action_type_id: Specifies the action type and the provider of the action.
|
|
2794
2796
|
:param name: The action declaration's name.
|
|
2795
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 },``
|
|
@@ -2799,6 +2801,7 @@ class CfnPipeline(
|
|
|
2799
2801
|
:param region: The action declaration's AWS Region, such as us-east-1.
|
|
2800
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.
|
|
2801
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.
|
|
2802
2805
|
|
|
2803
2806
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html
|
|
2804
2807
|
:exampleMetadata: fixture=_generated
|
|
@@ -2831,7 +2834,8 @@ class CfnPipeline(
|
|
|
2831
2834
|
)],
|
|
2832
2835
|
region="region",
|
|
2833
2836
|
role_arn="roleArn",
|
|
2834
|
-
run_order=123
|
|
2837
|
+
run_order=123,
|
|
2838
|
+
timeout_in_minutes=123
|
|
2835
2839
|
)
|
|
2836
2840
|
'''
|
|
2837
2841
|
if __debug__:
|
|
@@ -2845,6 +2849,7 @@ class CfnPipeline(
|
|
|
2845
2849
|
check_type(argname="argument region", value=region, expected_type=type_hints["region"])
|
|
2846
2850
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
2847
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"])
|
|
2848
2853
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
2849
2854
|
"action_type_id": action_type_id,
|
|
2850
2855
|
"name": name,
|
|
@@ -2863,6 +2868,8 @@ class CfnPipeline(
|
|
|
2863
2868
|
self._values["role_arn"] = role_arn
|
|
2864
2869
|
if run_order is not None:
|
|
2865
2870
|
self._values["run_order"] = run_order
|
|
2871
|
+
if timeout_in_minutes is not None:
|
|
2872
|
+
self._values["timeout_in_minutes"] = timeout_in_minutes
|
|
2866
2873
|
|
|
2867
2874
|
@builtins.property
|
|
2868
2875
|
def action_type_id(
|
|
@@ -2972,6 +2979,15 @@ class CfnPipeline(
|
|
|
2972
2979
|
result = self._values.get("run_order")
|
|
2973
2980
|
return typing.cast(typing.Optional[jsii.Number], result)
|
|
2974
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
|
+
|
|
2975
2991
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
2976
2992
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
2977
2993
|
|
|
@@ -4254,7 +4270,8 @@ class CfnPipeline(
|
|
|
4254
4270
|
)],
|
|
4255
4271
|
region="region",
|
|
4256
4272
|
role_arn="roleArn",
|
|
4257
|
-
run_order=123
|
|
4273
|
+
run_order=123,
|
|
4274
|
+
timeout_in_minutes=123
|
|
4258
4275
|
)],
|
|
4259
4276
|
name="name",
|
|
4260
4277
|
|
|
@@ -4568,7 +4585,8 @@ class CfnPipelineProps:
|
|
|
4568
4585
|
)],
|
|
4569
4586
|
region="region",
|
|
4570
4587
|
role_arn="roleArn",
|
|
4571
|
-
run_order=123
|
|
4588
|
+
run_order=123,
|
|
4589
|
+
timeout_in_minutes=123
|
|
4572
4590
|
)],
|
|
4573
4591
|
name="name",
|
|
4574
4592
|
|
|
@@ -7248,7 +7266,7 @@ class Pipeline(
|
|
|
7248
7266
|
:param enable_key_rotation: Enable KMS key rotation for the generated KMS keys. By default KMS key rotation is disabled, but will add an additional $1/month for each year the key exists when enabled. Default: - false (key rotation is disabled)
|
|
7249
7267
|
:param execution_mode: The method that the pipeline will use to handle multiple executions. Default: - ExecutionMode.SUPERSEDED
|
|
7250
7268
|
:param pipeline_name: Name of the pipeline. Default: - AWS CloudFormation generates an ID and uses that for the pipeline name.
|
|
7251
|
-
:param pipeline_type: Type of the pipeline. Default: - PipelineType.V1
|
|
7269
|
+
:param pipeline_type: Type of the pipeline. Default: - PipelineType.V2 if the feature flag ``CODEPIPELINE_DEFAULT_PIPELINE_TYPE_TO_V2`` is true, PipelineType.V1 otherwise
|
|
7252
7270
|
:param restart_execution_on_update: Indicates whether to rerun the AWS CodePipeline pipeline after you update it. Default: false
|
|
7253
7271
|
:param reuse_cross_region_support_stacks: Reuse the same cross region support stack for all pipelines in the App. Default: - true (Use the same support stack for all pipelines in App)
|
|
7254
7272
|
:param role: The IAM role to be assumed by this Pipeline. Default: a new IAM role will be created.
|
|
@@ -7886,7 +7904,7 @@ class PipelineProps:
|
|
|
7886
7904
|
:param enable_key_rotation: Enable KMS key rotation for the generated KMS keys. By default KMS key rotation is disabled, but will add an additional $1/month for each year the key exists when enabled. Default: - false (key rotation is disabled)
|
|
7887
7905
|
:param execution_mode: The method that the pipeline will use to handle multiple executions. Default: - ExecutionMode.SUPERSEDED
|
|
7888
7906
|
:param pipeline_name: Name of the pipeline. Default: - AWS CloudFormation generates an ID and uses that for the pipeline name.
|
|
7889
|
-
:param pipeline_type: Type of the pipeline. Default: - PipelineType.V1
|
|
7907
|
+
:param pipeline_type: Type of the pipeline. Default: - PipelineType.V2 if the feature flag ``CODEPIPELINE_DEFAULT_PIPELINE_TYPE_TO_V2`` is true, PipelineType.V1 otherwise
|
|
7890
7908
|
:param restart_execution_on_update: Indicates whether to rerun the AWS CodePipeline pipeline after you update it. Default: false
|
|
7891
7909
|
:param reuse_cross_region_support_stacks: Reuse the same cross region support stack for all pipelines in the App. Default: - true (Use the same support stack for all pipelines in App)
|
|
7892
7910
|
:param role: The IAM role to be assumed by this Pipeline. Default: a new IAM role will be created.
|
|
@@ -8054,7 +8072,10 @@ class PipelineProps:
|
|
|
8054
8072
|
def pipeline_type(self) -> typing.Optional["PipelineType"]:
|
|
8055
8073
|
'''Type of the pipeline.
|
|
8056
8074
|
|
|
8057
|
-
:default:
|
|
8075
|
+
:default:
|
|
8076
|
+
|
|
8077
|
+
- PipelineType.V2 if the feature flag ``CODEPIPELINE_DEFAULT_PIPELINE_TYPE_TO_V2``
|
|
8078
|
+
is true, PipelineType.V1 otherwise
|
|
8058
8079
|
|
|
8059
8080
|
:see: https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html
|
|
8060
8081
|
'''
|
|
@@ -9395,6 +9416,7 @@ def _typecheckingstub__490d89c9ac665593d791c6e187fcf0e47ca3ec8684f1c7a502e1711bc
|
|
|
9395
9416
|
region: typing.Optional[builtins.str] = None,
|
|
9396
9417
|
role_arn: typing.Optional[builtins.str] = None,
|
|
9397
9418
|
run_order: typing.Optional[jsii.Number] = None,
|
|
9419
|
+
timeout_in_minutes: typing.Optional[jsii.Number] = None,
|
|
9398
9420
|
) -> None:
|
|
9399
9421
|
"""Type checking stubs"""
|
|
9400
9422
|
pass
|
aws_cdk/aws_cognito/__init__.py
CHANGED
|
@@ -5254,7 +5254,7 @@ class CfnUserPool(
|
|
|
5254
5254
|
) -> None:
|
|
5255
5255
|
'''The minimum and maximum values of an attribute that is of the number data type.
|
|
5256
5256
|
|
|
5257
|
-
:param max_value: The maximum
|
|
5257
|
+
:param max_value: The maximum length of a number attribute value. Must be a number less than or equal to ``2^1023`` , represented as a string with a length of 131072 characters or fewer.
|
|
5258
5258
|
:param min_value: The minimum value of an attribute that is of the number data type.
|
|
5259
5259
|
|
|
5260
5260
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-numberattributeconstraints.html
|
|
@@ -5283,7 +5283,9 @@ class CfnUserPool(
|
|
|
5283
5283
|
|
|
5284
5284
|
@builtins.property
|
|
5285
5285
|
def max_value(self) -> typing.Optional[builtins.str]:
|
|
5286
|
-
'''The maximum
|
|
5286
|
+
'''The maximum length of a number attribute value.
|
|
5287
|
+
|
|
5288
|
+
Must be a number less than or equal to ``2^1023`` , represented as a string with a length of 131072 characters or fewer.
|
|
5287
5289
|
|
|
5288
5290
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-numberattributeconstraints.html#cfn-cognito-userpool-numberattributeconstraints-maxvalue
|
|
5289
5291
|
'''
|
|
@@ -5970,7 +5972,7 @@ class CfnUserPool(
|
|
|
5970
5972
|
|
|
5971
5973
|
``StringAttributeConstraints`` is a subproperty of the `SchemaAttribute <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-schemaattribute.html>`_ property type.
|
|
5972
5974
|
|
|
5973
|
-
:param max_length: The maximum length.
|
|
5975
|
+
:param max_length: The maximum length of a string attribute value. Must be a number less than or equal to ``2^1023`` , represented as a string with a length of 131072 characters or fewer.
|
|
5974
5976
|
:param min_length: The minimum length.
|
|
5975
5977
|
|
|
5976
5978
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-stringattributeconstraints.html
|
|
@@ -5999,7 +6001,9 @@ class CfnUserPool(
|
|
|
5999
6001
|
|
|
6000
6002
|
@builtins.property
|
|
6001
6003
|
def max_length(self) -> typing.Optional[builtins.str]:
|
|
6002
|
-
'''The maximum length.
|
|
6004
|
+
'''The maximum length of a string attribute value.
|
|
6005
|
+
|
|
6006
|
+
Must be a number less than or equal to ``2^1023`` , represented as a string with a length of 131072 characters or fewer.
|
|
6003
6007
|
|
|
6004
6008
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-stringattributeconstraints.html#cfn-cognito-userpool-stringattributeconstraints-maxlength
|
|
6005
6009
|
'''
|
|
@@ -8346,7 +8350,7 @@ class CfnUserPoolIdentityProvider(
|
|
|
8346
8350
|
:param user_pool_id: The user pool ID.
|
|
8347
8351
|
:param attribute_mapping: A mapping of IdP attributes to standard and custom user pool attributes.
|
|
8348
8352
|
:param idp_identifiers: A list of IdP identifiers.
|
|
8349
|
-
:param provider_details: The
|
|
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" }``
|
|
8350
8354
|
'''
|
|
8351
8355
|
if __debug__:
|
|
8352
8356
|
type_hints = typing.get_type_hints(_typecheckingstub__759e90505ceb64aa7002be11d4da4a87090102263927799f662a83f606483634)
|
|
@@ -8478,10 +8482,7 @@ class CfnUserPoolIdentityProvider(
|
|
|
8478
8482
|
@builtins.property
|
|
8479
8483
|
@jsii.member(jsii_name="providerDetails")
|
|
8480
8484
|
def provider_details(self) -> typing.Any:
|
|
8481
|
-
'''The
|
|
8482
|
-
|
|
8483
|
-
The following list describes the provider detail keys for each IdP type.
|
|
8484
|
-
'''
|
|
8485
|
+
'''The scopes, URLs, and identifiers for your external identity provider.'''
|
|
8485
8486
|
return typing.cast(typing.Any, jsii.get(self, "providerDetails"))
|
|
8486
8487
|
|
|
8487
8488
|
@provider_details.setter
|
|
@@ -8522,7 +8523,7 @@ class CfnUserPoolIdentityProviderProps:
|
|
|
8522
8523
|
:param user_pool_id: The user pool ID.
|
|
8523
8524
|
:param attribute_mapping: A mapping of IdP attributes to standard and custom user pool attributes.
|
|
8524
8525
|
:param idp_identifiers: A list of IdP identifiers.
|
|
8525
|
-
:param provider_details: The
|
|
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" }``
|
|
8526
8527
|
|
|
8527
8528
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolidentityprovider.html
|
|
8528
8529
|
:exampleMetadata: fixture=_generated
|
|
@@ -8617,39 +8618,42 @@ class CfnUserPoolIdentityProviderProps:
|
|
|
8617
8618
|
|
|
8618
8619
|
@builtins.property
|
|
8619
8620
|
def provider_details(self) -> typing.Any:
|
|
8620
|
-
'''The
|
|
8621
|
-
|
|
8622
|
-
|
|
8623
|
-
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
8627
|
-
-
|
|
8628
|
-
|
|
8629
|
-
-
|
|
8630
|
-
|
|
8631
|
-
-
|
|
8632
|
-
|
|
8633
|
-
-
|
|
8634
|
-
|
|
8635
|
-
-
|
|
8636
|
-
|
|
8637
|
-
|
|
8638
|
-
|
|
8639
|
-
-
|
|
8640
|
-
|
|
8641
|
-
-
|
|
8642
|
-
|
|
8643
|
-
|
|
8644
|
-
|
|
8645
|
-
-
|
|
8646
|
-
|
|
8647
|
-
-
|
|
8648
|
-
|
|
8649
|
-
-
|
|
8650
|
-
|
|
8651
|
-
|
|
8652
|
-
|
|
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" }``
|
|
8653
8657
|
|
|
8654
8658
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolidentityprovider.html#cfn-cognito-userpoolidentityprovider-providerdetails
|
|
8655
8659
|
'''
|
|
@@ -9006,7 +9010,8 @@ class CfnUserPoolProps:
|
|
|
9006
9010
|
def deletion_protection(self) -> typing.Optional[builtins.str]:
|
|
9007
9011
|
'''When active, ``DeletionProtection`` prevents accidental deletion of your user pool.
|
|
9008
9012
|
|
|
9009
|
-
Before you can delete a user pool that you have protected against deletion, you
|
|
9013
|
+
Before you can delete a user pool that you have protected against deletion, you
|
|
9014
|
+
must deactivate this feature.
|
|
9010
9015
|
|
|
9011
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.
|
|
9012
9017
|
|