aws-cdk-lib 2.193.0__py3-none-any.whl → 2.195.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 +2 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.193.0.jsii.tgz → aws-cdk-lib@2.195.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +63 -2
- aws_cdk/aws_aps/__init__.py +34 -22
- aws_cdk/aws_autoscaling/__init__.py +8 -0
- aws_cdk/aws_batch/__init__.py +2 -2
- aws_cdk/aws_bedrock/__init__.py +587 -8
- aws_cdk/aws_ce/__init__.py +34 -22
- aws_cdk/aws_cloudfront/__init__.py +6090 -3972
- aws_cdk/aws_codebuild/__init__.py +19 -10
- aws_cdk/aws_codepipeline/__init__.py +108 -0
- aws_cdk/aws_cognito/__init__.py +132 -6
- aws_cdk/aws_datazone/__init__.py +370 -0
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_dsql/__init__.py +9 -0
- aws_cdk/aws_dynamodb/__init__.py +5 -3
- aws_cdk/aws_ec2/__init__.py +138 -11
- aws_cdk/aws_ecr/__init__.py +419 -0
- aws_cdk/aws_ecs/__init__.py +22 -25
- aws_cdk/aws_entityresolution/__init__.py +7 -2
- aws_cdk/aws_events/__init__.py +41 -8
- aws_cdk/aws_fsx/__init__.py +2 -3
- aws_cdk/aws_imagebuilder/__init__.py +160 -10
- aws_cdk/aws_kinesisanalytics/__init__.py +4 -2
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +4 -2
- aws_cdk/aws_lambda/__init__.py +1 -1
- aws_cdk/aws_medialive/__init__.py +4 -6
- aws_cdk/aws_mediapackagev2/__init__.py +50 -6
- aws_cdk/aws_mediatailor/__init__.py +115 -0
- aws_cdk/aws_memorydb/__init__.py +21 -11
- aws_cdk/aws_oam/__init__.py +43 -10
- aws_cdk/aws_omics/__init__.py +5 -5
- aws_cdk/aws_opensearchservice/__init__.py +6 -0
- aws_cdk/aws_quicksight/__init__.py +1 -1
- aws_cdk/aws_rds/__init__.py +87 -8
- aws_cdk/aws_redshiftserverless/__init__.py +20 -0
- aws_cdk/aws_route53/__init__.py +18 -14
- aws_cdk/aws_route53_targets/__init__.py +62 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_route53resolver/__init__.py +41 -0
- aws_cdk/aws_s3/__init__.py +2 -4
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_sagemaker/__init__.py +255 -8
- aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
- aws_cdk/aws_vpclattice/__init__.py +6 -2
- aws_cdk/aws_wisdom/__init__.py +25 -6
- aws_cdk/cloud_assembly_schema/__init__.py +7 -1
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/RECORD +54 -53
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.193.0.dist-info → aws_cdk_lib-2.195.0.dist-info}/top_level.txt +0 -0
|
@@ -2255,7 +2255,7 @@ class CfnFleet(
|
|
|
2255
2255
|
:param scope: Scope in which this resource is defined.
|
|
2256
2256
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
2257
2257
|
:param base_capacity: The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
|
|
2258
|
-
:param compute_configuration: The compute configuration of the compute fleet. This is only required if ``computeType`` is set to ``ATTRIBUTE_BASED_COMPUTE`` .
|
|
2258
|
+
:param compute_configuration: The compute configuration of the compute fleet. This is only required if ``computeType`` is set to ``ATTRIBUTE_BASED_COMPUTE`` or ``CUSTOM_INSTANCE_TYPE`` .
|
|
2259
2259
|
:param compute_type: Information about the compute resources the compute fleet uses. Available values include:. - ``ATTRIBUTE_BASED_COMPUTE`` : Specify the amount of vCPUs, memory, disk space, and the type of machine. .. epigraph:: If you use ``ATTRIBUTE_BASED_COMPUTE`` , you must define your attributes by using ``computeConfiguration`` . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see `Reserved capacity environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment-reserved-capacity.types>`_ in the *AWS CodeBuild User Guide* . - ``BUILD_GENERAL1_SMALL`` : Use up to 4 GiB memory and 2 vCPUs for builds. - ``BUILD_GENERAL1_MEDIUM`` : Use up to 8 GiB memory and 4 vCPUs for builds. - ``BUILD_GENERAL1_LARGE`` : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_XLARGE`` : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_2XLARGE`` : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. - ``BUILD_LAMBDA_1GB`` : Use up to 1 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_2GB`` : Use up to 2 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_4GB`` : Use up to 4 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_8GB`` : Use up to 8 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_10GB`` : Use up to 10 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . If you use ``BUILD_GENERAL1_SMALL`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds. If you use ``BUILD_GENERAL1_LARGE`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds. For more information, see `On-demand environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types>`_ in the *AWS CodeBuild User Guide.*
|
|
2260
2260
|
:param environment_type: The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``ARM_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``MAC_ARM`` is available only in regions US East (Ohio), US East (N. Virginia), US West (Oregon), Europe (Frankfurt), and Asia Pacific (Sydney). - The environment type ``WINDOWS_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
|
|
2261
2261
|
:param fleet_proxy_configuration: Information about the proxy configurations that apply network access control to your reserved capacity instances.
|
|
@@ -2538,7 +2538,7 @@ class CfnFleet(
|
|
|
2538
2538
|
) -> None:
|
|
2539
2539
|
'''Contains compute attributes.
|
|
2540
2540
|
|
|
2541
|
-
These attributes only need be specified when your project's or fleet's ``computeType`` is set to ``ATTRIBUTE_BASED_COMPUTE`` .
|
|
2541
|
+
These attributes only need be specified when your project's or fleet's ``computeType`` is set to ``ATTRIBUTE_BASED_COMPUTE`` or ``CUSTOM_INSTANCE_TYPE`` .
|
|
2542
2542
|
|
|
2543
2543
|
:param disk: The amount of disk space of the instance type included in your fleet.
|
|
2544
2544
|
:param machine_type: The machine type of the instance type included in your fleet.
|
|
@@ -3080,7 +3080,7 @@ class CfnFleetProps:
|
|
|
3080
3080
|
'''Properties for defining a ``CfnFleet``.
|
|
3081
3081
|
|
|
3082
3082
|
:param base_capacity: The initial number of machines allocated to the compute fleet, which defines the number of builds that can run in parallel.
|
|
3083
|
-
:param compute_configuration: The compute configuration of the compute fleet. This is only required if ``computeType`` is set to ``ATTRIBUTE_BASED_COMPUTE`` .
|
|
3083
|
+
:param compute_configuration: The compute configuration of the compute fleet. This is only required if ``computeType`` is set to ``ATTRIBUTE_BASED_COMPUTE`` or ``CUSTOM_INSTANCE_TYPE`` .
|
|
3084
3084
|
:param compute_type: Information about the compute resources the compute fleet uses. Available values include:. - ``ATTRIBUTE_BASED_COMPUTE`` : Specify the amount of vCPUs, memory, disk space, and the type of machine. .. epigraph:: If you use ``ATTRIBUTE_BASED_COMPUTE`` , you must define your attributes by using ``computeConfiguration`` . AWS CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see `Reserved capacity environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment-reserved-capacity.types>`_ in the *AWS CodeBuild User Guide* . - ``BUILD_GENERAL1_SMALL`` : Use up to 4 GiB memory and 2 vCPUs for builds. - ``BUILD_GENERAL1_MEDIUM`` : Use up to 8 GiB memory and 4 vCPUs for builds. - ``BUILD_GENERAL1_LARGE`` : Use up to 16 GiB memory and 8 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_XLARGE`` : Use up to 72 GiB memory and 36 vCPUs for builds, depending on your environment type. - ``BUILD_GENERAL1_2XLARGE`` : Use up to 144 GiB memory, 72 vCPUs, and 824 GB of SSD storage for builds. This compute type supports Docker images up to 100 GB uncompressed. - ``BUILD_LAMBDA_1GB`` : Use up to 1 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_2GB`` : Use up to 2 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_4GB`` : Use up to 4 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_8GB`` : Use up to 8 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . - ``BUILD_LAMBDA_10GB`` : Use up to 10 GiB memory for builds. Only available for environment type ``LINUX_LAMBDA_CONTAINER`` and ``ARM_LAMBDA_CONTAINER`` . If you use ``BUILD_GENERAL1_SMALL`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 16 GiB memory, 4 vCPUs, and 1 NVIDIA A10G Tensor Core GPU for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 4 GiB memory and 2 vCPUs on ARM-based processors for builds. If you use ``BUILD_GENERAL1_LARGE`` : - For environment type ``LINUX_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs for builds. - For environment type ``LINUX_GPU_CONTAINER`` , you can use up to 255 GiB memory, 32 vCPUs, and 4 NVIDIA Tesla V100 GPUs for builds. - For environment type ``ARM_CONTAINER`` , you can use up to 16 GiB memory and 8 vCPUs on ARM-based processors for builds. For more information, see `On-demand environment types <https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html#environment.types>`_ in the *AWS CodeBuild User Guide.*
|
|
3085
3085
|
:param environment_type: The environment type of the compute fleet. - The environment type ``ARM_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). - The environment type ``ARM_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``LINUX_GPU_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). - The environment type ``MAC_ARM`` is available only in regions US East (Ohio), US East (N. Virginia), US West (Oregon), Europe (Frankfurt), and Asia Pacific (Sydney). - The environment type ``WINDOWS_EC2`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). - The environment type ``WINDOWS_SERVER_2019_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) and EU (Ireland). - The environment type ``WINDOWS_SERVER_2022_CONTAINER`` is available only in regions US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). For more information, see `Build environment compute types <https://docs.aws.amazon.com//codebuild/latest/userguide/build-env-ref-compute-types.html>`_ in the *AWS CodeBuild user guide* .
|
|
3086
3086
|
:param fleet_proxy_configuration: Information about the proxy configurations that apply network access control to your reserved capacity instances.
|
|
@@ -3197,7 +3197,7 @@ class CfnFleetProps:
|
|
|
3197
3197
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnFleet.ComputeConfigurationProperty]]:
|
|
3198
3198
|
'''The compute configuration of the compute fleet.
|
|
3199
3199
|
|
|
3200
|
-
This is only required if ``computeType`` is set to ``ATTRIBUTE_BASED_COMPUTE`` .
|
|
3200
|
+
This is only required if ``computeType`` is set to ``ATTRIBUTE_BASED_COMPUTE`` or ``CUSTOM_INSTANCE_TYPE`` .
|
|
3201
3201
|
|
|
3202
3202
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-fleet.html#cfn-codebuild-fleet-computeconfiguration
|
|
3203
3203
|
'''
|
|
@@ -5300,7 +5300,7 @@ class CfnProject(
|
|
|
5300
5300
|
'''``ProjectCache`` is a property of the `AWS CodeBuild Project <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codebuild-project.html>`_ resource that specifies information about the cache for the build project. If ``ProjectCache`` is not specified, then both of its properties default to ``NO_CACHE`` .
|
|
5301
5301
|
|
|
5302
5302
|
:param type: The type of cache used by the build project. Valid values include:. - ``NO_CACHE`` : The build project does not use any cache. - ``S3`` : The build project reads and writes from and to S3. - ``LOCAL`` : The build project stores a cache locally on a build host that is only available to that build host.
|
|
5303
|
-
:param cache_namespace:
|
|
5303
|
+
:param cache_namespace: Defines the scope of the cache. You can use this namespace to share a cache across multiple projects. For more information, see `Cache sharing between projects <https://docs.aws.amazon.com/codebuild/latest/userguide/caching-s3.html#caching-s3-sharing>`_ in the *AWS CodeBuild User Guide* .
|
|
5304
5304
|
:param location: Information about the cache location:. - ``NO_CACHE`` or ``LOCAL`` : This value is ignored. - ``S3`` : This is the S3 bucket name/prefix.
|
|
5305
5305
|
:param modes: An array of strings that specify the local cache modes. You can use one or more local cache modes at the same time. This is only used for ``LOCAL`` cache types. Possible values are: - **LOCAL_SOURCE_CACHE** - Caches Git metadata for primary and secondary sources. After the cache is created, subsequent builds pull only the change between commits. This mode is a good choice for projects with a clean working directory and a source that is a large Git repository. If you choose this option and your project does not use a Git repository (GitHub, GitHub Enterprise, or Bitbucket), the option is ignored. - **LOCAL_DOCKER_LAYER_CACHE** - Caches existing Docker layers. This mode is a good choice for projects that build or pull large Docker images. It can prevent the performance issues caused by pulling large Docker images down from the network. .. epigraph:: - You can use a Docker layer cache in the Linux environment only. - The ``privileged`` flag must be set so that your project has the required Docker permissions. - You should consider the security implications before you use a Docker layer cache. - **LOCAL_CUSTOM_CACHE** - Caches directories you specify in the buildspec file. This mode is a good choice if your build scenario is not suited to one of the other three local cache modes. If you use a custom cache: - Only directories can be specified for caching. You cannot specify individual files. - Symlinks are used to reference cached directories. - Cached directories are linked to your build before it downloads its project sources. Cached items are overridden if a source item has the same name. Directories are specified using cache paths in the buildspec file.
|
|
5306
5306
|
|
|
@@ -5354,7 +5354,10 @@ class CfnProject(
|
|
|
5354
5354
|
|
|
5355
5355
|
@builtins.property
|
|
5356
5356
|
def cache_namespace(self) -> typing.Optional[builtins.str]:
|
|
5357
|
-
'''
|
|
5357
|
+
'''Defines the scope of the cache.
|
|
5358
|
+
|
|
5359
|
+
You can use this namespace to share a cache across multiple projects. For more information, see `Cache sharing between projects <https://docs.aws.amazon.com/codebuild/latest/userguide/caching-s3.html#caching-s3-sharing>`_ in the *AWS CodeBuild User Guide* .
|
|
5360
|
+
|
|
5358
5361
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-projectcache.html#cfn-codebuild-project-projectcache-cachenamespace
|
|
5359
5362
|
'''
|
|
5360
5363
|
result = self._values.get("cache_namespace")
|
|
@@ -6021,8 +6024,8 @@ class CfnProject(
|
|
|
6021
6024
|
'''Contains configuration information about the scope for a webhook.
|
|
6022
6025
|
|
|
6023
6026
|
:param name: The name of either the enterprise or organization that will send webhook events to CodeBuild , depending on if the webhook is a global or organization webhook respectively.
|
|
6024
|
-
:param domain:
|
|
6025
|
-
:param scope:
|
|
6027
|
+
:param domain: The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.
|
|
6028
|
+
:param scope: The type of scope for a GitHub or GitLab webhook. The scope default is GITHUB_ORGANIZATION.
|
|
6026
6029
|
|
|
6027
6030
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-scopeconfiguration.html
|
|
6028
6031
|
:exampleMetadata: fixture=_generated
|
|
@@ -6066,7 +6069,10 @@ class CfnProject(
|
|
|
6066
6069
|
|
|
6067
6070
|
@builtins.property
|
|
6068
6071
|
def domain(self) -> typing.Optional[builtins.str]:
|
|
6069
|
-
'''
|
|
6072
|
+
'''The domain of the GitHub Enterprise organization or the GitLab Self Managed group.
|
|
6073
|
+
|
|
6074
|
+
Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.
|
|
6075
|
+
|
|
6070
6076
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-scopeconfiguration.html#cfn-codebuild-project-scopeconfiguration-domain
|
|
6071
6077
|
'''
|
|
6072
6078
|
result = self._values.get("domain")
|
|
@@ -6074,7 +6080,10 @@ class CfnProject(
|
|
|
6074
6080
|
|
|
6075
6081
|
@builtins.property
|
|
6076
6082
|
def scope(self) -> typing.Optional[builtins.str]:
|
|
6077
|
-
'''
|
|
6083
|
+
'''The type of scope for a GitHub or GitLab webhook.
|
|
6084
|
+
|
|
6085
|
+
The scope default is GITHUB_ORGANIZATION.
|
|
6086
|
+
|
|
6078
6087
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-scopeconfiguration.html#cfn-codebuild-project-scopeconfiguration-scope
|
|
6079
6088
|
'''
|
|
6080
6089
|
result = self._values.get("scope")
|
|
@@ -2697,6 +2697,10 @@ class CfnPipeline(
|
|
|
2697
2697
|
# the properties below are optional
|
|
2698
2698
|
commands=["commands"],
|
|
2699
2699
|
configuration=configuration,
|
|
2700
|
+
environment_variables=[codepipeline.CfnPipeline.EnvironmentVariableProperty(
|
|
2701
|
+
name="name",
|
|
2702
|
+
value="value"
|
|
2703
|
+
)],
|
|
2700
2704
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
2701
2705
|
name="name"
|
|
2702
2706
|
)],
|
|
@@ -3178,6 +3182,7 @@ class CfnPipeline(
|
|
|
3178
3182
|
"name": "name",
|
|
3179
3183
|
"commands": "commands",
|
|
3180
3184
|
"configuration": "configuration",
|
|
3185
|
+
"environment_variables": "environmentVariables",
|
|
3181
3186
|
"input_artifacts": "inputArtifacts",
|
|
3182
3187
|
"namespace": "namespace",
|
|
3183
3188
|
"output_artifacts": "outputArtifacts",
|
|
@@ -3196,6 +3201,7 @@ class CfnPipeline(
|
|
|
3196
3201
|
name: builtins.str,
|
|
3197
3202
|
commands: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
3198
3203
|
configuration: typing.Any = None,
|
|
3204
|
+
environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.EnvironmentVariableProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3199
3205
|
input_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.InputArtifactProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3200
3206
|
namespace: typing.Optional[builtins.str] = None,
|
|
3201
3207
|
output_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnPipeline.OutputArtifactProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -3211,6 +3217,7 @@ class CfnPipeline(
|
|
|
3211
3217
|
:param name: The action declaration's name.
|
|
3212
3218
|
:param commands: The shell commands to run with your compute action in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild. .. epigraph:: Using compute time for this action will incur separate charges in AWS CodeBuild .
|
|
3213
3219
|
: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 },``
|
|
3220
|
+
:param environment_variables: The environment variables for the action.
|
|
3214
3221
|
:param input_artifacts: The name or ID of the artifact consumed by the action, such as a test or build artifact. While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of input artifacts. To refer to the action configuration specification by action provider, see the `Action structure reference <https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html>`_ in the *AWS CodePipeline User Guide* . .. epigraph:: For a CodeBuild action with multiple input artifacts, one of your input sources must be designated the PrimarySource. For more information, see the `CodeBuild action reference page <https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-CodeBuild.html>`_ in the *AWS CodePipeline User Guide* .
|
|
3215
3222
|
:param namespace: The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.
|
|
3216
3223
|
:param output_artifacts: The name or ID of the result of the action declaration, such as a test or build artifact. While the field is not a required parameter, most actions have an action configuration that requires a specified quantity of output artifacts. To refer to the action configuration specification by action provider, see the `Action structure reference <https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference.html>`_ in the *AWS CodePipeline User Guide* .
|
|
@@ -3243,6 +3250,10 @@ class CfnPipeline(
|
|
|
3243
3250
|
# the properties below are optional
|
|
3244
3251
|
commands=["commands"],
|
|
3245
3252
|
configuration=configuration,
|
|
3253
|
+
environment_variables=[codepipeline.CfnPipeline.EnvironmentVariableProperty(
|
|
3254
|
+
name="name",
|
|
3255
|
+
value="value"
|
|
3256
|
+
)],
|
|
3246
3257
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
3247
3258
|
name="name"
|
|
3248
3259
|
)],
|
|
@@ -3266,6 +3277,7 @@ class CfnPipeline(
|
|
|
3266
3277
|
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
3267
3278
|
check_type(argname="argument commands", value=commands, expected_type=type_hints["commands"])
|
|
3268
3279
|
check_type(argname="argument configuration", value=configuration, expected_type=type_hints["configuration"])
|
|
3280
|
+
check_type(argname="argument environment_variables", value=environment_variables, expected_type=type_hints["environment_variables"])
|
|
3269
3281
|
check_type(argname="argument input_artifacts", value=input_artifacts, expected_type=type_hints["input_artifacts"])
|
|
3270
3282
|
check_type(argname="argument namespace", value=namespace, expected_type=type_hints["namespace"])
|
|
3271
3283
|
check_type(argname="argument output_artifacts", value=output_artifacts, expected_type=type_hints["output_artifacts"])
|
|
@@ -3282,6 +3294,8 @@ class CfnPipeline(
|
|
|
3282
3294
|
self._values["commands"] = commands
|
|
3283
3295
|
if configuration is not None:
|
|
3284
3296
|
self._values["configuration"] = configuration
|
|
3297
|
+
if environment_variables is not None:
|
|
3298
|
+
self._values["environment_variables"] = environment_variables
|
|
3285
3299
|
if input_artifacts is not None:
|
|
3286
3300
|
self._values["input_artifacts"] = input_artifacts
|
|
3287
3301
|
if namespace is not None:
|
|
@@ -3352,6 +3366,17 @@ class CfnPipeline(
|
|
|
3352
3366
|
result = self._values.get("configuration")
|
|
3353
3367
|
return typing.cast(typing.Any, result)
|
|
3354
3368
|
|
|
3369
|
+
@builtins.property
|
|
3370
|
+
def environment_variables(
|
|
3371
|
+
self,
|
|
3372
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.EnvironmentVariableProperty"]]]]:
|
|
3373
|
+
'''The environment variables for the action.
|
|
3374
|
+
|
|
3375
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-actiondeclaration.html#cfn-codepipeline-pipeline-actiondeclaration-environmentvariables
|
|
3376
|
+
'''
|
|
3377
|
+
result = self._values.get("environment_variables")
|
|
3378
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnPipeline.EnvironmentVariableProperty"]]]], result)
|
|
3379
|
+
|
|
3355
3380
|
@builtins.property
|
|
3356
3381
|
def input_artifacts(
|
|
3357
3382
|
self,
|
|
@@ -4081,6 +4106,72 @@ class CfnPipeline(
|
|
|
4081
4106
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
4082
4107
|
)
|
|
4083
4108
|
|
|
4109
|
+
@jsii.data_type(
|
|
4110
|
+
jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.EnvironmentVariableProperty",
|
|
4111
|
+
jsii_struct_bases=[],
|
|
4112
|
+
name_mapping={"name": "name", "value": "value"},
|
|
4113
|
+
)
|
|
4114
|
+
class EnvironmentVariableProperty:
|
|
4115
|
+
def __init__(self, *, name: builtins.str, value: builtins.str) -> None:
|
|
4116
|
+
'''The environment variables for the action.
|
|
4117
|
+
|
|
4118
|
+
:param name: The environment variable name in the key-value pair.
|
|
4119
|
+
:param value: The environment variable value in the key-value pair.
|
|
4120
|
+
|
|
4121
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-environmentvariable.html
|
|
4122
|
+
:exampleMetadata: fixture=_generated
|
|
4123
|
+
|
|
4124
|
+
Example::
|
|
4125
|
+
|
|
4126
|
+
# The code below shows an example of how to instantiate this type.
|
|
4127
|
+
# The values are placeholders you should change.
|
|
4128
|
+
from aws_cdk import aws_codepipeline as codepipeline
|
|
4129
|
+
|
|
4130
|
+
environment_variable_property = codepipeline.CfnPipeline.EnvironmentVariableProperty(
|
|
4131
|
+
name="name",
|
|
4132
|
+
value="value"
|
|
4133
|
+
)
|
|
4134
|
+
'''
|
|
4135
|
+
if __debug__:
|
|
4136
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f259d9da088fb308ad8abebb0fb3aca04739c87fd2ed5561a20074f8e2458d5a)
|
|
4137
|
+
check_type(argname="argument name", value=name, expected_type=type_hints["name"])
|
|
4138
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4139
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4140
|
+
"name": name,
|
|
4141
|
+
"value": value,
|
|
4142
|
+
}
|
|
4143
|
+
|
|
4144
|
+
@builtins.property
|
|
4145
|
+
def name(self) -> builtins.str:
|
|
4146
|
+
'''The environment variable name in the key-value pair.
|
|
4147
|
+
|
|
4148
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-environmentvariable.html#cfn-codepipeline-pipeline-environmentvariable-name
|
|
4149
|
+
'''
|
|
4150
|
+
result = self._values.get("name")
|
|
4151
|
+
assert result is not None, "Required property 'name' is missing"
|
|
4152
|
+
return typing.cast(builtins.str, result)
|
|
4153
|
+
|
|
4154
|
+
@builtins.property
|
|
4155
|
+
def value(self) -> builtins.str:
|
|
4156
|
+
'''The environment variable value in the key-value pair.
|
|
4157
|
+
|
|
4158
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-environmentvariable.html#cfn-codepipeline-pipeline-environmentvariable-value
|
|
4159
|
+
'''
|
|
4160
|
+
result = self._values.get("value")
|
|
4161
|
+
assert result is not None, "Required property 'value' is missing"
|
|
4162
|
+
return typing.cast(builtins.str, result)
|
|
4163
|
+
|
|
4164
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
4165
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
4166
|
+
|
|
4167
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
4168
|
+
return not (rhs == self)
|
|
4169
|
+
|
|
4170
|
+
def __repr__(self) -> str:
|
|
4171
|
+
return "EnvironmentVariableProperty(%s)" % ", ".join(
|
|
4172
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
4173
|
+
)
|
|
4174
|
+
|
|
4084
4175
|
@jsii.data_type(
|
|
4085
4176
|
jsii_type="aws-cdk-lib.aws_codepipeline.CfnPipeline.FailureConditionsProperty",
|
|
4086
4177
|
jsii_struct_bases=[],
|
|
@@ -5386,6 +5477,10 @@ class CfnPipeline(
|
|
|
5386
5477
|
# the properties below are optional
|
|
5387
5478
|
commands=["commands"],
|
|
5388
5479
|
configuration=configuration,
|
|
5480
|
+
environment_variables=[codepipeline.CfnPipeline.EnvironmentVariableProperty(
|
|
5481
|
+
name="name",
|
|
5482
|
+
value="value"
|
|
5483
|
+
)],
|
|
5389
5484
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
5390
5485
|
name="name"
|
|
5391
5486
|
)],
|
|
@@ -5900,6 +5995,10 @@ class CfnPipelineProps:
|
|
|
5900
5995
|
# the properties below are optional
|
|
5901
5996
|
commands=["commands"],
|
|
5902
5997
|
configuration=configuration,
|
|
5998
|
+
environment_variables=[codepipeline.CfnPipeline.EnvironmentVariableProperty(
|
|
5999
|
+
name="name",
|
|
6000
|
+
value="value"
|
|
6001
|
+
)],
|
|
5903
6002
|
input_artifacts=[codepipeline.CfnPipeline.InputArtifactProperty(
|
|
5904
6003
|
name="name"
|
|
5905
6004
|
)],
|
|
@@ -12139,6 +12238,7 @@ def _typecheckingstub__490d89c9ac665593d791c6e187fcf0e47ca3ec8684f1c7a502e1711bc
|
|
|
12139
12238
|
name: builtins.str,
|
|
12140
12239
|
commands: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
12141
12240
|
configuration: typing.Any = None,
|
|
12241
|
+
environment_variables: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.EnvironmentVariableProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
12142
12242
|
input_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.InputArtifactProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
12143
12243
|
namespace: typing.Optional[builtins.str] = None,
|
|
12144
12244
|
output_artifacts: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.OutputArtifactProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
@@ -12209,6 +12309,14 @@ def _typecheckingstub__947de613103ce26163068b14d3b93b5c2d7f86d29fa6fc5cbd1509b11
|
|
|
12209
12309
|
"""Type checking stubs"""
|
|
12210
12310
|
pass
|
|
12211
12311
|
|
|
12312
|
+
def _typecheckingstub__f259d9da088fb308ad8abebb0fb3aca04739c87fd2ed5561a20074f8e2458d5a(
|
|
12313
|
+
*,
|
|
12314
|
+
name: builtins.str,
|
|
12315
|
+
value: builtins.str,
|
|
12316
|
+
) -> None:
|
|
12317
|
+
"""Type checking stubs"""
|
|
12318
|
+
pass
|
|
12319
|
+
|
|
12212
12320
|
def _typecheckingstub__24827e49ed35c3622e48ed5d5a7874646b28153667949aaac3a40638392631b8(
|
|
12213
12321
|
*,
|
|
12214
12322
|
conditions: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnPipeline.ConditionProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
aws_cdk/aws_cognito/__init__.py
CHANGED
|
@@ -4522,7 +4522,7 @@ class CfnManagedLoginBranding(
|
|
|
4522
4522
|
:param client_id: The app client that's assigned to the branding style that you want more information about.
|
|
4523
4523
|
:param return_merged_resources: When ``true`` , returns values for branding options that are unchanged from Amazon Cognito defaults. When ``false`` or when you omit this parameter, returns only values that you customized in your branding style.
|
|
4524
4524
|
:param settings: A JSON file, encoded as a ``Document`` type, with the the settings that you want to apply to your style.
|
|
4525
|
-
:param use_cognito_provided_values: When true, applies the default branding style options. This option reverts to default style options that are managed by Amazon Cognito. You can modify them later in the branding
|
|
4525
|
+
:param use_cognito_provided_values: When true, applies the default branding style options. This option reverts to default style options that are managed by Amazon Cognito. You can modify them later in the branding editor. When you specify ``true`` for this option, you must also omit values for ``Settings`` and ``Assets`` in the request.
|
|
4526
4526
|
'''
|
|
4527
4527
|
if __debug__:
|
|
4528
4528
|
type_hints = typing.get_type_hints(_typecheckingstub__478f8899894ffccc3f20b06ae18c36beb41bf5c5c9aa65a99dbdbf95ce00be03)
|
|
@@ -4835,7 +4835,7 @@ class CfnManagedLoginBrandingProps:
|
|
|
4835
4835
|
:param client_id: The app client that's assigned to the branding style that you want more information about.
|
|
4836
4836
|
:param return_merged_resources: When ``true`` , returns values for branding options that are unchanged from Amazon Cognito defaults. When ``false`` or when you omit this parameter, returns only values that you customized in your branding style.
|
|
4837
4837
|
:param settings: A JSON file, encoded as a ``Document`` type, with the the settings that you want to apply to your style.
|
|
4838
|
-
:param use_cognito_provided_values: When true, applies the default branding style options. This option reverts to default style options that are managed by Amazon Cognito. You can modify them later in the branding
|
|
4838
|
+
:param use_cognito_provided_values: When true, applies the default branding style options. This option reverts to default style options that are managed by Amazon Cognito. You can modify them later in the branding editor. When you specify ``true`` for this option, you must also omit values for ``Settings`` and ``Assets`` in the request.
|
|
4839
4839
|
|
|
4840
4840
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-managedloginbranding.html
|
|
4841
4841
|
:exampleMetadata: fixture=_generated
|
|
@@ -4949,7 +4949,7 @@ class CfnManagedLoginBrandingProps:
|
|
|
4949
4949
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4950
4950
|
'''When true, applies the default branding style options.
|
|
4951
4951
|
|
|
4952
|
-
This option reverts to default style options that are managed by Amazon Cognito. You can modify them later in the branding
|
|
4952
|
+
This option reverts to default style options that are managed by Amazon Cognito. You can modify them later in the branding editor.
|
|
4953
4953
|
|
|
4954
4954
|
When you specify ``true`` for this option, you must also omit values for ``Settings`` and ``Assets`` in the request.
|
|
4955
4955
|
|
|
@@ -8124,6 +8124,7 @@ class CfnUserPoolClient(
|
|
|
8124
8124
|
logout_ur_ls: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8125
8125
|
prevent_user_existence_errors: typing.Optional[builtins.str] = None,
|
|
8126
8126
|
read_attributes: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8127
|
+
refresh_token_rotation: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserPoolClient.RefreshTokenRotationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8127
8128
|
refresh_token_validity: typing.Optional[jsii.Number] = None,
|
|
8128
8129
|
supported_identity_providers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8129
8130
|
token_validity_units: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserPoolClient.TokenValidityUnitsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -8150,6 +8151,7 @@ class CfnUserPoolClient(
|
|
|
8150
8151
|
:param logout_ur_ls: A list of allowed logout URLs for managed login authentication. When you pass ``logout_uri`` and ``client_id`` parameters to ``/logout`` , Amazon Cognito signs out your user and redirects them to the logout URL. This parameter describes the URLs that you want to be the permitted targets of ``logout_uri`` . A typical use of these URLs is when a user selects "Sign out" and you redirect them to your public homepage. For more information, see `Logout endpoint <https://docs.aws.amazon.com/cognito/latest/developerguide/logout-endpoint.html>`_ .
|
|
8151
8152
|
:param prevent_user_existence_errors: Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist in the user pool. When set to ``ENABLED`` and the user doesn't exist, authentication returns an error indicating either the username or password was incorrect. Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to ``LEGACY`` , those APIs return a ``UserNotFoundException`` exception if the user doesn't exist in the user pool. Valid values include: - ``ENABLED`` - This prevents user existence-related errors. - ``LEGACY`` - This represents the early behavior of Amazon Cognito where user existence related errors aren't prevented. Defaults to ``LEGACY`` when you don't provide a value.
|
|
8152
8153
|
:param read_attributes: The list of user attributes that you want your app client to have read access to. After your user authenticates in your app, their access token authorizes them to read their own attribute value for any attribute in this list. An example of this kind of activity is when your user selects a link to view their profile information. When you don't specify the ``ReadAttributes`` for your app client, your app can read the values of ``email_verified`` , ``phone_number_verified`` , and the Standard attributes of your user pool. When your user pool app client has read access to these default attributes, ``ReadAttributes`` doesn't return any information. Amazon Cognito only populates ``ReadAttributes`` in the API response if you have specified your own custom set of read attributes.
|
|
8154
|
+
:param refresh_token_rotation:
|
|
8153
8155
|
:param refresh_token_validity: The refresh token time limit. After this limit expires, your user can't use their refresh token. To specify the time unit for ``RefreshTokenValidity`` as ``seconds`` , ``minutes`` , ``hours`` , or ``days`` , set a ``TokenValidityUnits`` value in your API request. For example, when you set ``RefreshTokenValidity`` as ``10`` and ``TokenValidityUnits`` as ``days`` , your user can refresh their session and retrieve new access and ID tokens for 10 days. The default time unit for ``RefreshTokenValidity`` in an API request is days. You can't set ``RefreshTokenValidity`` to 0. If you do, Amazon Cognito overrides the value with the default value of 30 days. *Valid range* is displayed below in seconds. If you don't specify otherwise in the configuration of your app client, your refresh tokens are valid for 30 days.
|
|
8154
8156
|
:param supported_identity_providers: A list of provider names for the identity providers (IdPs) that are supported on this client. The following are supported: ``COGNITO`` , ``Facebook`` , ``Google`` , ``SignInWithApple`` , and ``LoginWithAmazon`` . You can also specify the names that you configured for the SAML and OIDC IdPs in your user pool, for example ``MySAMLIdP`` or ``MyOIDCIdP`` . This parameter sets the IdPs that `managed login <https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managed-login.html>`_ will display on the login page for your app client. The removal of ``COGNITO`` from this list doesn't prevent authentication operations for local users with the user pools API in an AWS SDK. The only way to prevent SDK-based authentication is to block access with a `AWS WAF rule <https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-waf.html>`_ .
|
|
8155
8157
|
:param token_validity_units: The units that validity times are represented in. The default unit for refresh tokens is days, and the default for ID and access tokens are hours.
|
|
@@ -8178,6 +8180,7 @@ class CfnUserPoolClient(
|
|
|
8178
8180
|
logout_ur_ls=logout_ur_ls,
|
|
8179
8181
|
prevent_user_existence_errors=prevent_user_existence_errors,
|
|
8180
8182
|
read_attributes=read_attributes,
|
|
8183
|
+
refresh_token_rotation=refresh_token_rotation,
|
|
8181
8184
|
refresh_token_validity=refresh_token_validity,
|
|
8182
8185
|
supported_identity_providers=supported_identity_providers,
|
|
8183
8186
|
token_validity_units=token_validity_units,
|
|
@@ -8520,6 +8523,23 @@ class CfnUserPoolClient(
|
|
|
8520
8523
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8521
8524
|
jsii.set(self, "readAttributes", value) # pyright: ignore[reportArgumentType]
|
|
8522
8525
|
|
|
8526
|
+
@builtins.property
|
|
8527
|
+
@jsii.member(jsii_name="refreshTokenRotation")
|
|
8528
|
+
def refresh_token_rotation(
|
|
8529
|
+
self,
|
|
8530
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserPoolClient.RefreshTokenRotationProperty"]]:
|
|
8531
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserPoolClient.RefreshTokenRotationProperty"]], jsii.get(self, "refreshTokenRotation"))
|
|
8532
|
+
|
|
8533
|
+
@refresh_token_rotation.setter
|
|
8534
|
+
def refresh_token_rotation(
|
|
8535
|
+
self,
|
|
8536
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserPoolClient.RefreshTokenRotationProperty"]],
|
|
8537
|
+
) -> None:
|
|
8538
|
+
if __debug__:
|
|
8539
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0bbedb8c9ce56c5989c32027dce03245fe2e0733c111bf0e0c1447818d50a781)
|
|
8540
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8541
|
+
jsii.set(self, "refreshTokenRotation", value) # pyright: ignore[reportArgumentType]
|
|
8542
|
+
|
|
8523
8543
|
@builtins.property
|
|
8524
8544
|
@jsii.member(jsii_name="refreshTokenValidity")
|
|
8525
8545
|
def refresh_token_validity(self) -> typing.Optional[jsii.Number]:
|
|
@@ -8714,6 +8734,76 @@ class CfnUserPoolClient(
|
|
|
8714
8734
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
8715
8735
|
)
|
|
8716
8736
|
|
|
8737
|
+
@jsii.data_type(
|
|
8738
|
+
jsii_type="aws-cdk-lib.aws_cognito.CfnUserPoolClient.RefreshTokenRotationProperty",
|
|
8739
|
+
jsii_struct_bases=[],
|
|
8740
|
+
name_mapping={
|
|
8741
|
+
"feature": "feature",
|
|
8742
|
+
"retry_grace_period_seconds": "retryGracePeriodSeconds",
|
|
8743
|
+
},
|
|
8744
|
+
)
|
|
8745
|
+
class RefreshTokenRotationProperty:
|
|
8746
|
+
def __init__(
|
|
8747
|
+
self,
|
|
8748
|
+
*,
|
|
8749
|
+
feature: typing.Optional[builtins.str] = None,
|
|
8750
|
+
retry_grace_period_seconds: typing.Optional[jsii.Number] = None,
|
|
8751
|
+
) -> None:
|
|
8752
|
+
'''
|
|
8753
|
+
:param feature:
|
|
8754
|
+
:param retry_grace_period_seconds:
|
|
8755
|
+
|
|
8756
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-refreshtokenrotation.html
|
|
8757
|
+
:exampleMetadata: fixture=_generated
|
|
8758
|
+
|
|
8759
|
+
Example::
|
|
8760
|
+
|
|
8761
|
+
# The code below shows an example of how to instantiate this type.
|
|
8762
|
+
# The values are placeholders you should change.
|
|
8763
|
+
from aws_cdk import aws_cognito as cognito
|
|
8764
|
+
|
|
8765
|
+
refresh_token_rotation_property = cognito.CfnUserPoolClient.RefreshTokenRotationProperty(
|
|
8766
|
+
feature="feature",
|
|
8767
|
+
retry_grace_period_seconds=123
|
|
8768
|
+
)
|
|
8769
|
+
'''
|
|
8770
|
+
if __debug__:
|
|
8771
|
+
type_hints = typing.get_type_hints(_typecheckingstub__695b10a90bf402ec0a4a1ee7c779f22b60df9baa874511aa2a177fac5b949f3f)
|
|
8772
|
+
check_type(argname="argument feature", value=feature, expected_type=type_hints["feature"])
|
|
8773
|
+
check_type(argname="argument retry_grace_period_seconds", value=retry_grace_period_seconds, expected_type=type_hints["retry_grace_period_seconds"])
|
|
8774
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8775
|
+
if feature is not None:
|
|
8776
|
+
self._values["feature"] = feature
|
|
8777
|
+
if retry_grace_period_seconds is not None:
|
|
8778
|
+
self._values["retry_grace_period_seconds"] = retry_grace_period_seconds
|
|
8779
|
+
|
|
8780
|
+
@builtins.property
|
|
8781
|
+
def feature(self) -> typing.Optional[builtins.str]:
|
|
8782
|
+
'''
|
|
8783
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-refreshtokenrotation.html#cfn-cognito-userpoolclient-refreshtokenrotation-feature
|
|
8784
|
+
'''
|
|
8785
|
+
result = self._values.get("feature")
|
|
8786
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8787
|
+
|
|
8788
|
+
@builtins.property
|
|
8789
|
+
def retry_grace_period_seconds(self) -> typing.Optional[jsii.Number]:
|
|
8790
|
+
'''
|
|
8791
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-refreshtokenrotation.html#cfn-cognito-userpoolclient-refreshtokenrotation-retrygraceperiodseconds
|
|
8792
|
+
'''
|
|
8793
|
+
result = self._values.get("retry_grace_period_seconds")
|
|
8794
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
8795
|
+
|
|
8796
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8797
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8798
|
+
|
|
8799
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8800
|
+
return not (rhs == self)
|
|
8801
|
+
|
|
8802
|
+
def __repr__(self) -> str:
|
|
8803
|
+
return "RefreshTokenRotationProperty(%s)" % ", ".join(
|
|
8804
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8805
|
+
)
|
|
8806
|
+
|
|
8717
8807
|
@jsii.data_type(
|
|
8718
8808
|
jsii_type="aws-cdk-lib.aws_cognito.CfnUserPoolClient.TokenValidityUnitsProperty",
|
|
8719
8809
|
jsii_struct_bases=[],
|
|
@@ -8834,6 +8924,7 @@ class CfnUserPoolClient(
|
|
|
8834
8924
|
"logout_ur_ls": "logoutUrLs",
|
|
8835
8925
|
"prevent_user_existence_errors": "preventUserExistenceErrors",
|
|
8836
8926
|
"read_attributes": "readAttributes",
|
|
8927
|
+
"refresh_token_rotation": "refreshTokenRotation",
|
|
8837
8928
|
"refresh_token_validity": "refreshTokenValidity",
|
|
8838
8929
|
"supported_identity_providers": "supportedIdentityProviders",
|
|
8839
8930
|
"token_validity_units": "tokenValidityUnits",
|
|
@@ -8862,6 +8953,7 @@ class CfnUserPoolClientProps:
|
|
|
8862
8953
|
logout_ur_ls: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8863
8954
|
prevent_user_existence_errors: typing.Optional[builtins.str] = None,
|
|
8864
8955
|
read_attributes: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8956
|
+
refresh_token_rotation: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserPoolClient.RefreshTokenRotationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8865
8957
|
refresh_token_validity: typing.Optional[jsii.Number] = None,
|
|
8866
8958
|
supported_identity_providers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8867
8959
|
token_validity_units: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserPoolClient.TokenValidityUnitsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -8887,6 +8979,7 @@ class CfnUserPoolClientProps:
|
|
|
8887
8979
|
:param logout_ur_ls: A list of allowed logout URLs for managed login authentication. When you pass ``logout_uri`` and ``client_id`` parameters to ``/logout`` , Amazon Cognito signs out your user and redirects them to the logout URL. This parameter describes the URLs that you want to be the permitted targets of ``logout_uri`` . A typical use of these URLs is when a user selects "Sign out" and you redirect them to your public homepage. For more information, see `Logout endpoint <https://docs.aws.amazon.com/cognito/latest/developerguide/logout-endpoint.html>`_ .
|
|
8888
8980
|
:param prevent_user_existence_errors: Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist in the user pool. When set to ``ENABLED`` and the user doesn't exist, authentication returns an error indicating either the username or password was incorrect. Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to ``LEGACY`` , those APIs return a ``UserNotFoundException`` exception if the user doesn't exist in the user pool. Valid values include: - ``ENABLED`` - This prevents user existence-related errors. - ``LEGACY`` - This represents the early behavior of Amazon Cognito where user existence related errors aren't prevented. Defaults to ``LEGACY`` when you don't provide a value.
|
|
8889
8981
|
:param read_attributes: The list of user attributes that you want your app client to have read access to. After your user authenticates in your app, their access token authorizes them to read their own attribute value for any attribute in this list. An example of this kind of activity is when your user selects a link to view their profile information. When you don't specify the ``ReadAttributes`` for your app client, your app can read the values of ``email_verified`` , ``phone_number_verified`` , and the Standard attributes of your user pool. When your user pool app client has read access to these default attributes, ``ReadAttributes`` doesn't return any information. Amazon Cognito only populates ``ReadAttributes`` in the API response if you have specified your own custom set of read attributes.
|
|
8982
|
+
:param refresh_token_rotation:
|
|
8890
8983
|
:param refresh_token_validity: The refresh token time limit. After this limit expires, your user can't use their refresh token. To specify the time unit for ``RefreshTokenValidity`` as ``seconds`` , ``minutes`` , ``hours`` , or ``days`` , set a ``TokenValidityUnits`` value in your API request. For example, when you set ``RefreshTokenValidity`` as ``10`` and ``TokenValidityUnits`` as ``days`` , your user can refresh their session and retrieve new access and ID tokens for 10 days. The default time unit for ``RefreshTokenValidity`` in an API request is days. You can't set ``RefreshTokenValidity`` to 0. If you do, Amazon Cognito overrides the value with the default value of 30 days. *Valid range* is displayed below in seconds. If you don't specify otherwise in the configuration of your app client, your refresh tokens are valid for 30 days.
|
|
8891
8984
|
:param supported_identity_providers: A list of provider names for the identity providers (IdPs) that are supported on this client. The following are supported: ``COGNITO`` , ``Facebook`` , ``Google`` , ``SignInWithApple`` , and ``LoginWithAmazon`` . You can also specify the names that you configured for the SAML and OIDC IdPs in your user pool, for example ``MySAMLIdP`` or ``MyOIDCIdP`` . This parameter sets the IdPs that `managed login <https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managed-login.html>`_ will display on the login page for your app client. The removal of ``COGNITO`` from this list doesn't prevent authentication operations for local users with the user pools API in an AWS SDK. The only way to prevent SDK-based authentication is to block access with a `AWS WAF rule <https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-waf.html>`_ .
|
|
8892
8985
|
:param token_validity_units: The units that validity times are represented in. The default unit for refresh tokens is days, and the default for ID and access tokens are hours.
|
|
@@ -8928,6 +9021,10 @@ class CfnUserPoolClientProps:
|
|
|
8928
9021
|
logout_ur_ls=["logoutUrLs"],
|
|
8929
9022
|
prevent_user_existence_errors="preventUserExistenceErrors",
|
|
8930
9023
|
read_attributes=["readAttributes"],
|
|
9024
|
+
refresh_token_rotation=cognito.CfnUserPoolClient.RefreshTokenRotationProperty(
|
|
9025
|
+
feature="feature",
|
|
9026
|
+
retry_grace_period_seconds=123
|
|
9027
|
+
),
|
|
8931
9028
|
refresh_token_validity=123,
|
|
8932
9029
|
supported_identity_providers=["supportedIdentityProviders"],
|
|
8933
9030
|
token_validity_units=cognito.CfnUserPoolClient.TokenValidityUnitsProperty(
|
|
@@ -8958,6 +9055,7 @@ class CfnUserPoolClientProps:
|
|
|
8958
9055
|
check_type(argname="argument logout_ur_ls", value=logout_ur_ls, expected_type=type_hints["logout_ur_ls"])
|
|
8959
9056
|
check_type(argname="argument prevent_user_existence_errors", value=prevent_user_existence_errors, expected_type=type_hints["prevent_user_existence_errors"])
|
|
8960
9057
|
check_type(argname="argument read_attributes", value=read_attributes, expected_type=type_hints["read_attributes"])
|
|
9058
|
+
check_type(argname="argument refresh_token_rotation", value=refresh_token_rotation, expected_type=type_hints["refresh_token_rotation"])
|
|
8961
9059
|
check_type(argname="argument refresh_token_validity", value=refresh_token_validity, expected_type=type_hints["refresh_token_validity"])
|
|
8962
9060
|
check_type(argname="argument supported_identity_providers", value=supported_identity_providers, expected_type=type_hints["supported_identity_providers"])
|
|
8963
9061
|
check_type(argname="argument token_validity_units", value=token_validity_units, expected_type=type_hints["token_validity_units"])
|
|
@@ -8999,6 +9097,8 @@ class CfnUserPoolClientProps:
|
|
|
8999
9097
|
self._values["prevent_user_existence_errors"] = prevent_user_existence_errors
|
|
9000
9098
|
if read_attributes is not None:
|
|
9001
9099
|
self._values["read_attributes"] = read_attributes
|
|
9100
|
+
if refresh_token_rotation is not None:
|
|
9101
|
+
self._values["refresh_token_rotation"] = refresh_token_rotation
|
|
9002
9102
|
if refresh_token_validity is not None:
|
|
9003
9103
|
self._values["refresh_token_validity"] = refresh_token_validity
|
|
9004
9104
|
if supported_identity_providers is not None:
|
|
@@ -9277,6 +9377,16 @@ class CfnUserPoolClientProps:
|
|
|
9277
9377
|
result = self._values.get("read_attributes")
|
|
9278
9378
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
9279
9379
|
|
|
9380
|
+
@builtins.property
|
|
9381
|
+
def refresh_token_rotation(
|
|
9382
|
+
self,
|
|
9383
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnUserPoolClient.RefreshTokenRotationProperty]]:
|
|
9384
|
+
'''
|
|
9385
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-refreshtokenrotation
|
|
9386
|
+
'''
|
|
9387
|
+
result = self._values.get("refresh_token_rotation")
|
|
9388
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnUserPoolClient.RefreshTokenRotationProperty]], result)
|
|
9389
|
+
|
|
9280
9390
|
@builtins.property
|
|
9281
9391
|
def refresh_token_validity(self) -> typing.Optional[jsii.Number]:
|
|
9282
9392
|
'''The refresh token time limit.
|
|
@@ -9397,7 +9507,7 @@ class CfnUserPoolDomain(
|
|
|
9397
9507
|
:param domain: The name of the domain that you want to update. For custom domains, this is the fully-qualified domain name, for example ``auth.example.com`` . For prefix domains, this is the prefix alone, such as ``myprefix`` .
|
|
9398
9508
|
:param user_pool_id: The ID of the user pool that is associated with the domain you're updating.
|
|
9399
9509
|
:param custom_domain_config: The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM. When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain.
|
|
9400
|
-
:param managed_login_version: A version number that indicates the state of managed login for your domain. Version ``1`` is hosted UI (classic). Version ``2`` is the newer managed login with the branding
|
|
9510
|
+
:param managed_login_version: A version number that indicates the state of managed login for your domain. Version ``1`` is hosted UI (classic). Version ``2`` is the newer managed login with the branding editor. For more information, see `Managed login <https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managed-login.html>`_ .
|
|
9401
9511
|
'''
|
|
9402
9512
|
if __debug__:
|
|
9403
9513
|
type_hints = typing.get_type_hints(_typecheckingstub__6e0b36c4d155cfdfa9801e3f221c4fe6c5403bf24a64d17bd90fb5386301d675)
|
|
@@ -9595,7 +9705,7 @@ class CfnUserPoolDomainProps:
|
|
|
9595
9705
|
:param domain: The name of the domain that you want to update. For custom domains, this is the fully-qualified domain name, for example ``auth.example.com`` . For prefix domains, this is the prefix alone, such as ``myprefix`` .
|
|
9596
9706
|
:param user_pool_id: The ID of the user pool that is associated with the domain you're updating.
|
|
9597
9707
|
:param custom_domain_config: The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM. When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain.
|
|
9598
|
-
:param managed_login_version: A version number that indicates the state of managed login for your domain. Version ``1`` is hosted UI (classic). Version ``2`` is the newer managed login with the branding
|
|
9708
|
+
:param managed_login_version: A version number that indicates the state of managed login for your domain. Version ``1`` is hosted UI (classic). Version ``2`` is the newer managed login with the branding editor. For more information, see `Managed login <https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managed-login.html>`_ .
|
|
9599
9709
|
|
|
9600
9710
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooldomain.html
|
|
9601
9711
|
:exampleMetadata: fixture=_generated
|
|
@@ -9673,7 +9783,7 @@ class CfnUserPoolDomainProps:
|
|
|
9673
9783
|
def managed_login_version(self) -> typing.Optional[jsii.Number]:
|
|
9674
9784
|
'''A version number that indicates the state of managed login for your domain.
|
|
9675
9785
|
|
|
9676
|
-
Version ``1`` is hosted UI (classic). Version ``2`` is the newer managed login with the branding
|
|
9786
|
+
Version ``1`` is hosted UI (classic). Version ``2`` is the newer managed login with the branding editor. For more information, see `Managed login <https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-managed-login.html>`_ .
|
|
9677
9787
|
|
|
9678
9788
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooldomain.html#cfn-cognito-userpooldomain-managedloginversion
|
|
9679
9789
|
'''
|
|
@@ -24706,6 +24816,7 @@ def _typecheckingstub__87712ca9ae8faf9f73a6c5d11987fcf280543ea093bcc4253c800c015
|
|
|
24706
24816
|
logout_ur_ls: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
24707
24817
|
prevent_user_existence_errors: typing.Optional[builtins.str] = None,
|
|
24708
24818
|
read_attributes: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
24819
|
+
refresh_token_rotation: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserPoolClient.RefreshTokenRotationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
24709
24820
|
refresh_token_validity: typing.Optional[jsii.Number] = None,
|
|
24710
24821
|
supported_identity_providers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
24711
24822
|
token_validity_units: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserPoolClient.TokenValidityUnitsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -24834,6 +24945,12 @@ def _typecheckingstub__d0450b9a1c4091ecc8dc0197c1b8b862535cb1a705df2e839371c83db
|
|
|
24834
24945
|
"""Type checking stubs"""
|
|
24835
24946
|
pass
|
|
24836
24947
|
|
|
24948
|
+
def _typecheckingstub__0bbedb8c9ce56c5989c32027dce03245fe2e0733c111bf0e0c1447818d50a781(
|
|
24949
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnUserPoolClient.RefreshTokenRotationProperty]],
|
|
24950
|
+
) -> None:
|
|
24951
|
+
"""Type checking stubs"""
|
|
24952
|
+
pass
|
|
24953
|
+
|
|
24837
24954
|
def _typecheckingstub__ffd4a00853573a9063ab6bfb4bd488904d41fa8453a02d33cc8b44f6638125c5(
|
|
24838
24955
|
value: typing.Optional[jsii.Number],
|
|
24839
24956
|
) -> None:
|
|
@@ -24869,6 +24986,14 @@ def _typecheckingstub__6d6536363f7e284c6e3822670ff24aa20b4a6cc176e0e696a1702da00
|
|
|
24869
24986
|
"""Type checking stubs"""
|
|
24870
24987
|
pass
|
|
24871
24988
|
|
|
24989
|
+
def _typecheckingstub__695b10a90bf402ec0a4a1ee7c779f22b60df9baa874511aa2a177fac5b949f3f(
|
|
24990
|
+
*,
|
|
24991
|
+
feature: typing.Optional[builtins.str] = None,
|
|
24992
|
+
retry_grace_period_seconds: typing.Optional[jsii.Number] = None,
|
|
24993
|
+
) -> None:
|
|
24994
|
+
"""Type checking stubs"""
|
|
24995
|
+
pass
|
|
24996
|
+
|
|
24872
24997
|
def _typecheckingstub__7b0535ba992a4a94b92b965971fc09c8b8c0a72362c42aaf98b5ae4cbef4d7e6(
|
|
24873
24998
|
*,
|
|
24874
24999
|
access_token: typing.Optional[builtins.str] = None,
|
|
@@ -24898,6 +25023,7 @@ def _typecheckingstub__073ea5893b9cfc70c0362e57cd0c1b5397e1c6374434fc1d5c261da79
|
|
|
24898
25023
|
logout_ur_ls: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
24899
25024
|
prevent_user_existence_errors: typing.Optional[builtins.str] = None,
|
|
24900
25025
|
read_attributes: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
25026
|
+
refresh_token_rotation: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserPoolClient.RefreshTokenRotationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
24901
25027
|
refresh_token_validity: typing.Optional[jsii.Number] = None,
|
|
24902
25028
|
supported_identity_providers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
24903
25029
|
token_validity_units: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserPoolClient.TokenValidityUnitsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|