aws-cdk-lib 2.118.0__py3-none-any.whl → 2.119.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 +4 -0
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.118.0.jsii.tgz → aws-cdk-lib@2.119.0.jsii.tgz} +0 -0
- aws_cdk/amzn_sdc/__init__.py +496 -0
- aws_cdk/aws_appsync/__init__.py +23 -9
- aws_cdk/aws_certificatemanager/__init__.py +164 -3
- aws_cdk/aws_cloud9/__init__.py +3 -3
- aws_cdk/aws_cloudfront/__init__.py +105 -5
- aws_cdk/aws_cloudtrail/__init__.py +54 -34
- aws_cdk/aws_cloudwatch_actions/__init__.py +105 -0
- aws_cdk/aws_codebuild/__init__.py +1 -0
- aws_cdk/aws_codecommit/__init__.py +9 -3
- aws_cdk/aws_codetest/__init__.py +788 -0
- aws_cdk/aws_cognito/__init__.py +104 -0
- aws_cdk/aws_connect/__init__.py +626 -78
- aws_cdk/aws_docdb/__init__.py +442 -0
- aws_cdk/aws_dynamodb/__init__.py +14 -0
- aws_cdk/aws_ec2/__init__.py +372 -44
- aws_cdk/aws_emrserverless/__init__.py +20 -13
- aws_cdk/aws_events/__init__.py +90 -1
- aws_cdk/aws_fis/__init__.py +12 -32
- aws_cdk/aws_globalaccelerator/__init__.py +19 -0
- aws_cdk/aws_glue/__init__.py +329 -0
- aws_cdk/aws_iam/__init__.py +30 -24
- aws_cdk/aws_iot/__init__.py +112 -0
- aws_cdk/aws_iotsitewise/__init__.py +4 -4
- aws_cdk/aws_kendra/__init__.py +10 -5
- aws_cdk/aws_kinesisfirehose/__init__.py +111 -0
- aws_cdk/aws_location/__init__.py +1132 -17
- aws_cdk/aws_mediatailor/__init__.py +120 -17
- aws_cdk/aws_networkfirewall/__init__.py +2 -2
- aws_cdk/aws_networkmanager/__init__.py +1 -1
- aws_cdk/aws_omics/__init__.py +4 -4
- aws_cdk/aws_opensearchservice/__init__.py +2 -0
- aws_cdk/aws_pinpoint/__init__.py +14 -6
- aws_cdk/aws_pipes/__init__.py +7 -2
- aws_cdk/aws_rds/__init__.py +15 -9
- aws_cdk/aws_redshift/__init__.py +103 -0
- aws_cdk/aws_route53/__init__.py +68 -20
- aws_cdk/aws_s3/__init__.py +2 -4
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -3
- aws_cdk/aws_signer/__init__.py +27 -4
- aws_cdk/aws_ssm/__init__.py +76 -13
- aws_cdk/aws_stepfunctions/__init__.py +110 -5
- aws_cdk/pipelines/__init__.py +136 -37
- {aws_cdk_lib-2.118.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/METADATA +2 -2
- {aws_cdk_lib-2.118.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/RECORD +52 -50
- {aws_cdk_lib-2.118.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.118.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.118.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.118.0.dist-info → aws_cdk_lib-2.119.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_cognito/__init__.py
CHANGED
|
@@ -3653,6 +3653,10 @@ class CfnUserPool(
|
|
|
3653
3653
|
pre_authentication="preAuthentication",
|
|
3654
3654
|
pre_sign_up="preSignUp",
|
|
3655
3655
|
pre_token_generation="preTokenGeneration",
|
|
3656
|
+
pre_token_generation_config=cognito.CfnUserPool.PreTokenGenerationConfigProperty(
|
|
3657
|
+
lambda_arn="lambdaArn",
|
|
3658
|
+
lambda_version="lambdaVersion"
|
|
3659
|
+
),
|
|
3656
3660
|
user_migration="userMigration",
|
|
3657
3661
|
verify_auth_challenge_response="verifyAuthChallengeResponse"
|
|
3658
3662
|
),
|
|
@@ -4933,6 +4937,7 @@ class CfnUserPool(
|
|
|
4933
4937
|
"pre_authentication": "preAuthentication",
|
|
4934
4938
|
"pre_sign_up": "preSignUp",
|
|
4935
4939
|
"pre_token_generation": "preTokenGeneration",
|
|
4940
|
+
"pre_token_generation_config": "preTokenGenerationConfig",
|
|
4936
4941
|
"user_migration": "userMigration",
|
|
4937
4942
|
"verify_auth_challenge_response": "verifyAuthChallengeResponse",
|
|
4938
4943
|
},
|
|
@@ -4952,6 +4957,7 @@ class CfnUserPool(
|
|
|
4952
4957
|
pre_authentication: typing.Optional[builtins.str] = None,
|
|
4953
4958
|
pre_sign_up: typing.Optional[builtins.str] = None,
|
|
4954
4959
|
pre_token_generation: typing.Optional[builtins.str] = None,
|
|
4960
|
+
pre_token_generation_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserPool.PreTokenGenerationConfigProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4955
4961
|
user_migration: typing.Optional[builtins.str] = None,
|
|
4956
4962
|
verify_auth_challenge_response: typing.Optional[builtins.str] = None,
|
|
4957
4963
|
) -> None:
|
|
@@ -4968,6 +4974,7 @@ class CfnUserPool(
|
|
|
4968
4974
|
:param pre_authentication: A pre-authentication AWS Lambda trigger.
|
|
4969
4975
|
:param pre_sign_up: A pre-registration AWS Lambda trigger.
|
|
4970
4976
|
:param pre_token_generation: The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger. Set this parameter for legacy purposes. If you also set an ARN in ``PreTokenGenerationConfig`` , its value must be identical to ``PreTokenGeneration`` . For new instances of pre token generation triggers, set the ``LambdaArn`` of ``PreTokenGenerationConfig`` . You can set ``
|
|
4977
|
+
:param pre_token_generation_config:
|
|
4971
4978
|
:param user_migration: The user migration Lambda config type.
|
|
4972
4979
|
:param verify_auth_challenge_response: Verifies the authentication challenge response.
|
|
4973
4980
|
|
|
@@ -4998,6 +5005,10 @@ class CfnUserPool(
|
|
|
4998
5005
|
pre_authentication="preAuthentication",
|
|
4999
5006
|
pre_sign_up="preSignUp",
|
|
5000
5007
|
pre_token_generation="preTokenGeneration",
|
|
5008
|
+
pre_token_generation_config=cognito.CfnUserPool.PreTokenGenerationConfigProperty(
|
|
5009
|
+
lambda_arn="lambdaArn",
|
|
5010
|
+
lambda_version="lambdaVersion"
|
|
5011
|
+
),
|
|
5001
5012
|
user_migration="userMigration",
|
|
5002
5013
|
verify_auth_challenge_response="verifyAuthChallengeResponse"
|
|
5003
5014
|
)
|
|
@@ -5015,6 +5026,7 @@ class CfnUserPool(
|
|
|
5015
5026
|
check_type(argname="argument pre_authentication", value=pre_authentication, expected_type=type_hints["pre_authentication"])
|
|
5016
5027
|
check_type(argname="argument pre_sign_up", value=pre_sign_up, expected_type=type_hints["pre_sign_up"])
|
|
5017
5028
|
check_type(argname="argument pre_token_generation", value=pre_token_generation, expected_type=type_hints["pre_token_generation"])
|
|
5029
|
+
check_type(argname="argument pre_token_generation_config", value=pre_token_generation_config, expected_type=type_hints["pre_token_generation_config"])
|
|
5018
5030
|
check_type(argname="argument user_migration", value=user_migration, expected_type=type_hints["user_migration"])
|
|
5019
5031
|
check_type(argname="argument verify_auth_challenge_response", value=verify_auth_challenge_response, expected_type=type_hints["verify_auth_challenge_response"])
|
|
5020
5032
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
@@ -5040,6 +5052,8 @@ class CfnUserPool(
|
|
|
5040
5052
|
self._values["pre_sign_up"] = pre_sign_up
|
|
5041
5053
|
if pre_token_generation is not None:
|
|
5042
5054
|
self._values["pre_token_generation"] = pre_token_generation
|
|
5055
|
+
if pre_token_generation_config is not None:
|
|
5056
|
+
self._values["pre_token_generation_config"] = pre_token_generation_config
|
|
5043
5057
|
if user_migration is not None:
|
|
5044
5058
|
self._values["user_migration"] = user_migration
|
|
5045
5059
|
if verify_auth_challenge_response is not None:
|
|
@@ -5154,6 +5168,16 @@ class CfnUserPool(
|
|
|
5154
5168
|
result = self._values.get("pre_token_generation")
|
|
5155
5169
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
5156
5170
|
|
|
5171
|
+
@builtins.property
|
|
5172
|
+
def pre_token_generation_config(
|
|
5173
|
+
self,
|
|
5174
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserPool.PreTokenGenerationConfigProperty"]]:
|
|
5175
|
+
'''
|
|
5176
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-lambdaconfig.html#cfn-cognito-userpool-lambdaconfig-pretokengenerationconfig
|
|
5177
|
+
'''
|
|
5178
|
+
result = self._values.get("pre_token_generation_config")
|
|
5179
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserPool.PreTokenGenerationConfigProperty"]], result)
|
|
5180
|
+
|
|
5157
5181
|
@builtins.property
|
|
5158
5182
|
def user_migration(self) -> typing.Optional[builtins.str]:
|
|
5159
5183
|
'''The user migration Lambda config type.
|
|
@@ -5469,6 +5493,73 @@ class CfnUserPool(
|
|
|
5469
5493
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
5470
5494
|
)
|
|
5471
5495
|
|
|
5496
|
+
@jsii.data_type(
|
|
5497
|
+
jsii_type="aws-cdk-lib.aws_cognito.CfnUserPool.PreTokenGenerationConfigProperty",
|
|
5498
|
+
jsii_struct_bases=[],
|
|
5499
|
+
name_mapping={"lambda_arn": "lambdaArn", "lambda_version": "lambdaVersion"},
|
|
5500
|
+
)
|
|
5501
|
+
class PreTokenGenerationConfigProperty:
|
|
5502
|
+
def __init__(
|
|
5503
|
+
self,
|
|
5504
|
+
*,
|
|
5505
|
+
lambda_arn: typing.Optional[builtins.str] = None,
|
|
5506
|
+
lambda_version: typing.Optional[builtins.str] = None,
|
|
5507
|
+
) -> None:
|
|
5508
|
+
'''
|
|
5509
|
+
:param lambda_arn:
|
|
5510
|
+
:param lambda_version:
|
|
5511
|
+
|
|
5512
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-pretokengenerationconfig.html
|
|
5513
|
+
:exampleMetadata: fixture=_generated
|
|
5514
|
+
|
|
5515
|
+
Example::
|
|
5516
|
+
|
|
5517
|
+
# The code below shows an example of how to instantiate this type.
|
|
5518
|
+
# The values are placeholders you should change.
|
|
5519
|
+
from aws_cdk import aws_cognito as cognito
|
|
5520
|
+
|
|
5521
|
+
pre_token_generation_config_property = cognito.CfnUserPool.PreTokenGenerationConfigProperty(
|
|
5522
|
+
lambda_arn="lambdaArn",
|
|
5523
|
+
lambda_version="lambdaVersion"
|
|
5524
|
+
)
|
|
5525
|
+
'''
|
|
5526
|
+
if __debug__:
|
|
5527
|
+
type_hints = typing.get_type_hints(_typecheckingstub__c435cb573a2ad1bbb4941ea6a84c25f5ac58315d4c18f57c87ed051fdbe8f389)
|
|
5528
|
+
check_type(argname="argument lambda_arn", value=lambda_arn, expected_type=type_hints["lambda_arn"])
|
|
5529
|
+
check_type(argname="argument lambda_version", value=lambda_version, expected_type=type_hints["lambda_version"])
|
|
5530
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5531
|
+
if lambda_arn is not None:
|
|
5532
|
+
self._values["lambda_arn"] = lambda_arn
|
|
5533
|
+
if lambda_version is not None:
|
|
5534
|
+
self._values["lambda_version"] = lambda_version
|
|
5535
|
+
|
|
5536
|
+
@builtins.property
|
|
5537
|
+
def lambda_arn(self) -> typing.Optional[builtins.str]:
|
|
5538
|
+
'''
|
|
5539
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-pretokengenerationconfig.html#cfn-cognito-userpool-pretokengenerationconfig-lambdaarn
|
|
5540
|
+
'''
|
|
5541
|
+
result = self._values.get("lambda_arn")
|
|
5542
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5543
|
+
|
|
5544
|
+
@builtins.property
|
|
5545
|
+
def lambda_version(self) -> typing.Optional[builtins.str]:
|
|
5546
|
+
'''
|
|
5547
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-pretokengenerationconfig.html#cfn-cognito-userpool-pretokengenerationconfig-lambdaversion
|
|
5548
|
+
'''
|
|
5549
|
+
result = self._values.get("lambda_version")
|
|
5550
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
5551
|
+
|
|
5552
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5553
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5554
|
+
|
|
5555
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5556
|
+
return not (rhs == self)
|
|
5557
|
+
|
|
5558
|
+
def __repr__(self) -> str:
|
|
5559
|
+
return "PreTokenGenerationConfigProperty(%s)" % ", ".join(
|
|
5560
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5561
|
+
)
|
|
5562
|
+
|
|
5472
5563
|
@jsii.data_type(
|
|
5473
5564
|
jsii_type="aws-cdk-lib.aws_cognito.CfnUserPool.RecoveryOptionProperty",
|
|
5474
5565
|
jsii_struct_bases=[],
|
|
@@ -8682,6 +8773,10 @@ class CfnUserPoolProps:
|
|
|
8682
8773
|
pre_authentication="preAuthentication",
|
|
8683
8774
|
pre_sign_up="preSignUp",
|
|
8684
8775
|
pre_token_generation="preTokenGeneration",
|
|
8776
|
+
pre_token_generation_config=cognito.CfnUserPool.PreTokenGenerationConfigProperty(
|
|
8777
|
+
lambda_arn="lambdaArn",
|
|
8778
|
+
lambda_version="lambdaVersion"
|
|
8779
|
+
),
|
|
8685
8780
|
user_migration="userMigration",
|
|
8686
8781
|
verify_auth_challenge_response="verifyAuthChallengeResponse"
|
|
8687
8782
|
),
|
|
@@ -21102,6 +21197,7 @@ def _typecheckingstub__7c28f17b2edc8643f21e960e612cea0cf88cbb14e55f37d1bab97e6fe
|
|
|
21102
21197
|
pre_authentication: typing.Optional[builtins.str] = None,
|
|
21103
21198
|
pre_sign_up: typing.Optional[builtins.str] = None,
|
|
21104
21199
|
pre_token_generation: typing.Optional[builtins.str] = None,
|
|
21200
|
+
pre_token_generation_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserPool.PreTokenGenerationConfigProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
21105
21201
|
user_migration: typing.Optional[builtins.str] = None,
|
|
21106
21202
|
verify_auth_challenge_response: typing.Optional[builtins.str] = None,
|
|
21107
21203
|
) -> None:
|
|
@@ -21135,6 +21231,14 @@ def _typecheckingstub__9a9937f0b75c9ab1976e5dbd8fe12631390f6d478c894cb0164171b2f
|
|
|
21135
21231
|
"""Type checking stubs"""
|
|
21136
21232
|
pass
|
|
21137
21233
|
|
|
21234
|
+
def _typecheckingstub__c435cb573a2ad1bbb4941ea6a84c25f5ac58315d4c18f57c87ed051fdbe8f389(
|
|
21235
|
+
*,
|
|
21236
|
+
lambda_arn: typing.Optional[builtins.str] = None,
|
|
21237
|
+
lambda_version: typing.Optional[builtins.str] = None,
|
|
21238
|
+
) -> None:
|
|
21239
|
+
"""Type checking stubs"""
|
|
21240
|
+
pass
|
|
21241
|
+
|
|
21138
21242
|
def _typecheckingstub__c9742a28c55768ed927b752fb7849a5b2cd75a327e7ede06af406eb1c817b9b5(
|
|
21139
21243
|
*,
|
|
21140
21244
|
name: typing.Optional[builtins.str] = None,
|