aws-cdk-lib 2.179.0__py3-none-any.whl → 2.181.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 +92 -34
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.179.0.jsii.tgz → aws-cdk-lib@2.181.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +48 -1
- aws_cdk/aws_apigateway/__init__.py +6 -6
- aws_cdk/aws_appsync/__init__.py +4 -3
- aws_cdk/aws_backup/__init__.py +89 -0
- aws_cdk/aws_batch/__init__.py +89 -50
- aws_cdk/aws_bedrock/__init__.py +1265 -62
- aws_cdk/aws_chatbot/__init__.py +80 -53
- aws_cdk/aws_cloudformation/__init__.py +40 -8
- aws_cdk/aws_cloudfront/__init__.py +1046 -155
- aws_cdk/aws_cloudfront_origins/__init__.py +1338 -144
- aws_cdk/aws_cloudtrail/__init__.py +4 -8
- aws_cdk/aws_cloudwatch/__init__.py +1 -1
- aws_cdk/aws_codebuild/__init__.py +2 -2
- aws_cdk/aws_codepipeline/__init__.py +24 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +28 -1
- aws_cdk/aws_codestar/__init__.py +2 -1
- aws_cdk/aws_cognito/__init__.py +100 -13
- aws_cdk/aws_config/__init__.py +3 -3
- aws_cdk/aws_connect/__init__.py +257 -0
- aws_cdk/aws_datasync/__init__.py +279 -50
- aws_cdk/aws_deadline/__init__.py +683 -6
- aws_cdk/aws_directoryservice/__init__.py +9 -4
- aws_cdk/aws_dlm/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +3 -3
- aws_cdk/aws_dynamodb/__init__.py +4 -58
- aws_cdk/aws_ec2/__init__.py +377 -121
- aws_cdk/aws_ecs/__init__.py +37 -46
- aws_cdk/aws_efs/__init__.py +1 -1
- aws_cdk/aws_eks/__init__.py +19 -13
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +13 -27
- aws_cdk/aws_emrcontainers/__init__.py +44 -1
- aws_cdk/aws_events/__init__.py +8 -11
- aws_cdk/aws_fms/__init__.py +5 -5
- aws_cdk/aws_fsx/__init__.py +5 -4
- aws_cdk/aws_glue/__init__.py +161 -0
- aws_cdk/aws_groundstation/__init__.py +23 -1
- aws_cdk/aws_iam/__init__.py +12 -12
- aws_cdk/aws_iot/__init__.py +7 -0
- aws_cdk/aws_ivs/__init__.py +17 -8
- aws_cdk/aws_kinesis/__init__.py +689 -35
- aws_cdk/aws_lambda/__init__.py +10 -15
- aws_cdk/aws_lambda_event_sources/__init__.py +175 -2
- aws_cdk/aws_medialive/__init__.py +314 -4
- aws_cdk/aws_mediapackagev2/__init__.py +228 -0
- aws_cdk/aws_networkfirewall/__init__.py +3 -3
- aws_cdk/aws_opensearchserverless/__init__.py +31 -8
- aws_cdk/aws_organizations/__init__.py +3 -3
- aws_cdk/aws_pcaconnectorscep/__init__.py +1 -1
- aws_cdk/aws_rds/__init__.py +456 -100
- aws_cdk/aws_s3/__init__.py +278 -0
- aws_cdk/aws_s3objectlambda/__init__.py +2 -2
- aws_cdk/aws_ses/__init__.py +228 -8
- aws_cdk/aws_ssm/__init__.py +9 -10
- aws_cdk/aws_stepfunctions/__init__.py +345 -70
- aws_cdk/aws_stepfunctions_tasks/__init__.py +142 -142
- aws_cdk/aws_supportapp/__init__.py +7 -7
- aws_cdk/aws_transfer/__init__.py +829 -4
- aws_cdk/aws_wafv2/__init__.py +17 -9
- aws_cdk/aws_wisdom/__init__.py +149 -4
- aws_cdk/custom_resources/__init__.py +23 -26
- aws_cdk/cx_api/__init__.py +16 -0
- {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/RECORD +70 -70
- {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.179.0.dist-info → aws_cdk_lib-2.181.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_cognito/__init__.py
CHANGED
|
@@ -35,6 +35,7 @@ This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aw
|
|
|
35
35
|
* [Multi-factor Authentication (MFA)](#multi-factor-authentication-mfa)
|
|
36
36
|
* [Account Recovery Settings](#account-recovery-settings)
|
|
37
37
|
* [Advanced Security Mode](#advanced-security-mode)
|
|
38
|
+
* [Threat Protection](#threat-protection)
|
|
38
39
|
* [Emails](#emails)
|
|
39
40
|
* [Device Tracking](#device-tracking)
|
|
40
41
|
* [Lambda Triggers](#lambda-triggers)
|
|
@@ -472,7 +473,7 @@ A user will not be allowed to reset their password via phone if they are also us
|
|
|
472
473
|
|
|
473
474
|
#### Advanced Security Mode
|
|
474
475
|
|
|
475
|
-
⚠️ Advanced Security Mode is deprecated in favor of [
|
|
476
|
+
⚠️ Advanced Security Mode is deprecated in favor of [Threat Protection](#threat-protection).
|
|
476
477
|
|
|
477
478
|
User pools can be configured to use Advanced security. You can turn the user pool advanced security features on, and customize the actions that are taken in response to different risks. Or you can use audit mode to gather metrics on detected risks without taking action. In audit mode, the advanced security features publish metrics to Amazon CloudWatch. See the [documentation on Advanced security](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html) to learn more.
|
|
478
479
|
|
|
@@ -483,6 +484,15 @@ cognito.UserPool(self, "myuserpool",
|
|
|
483
484
|
)
|
|
484
485
|
```
|
|
485
486
|
|
|
487
|
+
### Threat Protection
|
|
488
|
+
|
|
489
|
+
This feature is only available if your Feature Plan is set to PLUS.
|
|
490
|
+
|
|
491
|
+
Threat Protection can be set to configure enforcement levels and automatic responses for users in password-based and custom-challenge authentication flows.
|
|
492
|
+
For configuration, there are 2 options for standard authentication and custom authentication.
|
|
493
|
+
These are represented with properties `standardThreatProtectionMode` and `customThreatProtectionMode`.
|
|
494
|
+
See the [documentation on Threat Protection](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-threat-protection.html)
|
|
495
|
+
|
|
486
496
|
### Emails
|
|
487
497
|
|
|
488
498
|
Cognito sends emails to users in the user pool, when particular actions take place, such as welcome emails, invitation
|
|
@@ -1349,9 +1359,9 @@ class AccountRecovery(enum.Enum):
|
|
|
1349
1359
|
class AdvancedSecurityMode(enum.Enum):
|
|
1350
1360
|
'''(deprecated) The different ways in which a user pool's Advanced Security Mode can be configured.
|
|
1351
1361
|
|
|
1352
|
-
:deprecated: Advanced Security Mode is deprecated
|
|
1362
|
+
:deprecated: Advanced Security Mode is deprecated due to user pool feature plans. Use StandardThreatProtectionMode and CustomThreatProtectionMode to set Thread Protection level.
|
|
1353
1363
|
|
|
1354
|
-
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-userpooladdons.html
|
|
1364
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-userpooladdons.html
|
|
1355
1365
|
:stability: deprecated
|
|
1356
1366
|
:exampleMetadata: infused
|
|
1357
1367
|
|
|
@@ -9440,15 +9450,6 @@ class CfnUserPoolDomain(
|
|
|
9440
9450
|
'''
|
|
9441
9451
|
return typing.cast(builtins.str, jsii.get(self, "attrCloudFrontDistribution"))
|
|
9442
9452
|
|
|
9443
|
-
@builtins.property
|
|
9444
|
-
@jsii.member(jsii_name="attrId")
|
|
9445
|
-
def attr_id(self) -> builtins.str:
|
|
9446
|
-
'''The resource ID.
|
|
9447
|
-
|
|
9448
|
-
:cloudformationAttribute: Id
|
|
9449
|
-
'''
|
|
9450
|
-
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
9451
|
-
|
|
9452
9453
|
@builtins.property
|
|
9453
9454
|
@jsii.member(jsii_name="cfnProperties")
|
|
9454
9455
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
@@ -14053,6 +14054,21 @@ class CustomDomainOptions:
|
|
|
14053
14054
|
)
|
|
14054
14055
|
|
|
14055
14056
|
|
|
14057
|
+
@jsii.enum(jsii_type="aws-cdk-lib.aws_cognito.CustomThreatProtectionMode")
|
|
14058
|
+
class CustomThreatProtectionMode(enum.Enum):
|
|
14059
|
+
'''The Type of Threat Protection Enabled for Custom Authentication.
|
|
14060
|
+
|
|
14061
|
+
This feature only functions if your FeaturePlan is set to FeaturePlan.PLUS
|
|
14062
|
+
|
|
14063
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-userpooladdons.html
|
|
14064
|
+
'''
|
|
14065
|
+
|
|
14066
|
+
FULL_FUNCTION = "FULL_FUNCTION"
|
|
14067
|
+
'''Cognito automatically takes preventative actions in response to different levels of risk that you configure for your user pool.'''
|
|
14068
|
+
AUDIT_ONLY = "AUDIT_ONLY"
|
|
14069
|
+
'''Cognito gathers metrics on detected risks, but doesn't take automatic action.'''
|
|
14070
|
+
|
|
14071
|
+
|
|
14056
14072
|
@jsii.data_type(
|
|
14057
14073
|
jsii_type="aws-cdk-lib.aws_cognito.DeviceTracking",
|
|
14058
14074
|
jsii_struct_bases=[],
|
|
@@ -17390,6 +17406,23 @@ class StandardAttributesMask:
|
|
|
17390
17406
|
)
|
|
17391
17407
|
|
|
17392
17408
|
|
|
17409
|
+
@jsii.enum(jsii_type="aws-cdk-lib.aws_cognito.StandardThreatProtectionMode")
|
|
17410
|
+
class StandardThreatProtectionMode(enum.Enum):
|
|
17411
|
+
'''The Type of Threat Protection Enabled for Standard Authentication.
|
|
17412
|
+
|
|
17413
|
+
This feature only functions if your FeaturePlan is set to FeaturePlan.PLUS
|
|
17414
|
+
|
|
17415
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-userpooladdons.html
|
|
17416
|
+
'''
|
|
17417
|
+
|
|
17418
|
+
FULL_FUNCTION = "FULL_FUNCTION"
|
|
17419
|
+
'''Cognito automatically takes preventative actions in response to different levels of risk that you configure for your user pool.'''
|
|
17420
|
+
AUDIT_ONLY = "AUDIT_ONLY"
|
|
17421
|
+
'''Cognito gathers metrics on detected risks, but doesn't take automatic action.'''
|
|
17422
|
+
NO_ENFORCEMENT = "NO_ENFORCEMENT"
|
|
17423
|
+
'''Cognito doesn't gather metrics on detected risks or automatically take preventative actions.'''
|
|
17424
|
+
|
|
17425
|
+
|
|
17393
17426
|
@jsii.implements(ICustomAttribute)
|
|
17394
17427
|
class StringAttribute(
|
|
17395
17428
|
metaclass=jsii.JSIIMeta,
|
|
@@ -17736,6 +17769,7 @@ class UserPool(
|
|
|
17736
17769
|
auto_verify: typing.Optional[typing.Union[AutoVerifiedAttrs, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
17737
17770
|
custom_attributes: typing.Optional[typing.Mapping[builtins.str, ICustomAttribute]] = None,
|
|
17738
17771
|
custom_sender_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
17772
|
+
custom_threat_protection_mode: typing.Optional[CustomThreatProtectionMode] = None,
|
|
17739
17773
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
17740
17774
|
device_tracking: typing.Optional[typing.Union[DeviceTracking, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
17741
17775
|
email: typing.Optional["UserPoolEmail"] = None,
|
|
@@ -17758,6 +17792,7 @@ class UserPool(
|
|
|
17758
17792
|
sms_role_external_id: typing.Optional[builtins.str] = None,
|
|
17759
17793
|
sns_region: typing.Optional[builtins.str] = None,
|
|
17760
17794
|
standard_attributes: typing.Optional[typing.Union[StandardAttributes, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
17795
|
+
standard_threat_protection_mode: typing.Optional[StandardThreatProtectionMode] = None,
|
|
17761
17796
|
user_invitation: typing.Optional[typing.Union[UserInvitationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
17762
17797
|
user_pool_name: typing.Optional[builtins.str] = None,
|
|
17763
17798
|
user_verification: typing.Optional[typing.Union["UserVerificationConfig", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -17770,6 +17805,7 @@ class UserPool(
|
|
|
17770
17805
|
:param auto_verify: Attributes which Cognito will look to verify automatically upon user sign up. EMAIL and PHONE are the only available options. Default: - If ``signInAlias`` includes email and/or phone, they will be included in ``autoVerifiedAttributes`` by default. If absent, no attributes will be auto-verified.
|
|
17771
17806
|
:param custom_attributes: Define a set of custom attributes that can be configured for each user in the user pool. Default: - No custom attributes.
|
|
17772
17807
|
:param custom_sender_kms_key: This key will be used to encrypt temporary passwords and authorization codes that Amazon Cognito generates. Default: - no key ID configured
|
|
17808
|
+
:param custom_threat_protection_mode: The Type of Threat Protection Enabled for Custom Authentication. This feature only functions if your FeaturePlan is set to FeaturePlan.PLUS Default: - no value
|
|
17773
17809
|
:param deletion_protection: Indicates whether the user pool should have deletion protection enabled. Default: false
|
|
17774
17810
|
:param device_tracking: Device tracking settings. Default: - see defaults on each property of DeviceTracking.
|
|
17775
17811
|
:param email: Email settings for a user pool. Default: - cognito will use the default email configuration
|
|
@@ -17792,6 +17828,7 @@ class UserPool(
|
|
|
17792
17828
|
:param sms_role_external_id: The 'ExternalId' that Cognito service must be using when assuming the ``smsRole``, if the role is restricted with an 'sts:ExternalId' conditional. Learn more about ExternalId here - https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html This property will be ignored if ``smsRole`` is not specified. Default: - No external id will be configured.
|
|
17793
17829
|
:param sns_region: The region to integrate with SNS to send SMS messages. This property will do nothing if SMS configuration is not configured. Default: - The same region as the user pool, with a few exceptions - https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html#user-pool-sms-settings-first-time
|
|
17794
17830
|
:param standard_attributes: The set of attributes that are required for every user in the user pool. Read more on attributes here - https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html Default: - All standard attributes are optional and mutable.
|
|
17831
|
+
:param standard_threat_protection_mode: The Type of Threat Protection Enabled for Standard Authentication. This feature only functions if your FeaturePlan is set to FeaturePlan.PLUS Default: - StandardThreatProtectionMode.NO_ENFORCEMENT
|
|
17795
17832
|
:param user_invitation: Configuration around admins signing up users into a user pool. Default: - see defaults in UserInvitationConfig.
|
|
17796
17833
|
:param user_pool_name: Name of the user pool. Default: - automatically generated name by CloudFormation at deploy time.
|
|
17797
17834
|
:param user_verification: Configuration around users signing themselves up to the user pool. Enable or disable self sign-up via the ``selfSignUpEnabled`` property. Default: - see defaults in UserVerificationConfig.
|
|
@@ -17806,6 +17843,7 @@ class UserPool(
|
|
|
17806
17843
|
auto_verify=auto_verify,
|
|
17807
17844
|
custom_attributes=custom_attributes,
|
|
17808
17845
|
custom_sender_kms_key=custom_sender_kms_key,
|
|
17846
|
+
custom_threat_protection_mode=custom_threat_protection_mode,
|
|
17809
17847
|
deletion_protection=deletion_protection,
|
|
17810
17848
|
device_tracking=device_tracking,
|
|
17811
17849
|
email=email,
|
|
@@ -17828,6 +17866,7 @@ class UserPool(
|
|
|
17828
17866
|
sms_role_external_id=sms_role_external_id,
|
|
17829
17867
|
sns_region=sns_region,
|
|
17830
17868
|
standard_attributes=standard_attributes,
|
|
17869
|
+
standard_threat_protection_mode=standard_threat_protection_mode,
|
|
17831
17870
|
user_invitation=user_invitation,
|
|
17832
17871
|
user_pool_name=user_pool_name,
|
|
17833
17872
|
user_verification=user_verification,
|
|
@@ -21154,6 +21193,7 @@ class UserPoolOperation(
|
|
|
21154
21193
|
"auto_verify": "autoVerify",
|
|
21155
21194
|
"custom_attributes": "customAttributes",
|
|
21156
21195
|
"custom_sender_kms_key": "customSenderKmsKey",
|
|
21196
|
+
"custom_threat_protection_mode": "customThreatProtectionMode",
|
|
21157
21197
|
"deletion_protection": "deletionProtection",
|
|
21158
21198
|
"device_tracking": "deviceTracking",
|
|
21159
21199
|
"email": "email",
|
|
@@ -21176,6 +21216,7 @@ class UserPoolOperation(
|
|
|
21176
21216
|
"sms_role_external_id": "smsRoleExternalId",
|
|
21177
21217
|
"sns_region": "snsRegion",
|
|
21178
21218
|
"standard_attributes": "standardAttributes",
|
|
21219
|
+
"standard_threat_protection_mode": "standardThreatProtectionMode",
|
|
21179
21220
|
"user_invitation": "userInvitation",
|
|
21180
21221
|
"user_pool_name": "userPoolName",
|
|
21181
21222
|
"user_verification": "userVerification",
|
|
@@ -21190,6 +21231,7 @@ class UserPoolProps:
|
|
|
21190
21231
|
auto_verify: typing.Optional[typing.Union[AutoVerifiedAttrs, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
21191
21232
|
custom_attributes: typing.Optional[typing.Mapping[builtins.str, ICustomAttribute]] = None,
|
|
21192
21233
|
custom_sender_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
21234
|
+
custom_threat_protection_mode: typing.Optional[CustomThreatProtectionMode] = None,
|
|
21193
21235
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
21194
21236
|
device_tracking: typing.Optional[typing.Union[DeviceTracking, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
21195
21237
|
email: typing.Optional[UserPoolEmail] = None,
|
|
@@ -21212,6 +21254,7 @@ class UserPoolProps:
|
|
|
21212
21254
|
sms_role_external_id: typing.Optional[builtins.str] = None,
|
|
21213
21255
|
sns_region: typing.Optional[builtins.str] = None,
|
|
21214
21256
|
standard_attributes: typing.Optional[typing.Union[StandardAttributes, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
21257
|
+
standard_threat_protection_mode: typing.Optional[StandardThreatProtectionMode] = None,
|
|
21215
21258
|
user_invitation: typing.Optional[typing.Union[UserInvitationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
21216
21259
|
user_pool_name: typing.Optional[builtins.str] = None,
|
|
21217
21260
|
user_verification: typing.Optional[typing.Union["UserVerificationConfig", typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -21223,6 +21266,7 @@ class UserPoolProps:
|
|
|
21223
21266
|
:param auto_verify: Attributes which Cognito will look to verify automatically upon user sign up. EMAIL and PHONE are the only available options. Default: - If ``signInAlias`` includes email and/or phone, they will be included in ``autoVerifiedAttributes`` by default. If absent, no attributes will be auto-verified.
|
|
21224
21267
|
:param custom_attributes: Define a set of custom attributes that can be configured for each user in the user pool. Default: - No custom attributes.
|
|
21225
21268
|
:param custom_sender_kms_key: This key will be used to encrypt temporary passwords and authorization codes that Amazon Cognito generates. Default: - no key ID configured
|
|
21269
|
+
:param custom_threat_protection_mode: The Type of Threat Protection Enabled for Custom Authentication. This feature only functions if your FeaturePlan is set to FeaturePlan.PLUS Default: - no value
|
|
21226
21270
|
:param deletion_protection: Indicates whether the user pool should have deletion protection enabled. Default: false
|
|
21227
21271
|
:param device_tracking: Device tracking settings. Default: - see defaults on each property of DeviceTracking.
|
|
21228
21272
|
:param email: Email settings for a user pool. Default: - cognito will use the default email configuration
|
|
@@ -21245,6 +21289,7 @@ class UserPoolProps:
|
|
|
21245
21289
|
:param sms_role_external_id: The 'ExternalId' that Cognito service must be using when assuming the ``smsRole``, if the role is restricted with an 'sts:ExternalId' conditional. Learn more about ExternalId here - https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html This property will be ignored if ``smsRole`` is not specified. Default: - No external id will be configured.
|
|
21246
21290
|
:param sns_region: The region to integrate with SNS to send SMS messages. This property will do nothing if SMS configuration is not configured. Default: - The same region as the user pool, with a few exceptions - https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-sms-settings.html#user-pool-sms-settings-first-time
|
|
21247
21291
|
:param standard_attributes: The set of attributes that are required for every user in the user pool. Read more on attributes here - https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html Default: - All standard attributes are optional and mutable.
|
|
21292
|
+
:param standard_threat_protection_mode: The Type of Threat Protection Enabled for Standard Authentication. This feature only functions if your FeaturePlan is set to FeaturePlan.PLUS Default: - StandardThreatProtectionMode.NO_ENFORCEMENT
|
|
21248
21293
|
:param user_invitation: Configuration around admins signing up users into a user pool. Default: - see defaults in UserInvitationConfig.
|
|
21249
21294
|
:param user_pool_name: Name of the user pool. Default: - automatically generated name by CloudFormation at deploy time.
|
|
21250
21295
|
:param user_verification: Configuration around users signing themselves up to the user pool. Enable or disable self sign-up via the ``selfSignUpEnabled`` property. Default: - see defaults in UserVerificationConfig.
|
|
@@ -21290,6 +21335,7 @@ class UserPoolProps:
|
|
|
21290
21335
|
check_type(argname="argument auto_verify", value=auto_verify, expected_type=type_hints["auto_verify"])
|
|
21291
21336
|
check_type(argname="argument custom_attributes", value=custom_attributes, expected_type=type_hints["custom_attributes"])
|
|
21292
21337
|
check_type(argname="argument custom_sender_kms_key", value=custom_sender_kms_key, expected_type=type_hints["custom_sender_kms_key"])
|
|
21338
|
+
check_type(argname="argument custom_threat_protection_mode", value=custom_threat_protection_mode, expected_type=type_hints["custom_threat_protection_mode"])
|
|
21293
21339
|
check_type(argname="argument deletion_protection", value=deletion_protection, expected_type=type_hints["deletion_protection"])
|
|
21294
21340
|
check_type(argname="argument device_tracking", value=device_tracking, expected_type=type_hints["device_tracking"])
|
|
21295
21341
|
check_type(argname="argument email", value=email, expected_type=type_hints["email"])
|
|
@@ -21312,6 +21358,7 @@ class UserPoolProps:
|
|
|
21312
21358
|
check_type(argname="argument sms_role_external_id", value=sms_role_external_id, expected_type=type_hints["sms_role_external_id"])
|
|
21313
21359
|
check_type(argname="argument sns_region", value=sns_region, expected_type=type_hints["sns_region"])
|
|
21314
21360
|
check_type(argname="argument standard_attributes", value=standard_attributes, expected_type=type_hints["standard_attributes"])
|
|
21361
|
+
check_type(argname="argument standard_threat_protection_mode", value=standard_threat_protection_mode, expected_type=type_hints["standard_threat_protection_mode"])
|
|
21315
21362
|
check_type(argname="argument user_invitation", value=user_invitation, expected_type=type_hints["user_invitation"])
|
|
21316
21363
|
check_type(argname="argument user_pool_name", value=user_pool_name, expected_type=type_hints["user_pool_name"])
|
|
21317
21364
|
check_type(argname="argument user_verification", value=user_verification, expected_type=type_hints["user_verification"])
|
|
@@ -21326,6 +21373,8 @@ class UserPoolProps:
|
|
|
21326
21373
|
self._values["custom_attributes"] = custom_attributes
|
|
21327
21374
|
if custom_sender_kms_key is not None:
|
|
21328
21375
|
self._values["custom_sender_kms_key"] = custom_sender_kms_key
|
|
21376
|
+
if custom_threat_protection_mode is not None:
|
|
21377
|
+
self._values["custom_threat_protection_mode"] = custom_threat_protection_mode
|
|
21329
21378
|
if deletion_protection is not None:
|
|
21330
21379
|
self._values["deletion_protection"] = deletion_protection
|
|
21331
21380
|
if device_tracking is not None:
|
|
@@ -21370,6 +21419,8 @@ class UserPoolProps:
|
|
|
21370
21419
|
self._values["sns_region"] = sns_region
|
|
21371
21420
|
if standard_attributes is not None:
|
|
21372
21421
|
self._values["standard_attributes"] = standard_attributes
|
|
21422
|
+
if standard_threat_protection_mode is not None:
|
|
21423
|
+
self._values["standard_threat_protection_mode"] = standard_threat_protection_mode
|
|
21373
21424
|
if user_invitation is not None:
|
|
21374
21425
|
self._values["user_invitation"] = user_invitation
|
|
21375
21426
|
if user_pool_name is not None:
|
|
@@ -21392,7 +21443,7 @@ class UserPoolProps:
|
|
|
21392
21443
|
|
|
21393
21444
|
:default: - no value
|
|
21394
21445
|
|
|
21395
|
-
:deprecated: Advanced Security Mode is deprecated
|
|
21446
|
+
:deprecated: Advanced Security Mode is deprecated due to user pool feature plans. Use StandardThreatProtectionMode and CustomThreatProtectionMode to set Thread Protection level.
|
|
21396
21447
|
|
|
21397
21448
|
:stability: deprecated
|
|
21398
21449
|
'''
|
|
@@ -21435,6 +21486,21 @@ class UserPoolProps:
|
|
|
21435
21486
|
result = self._values.get("custom_sender_kms_key")
|
|
21436
21487
|
return typing.cast(typing.Optional[_IKey_5f11635f], result)
|
|
21437
21488
|
|
|
21489
|
+
@builtins.property
|
|
21490
|
+
def custom_threat_protection_mode(
|
|
21491
|
+
self,
|
|
21492
|
+
) -> typing.Optional[CustomThreatProtectionMode]:
|
|
21493
|
+
'''The Type of Threat Protection Enabled for Custom Authentication.
|
|
21494
|
+
|
|
21495
|
+
This feature only functions if your FeaturePlan is set to FeaturePlan.PLUS
|
|
21496
|
+
|
|
21497
|
+
:default: - no value
|
|
21498
|
+
|
|
21499
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-userpooladdons.html
|
|
21500
|
+
'''
|
|
21501
|
+
result = self._values.get("custom_threat_protection_mode")
|
|
21502
|
+
return typing.cast(typing.Optional[CustomThreatProtectionMode], result)
|
|
21503
|
+
|
|
21438
21504
|
@builtins.property
|
|
21439
21505
|
def deletion_protection(self) -> typing.Optional[builtins.bool]:
|
|
21440
21506
|
'''Indicates whether the user pool should have deletion protection enabled.
|
|
@@ -21680,6 +21746,21 @@ class UserPoolProps:
|
|
|
21680
21746
|
result = self._values.get("standard_attributes")
|
|
21681
21747
|
return typing.cast(typing.Optional[StandardAttributes], result)
|
|
21682
21748
|
|
|
21749
|
+
@builtins.property
|
|
21750
|
+
def standard_threat_protection_mode(
|
|
21751
|
+
self,
|
|
21752
|
+
) -> typing.Optional[StandardThreatProtectionMode]:
|
|
21753
|
+
'''The Type of Threat Protection Enabled for Standard Authentication.
|
|
21754
|
+
|
|
21755
|
+
This feature only functions if your FeaturePlan is set to FeaturePlan.PLUS
|
|
21756
|
+
|
|
21757
|
+
:default: - StandardThreatProtectionMode.NO_ENFORCEMENT
|
|
21758
|
+
|
|
21759
|
+
:see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-userpooladdons.html
|
|
21760
|
+
'''
|
|
21761
|
+
result = self._values.get("standard_threat_protection_mode")
|
|
21762
|
+
return typing.cast(typing.Optional[StandardThreatProtectionMode], result)
|
|
21763
|
+
|
|
21683
21764
|
@builtins.property
|
|
21684
21765
|
def user_invitation(self) -> typing.Optional[UserInvitationConfig]:
|
|
21685
21766
|
'''Configuration around admins signing up users into a user pool.
|
|
@@ -23573,6 +23654,7 @@ __all__ = [
|
|
|
23573
23654
|
"CustomAttributeConfig",
|
|
23574
23655
|
"CustomAttributeProps",
|
|
23575
23656
|
"CustomDomainOptions",
|
|
23657
|
+
"CustomThreatProtectionMode",
|
|
23576
23658
|
"DateTimeAttribute",
|
|
23577
23659
|
"DeviceTracking",
|
|
23578
23660
|
"EmailSettings",
|
|
@@ -23609,6 +23691,7 @@ __all__ = [
|
|
|
23609
23691
|
"StandardAttribute",
|
|
23610
23692
|
"StandardAttributes",
|
|
23611
23693
|
"StandardAttributesMask",
|
|
23694
|
+
"StandardThreatProtectionMode",
|
|
23612
23695
|
"StringAttribute",
|
|
23613
23696
|
"StringAttributeConstraints",
|
|
23614
23697
|
"StringAttributeProps",
|
|
@@ -25798,6 +25881,7 @@ def _typecheckingstub__677a8ec9a3f2a22d2dfde6fd6818121e4a071dc4e942f6bbe219e5a9b
|
|
|
25798
25881
|
auto_verify: typing.Optional[typing.Union[AutoVerifiedAttrs, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
25799
25882
|
custom_attributes: typing.Optional[typing.Mapping[builtins.str, ICustomAttribute]] = None,
|
|
25800
25883
|
custom_sender_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
25884
|
+
custom_threat_protection_mode: typing.Optional[CustomThreatProtectionMode] = None,
|
|
25801
25885
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
25802
25886
|
device_tracking: typing.Optional[typing.Union[DeviceTracking, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
25803
25887
|
email: typing.Optional[UserPoolEmail] = None,
|
|
@@ -25820,6 +25904,7 @@ def _typecheckingstub__677a8ec9a3f2a22d2dfde6fd6818121e4a071dc4e942f6bbe219e5a9b
|
|
|
25820
25904
|
sms_role_external_id: typing.Optional[builtins.str] = None,
|
|
25821
25905
|
sns_region: typing.Optional[builtins.str] = None,
|
|
25822
25906
|
standard_attributes: typing.Optional[typing.Union[StandardAttributes, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
25907
|
+
standard_threat_protection_mode: typing.Optional[StandardThreatProtectionMode] = None,
|
|
25823
25908
|
user_invitation: typing.Optional[typing.Union[UserInvitationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
25824
25909
|
user_pool_name: typing.Optional[builtins.str] = None,
|
|
25825
25910
|
user_verification: typing.Optional[typing.Union[UserVerificationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
@@ -26258,6 +26343,7 @@ def _typecheckingstub__754b1af40b4712720733e130c63a8ec0ca9a35d4cfb25450725d5aa02
|
|
|
26258
26343
|
auto_verify: typing.Optional[typing.Union[AutoVerifiedAttrs, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
26259
26344
|
custom_attributes: typing.Optional[typing.Mapping[builtins.str, ICustomAttribute]] = None,
|
|
26260
26345
|
custom_sender_kms_key: typing.Optional[_IKey_5f11635f] = None,
|
|
26346
|
+
custom_threat_protection_mode: typing.Optional[CustomThreatProtectionMode] = None,
|
|
26261
26347
|
deletion_protection: typing.Optional[builtins.bool] = None,
|
|
26262
26348
|
device_tracking: typing.Optional[typing.Union[DeviceTracking, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
26263
26349
|
email: typing.Optional[UserPoolEmail] = None,
|
|
@@ -26280,6 +26366,7 @@ def _typecheckingstub__754b1af40b4712720733e130c63a8ec0ca9a35d4cfb25450725d5aa02
|
|
|
26280
26366
|
sms_role_external_id: typing.Optional[builtins.str] = None,
|
|
26281
26367
|
sns_region: typing.Optional[builtins.str] = None,
|
|
26282
26368
|
standard_attributes: typing.Optional[typing.Union[StandardAttributes, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
26369
|
+
standard_threat_protection_mode: typing.Optional[StandardThreatProtectionMode] = None,
|
|
26283
26370
|
user_invitation: typing.Optional[typing.Union[UserInvitationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
26284
26371
|
user_pool_name: typing.Optional[builtins.str] = None,
|
|
26285
26372
|
user_verification: typing.Optional[typing.Union[UserVerificationConfig, typing.Dict[builtins.str, typing.Any]]] = None,
|
aws_cdk/aws_config/__init__.py
CHANGED
|
@@ -698,7 +698,7 @@ class CfnConfigRule(
|
|
|
698
698
|
:param evaluation_modes: The modes the AWS Config rule can be evaluated in. The valid values are distinct objects. By default, the value is Detective evaluation mode only.
|
|
699
699
|
:param input_parameters: A string, in JSON format, that is passed to the AWS Config rule Lambda function.
|
|
700
700
|
:param maximum_execution_frequency: The maximum frequency with which AWS Config runs evaluations for a rule. You can specify a value for ``MaximumExecutionFrequency`` when: - You are using an AWS managed rule that is triggered at a periodic frequency. - Your custom rule is triggered when AWS Config delivers the configuration snapshot. For more information, see `ConfigSnapshotDeliveryProperties <https://docs.aws.amazon.com/config/latest/APIReference/API_ConfigSnapshotDeliveryProperties.html>`_ . .. epigraph:: By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the ``MaximumExecutionFrequency`` parameter.
|
|
701
|
-
:param scope: Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes. .. epigraph::
|
|
701
|
+
:param scope: Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes. .. epigraph:: Scope is only supported for change-triggered rules. Scope is not supported for periodic or hybrid rules.
|
|
702
702
|
'''
|
|
703
703
|
if __debug__:
|
|
704
704
|
type_hints = typing.get_type_hints(_typecheckingstub__deecc74e0a0f7e54fde16a159ece5d8f96f56f6b8aca025003adcc1d931d5d00)
|
|
@@ -1512,7 +1512,7 @@ class CfnConfigRuleProps:
|
|
|
1512
1512
|
:param evaluation_modes: The modes the AWS Config rule can be evaluated in. The valid values are distinct objects. By default, the value is Detective evaluation mode only.
|
|
1513
1513
|
:param input_parameters: A string, in JSON format, that is passed to the AWS Config rule Lambda function.
|
|
1514
1514
|
:param maximum_execution_frequency: The maximum frequency with which AWS Config runs evaluations for a rule. You can specify a value for ``MaximumExecutionFrequency`` when: - You are using an AWS managed rule that is triggered at a periodic frequency. - Your custom rule is triggered when AWS Config delivers the configuration snapshot. For more information, see `ConfigSnapshotDeliveryProperties <https://docs.aws.amazon.com/config/latest/APIReference/API_ConfigSnapshotDeliveryProperties.html>`_ . .. epigraph:: By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the ``MaximumExecutionFrequency`` parameter.
|
|
1515
|
-
:param scope: Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes. .. epigraph::
|
|
1515
|
+
:param scope: Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes. .. epigraph:: Scope is only supported for change-triggered rules. Scope is not supported for periodic or hybrid rules.
|
|
1516
1516
|
|
|
1517
1517
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configrule.html
|
|
1518
1518
|
:exampleMetadata: fixture=_generated
|
|
@@ -1684,7 +1684,7 @@ class CfnConfigRuleProps:
|
|
|
1684
1684
|
The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes.
|
|
1685
1685
|
.. epigraph::
|
|
1686
1686
|
|
|
1687
|
-
|
|
1687
|
+
Scope is only supported for change-triggered rules. Scope is not supported for periodic or hybrid rules.
|
|
1688
1688
|
|
|
1689
1689
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configrule.html#cfn-config-configrule-scope
|
|
1690
1690
|
'''
|
aws_cdk/aws_connect/__init__.py
CHANGED
|
@@ -1427,6 +1427,219 @@ class CfnContactFlowProps:
|
|
|
1427
1427
|
)
|
|
1428
1428
|
|
|
1429
1429
|
|
|
1430
|
+
@jsii.implements(_IInspectable_c2943556)
|
|
1431
|
+
class CfnContactFlowVersion(
|
|
1432
|
+
_CfnResource_9df397a6,
|
|
1433
|
+
metaclass=jsii.JSIIMeta,
|
|
1434
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnContactFlowVersion",
|
|
1435
|
+
):
|
|
1436
|
+
'''Creates a version for the specified customer-managed flow within the specified instance.
|
|
1437
|
+
|
|
1438
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowversion.html
|
|
1439
|
+
:cloudformationResource: AWS::Connect::ContactFlowVersion
|
|
1440
|
+
:exampleMetadata: fixture=_generated
|
|
1441
|
+
|
|
1442
|
+
Example::
|
|
1443
|
+
|
|
1444
|
+
# The code below shows an example of how to instantiate this type.
|
|
1445
|
+
# The values are placeholders you should change.
|
|
1446
|
+
from aws_cdk import aws_connect as connect
|
|
1447
|
+
|
|
1448
|
+
cfn_contact_flow_version = connect.CfnContactFlowVersion(self, "MyCfnContactFlowVersion",
|
|
1449
|
+
contact_flow_id="contactFlowId",
|
|
1450
|
+
|
|
1451
|
+
# the properties below are optional
|
|
1452
|
+
description="description"
|
|
1453
|
+
)
|
|
1454
|
+
'''
|
|
1455
|
+
|
|
1456
|
+
def __init__(
|
|
1457
|
+
self,
|
|
1458
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
1459
|
+
id: builtins.str,
|
|
1460
|
+
*,
|
|
1461
|
+
contact_flow_id: builtins.str,
|
|
1462
|
+
description: typing.Optional[builtins.str] = None,
|
|
1463
|
+
) -> None:
|
|
1464
|
+
'''
|
|
1465
|
+
:param scope: Scope in which this resource is defined.
|
|
1466
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
1467
|
+
:param contact_flow_id: The identifier of the flow.
|
|
1468
|
+
:param description: The description of the flow version.
|
|
1469
|
+
'''
|
|
1470
|
+
if __debug__:
|
|
1471
|
+
type_hints = typing.get_type_hints(_typecheckingstub__a31de8fadfe8b204a6f20d104c9bd7e6d511bb0a98ca39db212f6ea6f6e7427b)
|
|
1472
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1473
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1474
|
+
props = CfnContactFlowVersionProps(
|
|
1475
|
+
contact_flow_id=contact_flow_id, description=description
|
|
1476
|
+
)
|
|
1477
|
+
|
|
1478
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
1479
|
+
|
|
1480
|
+
@jsii.member(jsii_name="inspect")
|
|
1481
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
1482
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
1483
|
+
|
|
1484
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
1485
|
+
'''
|
|
1486
|
+
if __debug__:
|
|
1487
|
+
type_hints = typing.get_type_hints(_typecheckingstub__13f86454b3bf4a5aaf2f2292d0d2d066b4877ddadcbc6f3f09833d142f628fc0)
|
|
1488
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
1489
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
1490
|
+
|
|
1491
|
+
@jsii.member(jsii_name="renderProperties")
|
|
1492
|
+
def _render_properties(
|
|
1493
|
+
self,
|
|
1494
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
1495
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1496
|
+
'''
|
|
1497
|
+
:param props: -
|
|
1498
|
+
'''
|
|
1499
|
+
if __debug__:
|
|
1500
|
+
type_hints = typing.get_type_hints(_typecheckingstub__039e856ccb29689e4ae1a2b96e0d4d66d182b5df351b2638b7229f84798ea120)
|
|
1501
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
1502
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
1503
|
+
|
|
1504
|
+
@jsii.python.classproperty
|
|
1505
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
1506
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
1507
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
1508
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
1509
|
+
|
|
1510
|
+
@builtins.property
|
|
1511
|
+
@jsii.member(jsii_name="attrContactFlowVersionArn")
|
|
1512
|
+
def attr_contact_flow_version_arn(self) -> builtins.str:
|
|
1513
|
+
'''The Amazon Resource Name (ARN) of the contact flow version.
|
|
1514
|
+
|
|
1515
|
+
:cloudformationAttribute: ContactFlowVersionARN
|
|
1516
|
+
'''
|
|
1517
|
+
return typing.cast(builtins.str, jsii.get(self, "attrContactFlowVersionArn"))
|
|
1518
|
+
|
|
1519
|
+
@builtins.property
|
|
1520
|
+
@jsii.member(jsii_name="attrFlowContentSha256")
|
|
1521
|
+
def attr_flow_content_sha256(self) -> builtins.str:
|
|
1522
|
+
'''Indicates the checksum value of the flow content.
|
|
1523
|
+
|
|
1524
|
+
:cloudformationAttribute: FlowContentSha256
|
|
1525
|
+
'''
|
|
1526
|
+
return typing.cast(builtins.str, jsii.get(self, "attrFlowContentSha256"))
|
|
1527
|
+
|
|
1528
|
+
@builtins.property
|
|
1529
|
+
@jsii.member(jsii_name="attrVersion")
|
|
1530
|
+
def attr_version(self) -> jsii.Number:
|
|
1531
|
+
'''The identifier of the flow version.
|
|
1532
|
+
|
|
1533
|
+
:cloudformationAttribute: Version
|
|
1534
|
+
'''
|
|
1535
|
+
return typing.cast(jsii.Number, jsii.get(self, "attrVersion"))
|
|
1536
|
+
|
|
1537
|
+
@builtins.property
|
|
1538
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
1539
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
1540
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
1541
|
+
|
|
1542
|
+
@builtins.property
|
|
1543
|
+
@jsii.member(jsii_name="contactFlowId")
|
|
1544
|
+
def contact_flow_id(self) -> builtins.str:
|
|
1545
|
+
'''The identifier of the flow.'''
|
|
1546
|
+
return typing.cast(builtins.str, jsii.get(self, "contactFlowId"))
|
|
1547
|
+
|
|
1548
|
+
@contact_flow_id.setter
|
|
1549
|
+
def contact_flow_id(self, value: builtins.str) -> None:
|
|
1550
|
+
if __debug__:
|
|
1551
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8c67191011cdc1e35e2efe8a0fc1ca8eb70d92048915331d2c2304e2001167b1)
|
|
1552
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1553
|
+
jsii.set(self, "contactFlowId", value) # pyright: ignore[reportArgumentType]
|
|
1554
|
+
|
|
1555
|
+
@builtins.property
|
|
1556
|
+
@jsii.member(jsii_name="description")
|
|
1557
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
1558
|
+
'''The description of the flow version.'''
|
|
1559
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
|
|
1560
|
+
|
|
1561
|
+
@description.setter
|
|
1562
|
+
def description(self, value: typing.Optional[builtins.str]) -> None:
|
|
1563
|
+
if __debug__:
|
|
1564
|
+
type_hints = typing.get_type_hints(_typecheckingstub__874c4dc9a5e63e7eb152e6db7e2794c6a1ded5d623873f917a2a60c5a6fbf154)
|
|
1565
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
1566
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
|
+
@jsii.data_type(
|
|
1570
|
+
jsii_type="aws-cdk-lib.aws_connect.CfnContactFlowVersionProps",
|
|
1571
|
+
jsii_struct_bases=[],
|
|
1572
|
+
name_mapping={"contact_flow_id": "contactFlowId", "description": "description"},
|
|
1573
|
+
)
|
|
1574
|
+
class CfnContactFlowVersionProps:
|
|
1575
|
+
def __init__(
|
|
1576
|
+
self,
|
|
1577
|
+
*,
|
|
1578
|
+
contact_flow_id: builtins.str,
|
|
1579
|
+
description: typing.Optional[builtins.str] = None,
|
|
1580
|
+
) -> None:
|
|
1581
|
+
'''Properties for defining a ``CfnContactFlowVersion``.
|
|
1582
|
+
|
|
1583
|
+
:param contact_flow_id: The identifier of the flow.
|
|
1584
|
+
:param description: The description of the flow version.
|
|
1585
|
+
|
|
1586
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowversion.html
|
|
1587
|
+
:exampleMetadata: fixture=_generated
|
|
1588
|
+
|
|
1589
|
+
Example::
|
|
1590
|
+
|
|
1591
|
+
# The code below shows an example of how to instantiate this type.
|
|
1592
|
+
# The values are placeholders you should change.
|
|
1593
|
+
from aws_cdk import aws_connect as connect
|
|
1594
|
+
|
|
1595
|
+
cfn_contact_flow_version_props = connect.CfnContactFlowVersionProps(
|
|
1596
|
+
contact_flow_id="contactFlowId",
|
|
1597
|
+
|
|
1598
|
+
# the properties below are optional
|
|
1599
|
+
description="description"
|
|
1600
|
+
)
|
|
1601
|
+
'''
|
|
1602
|
+
if __debug__:
|
|
1603
|
+
type_hints = typing.get_type_hints(_typecheckingstub__1bd431a320275e8a984a962d58a7aaded6a06452a72a1bb623aefe40161e3d66)
|
|
1604
|
+
check_type(argname="argument contact_flow_id", value=contact_flow_id, expected_type=type_hints["contact_flow_id"])
|
|
1605
|
+
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
1606
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
1607
|
+
"contact_flow_id": contact_flow_id,
|
|
1608
|
+
}
|
|
1609
|
+
if description is not None:
|
|
1610
|
+
self._values["description"] = description
|
|
1611
|
+
|
|
1612
|
+
@builtins.property
|
|
1613
|
+
def contact_flow_id(self) -> builtins.str:
|
|
1614
|
+
'''The identifier of the flow.
|
|
1615
|
+
|
|
1616
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowversion.html#cfn-connect-contactflowversion-contactflowid
|
|
1617
|
+
'''
|
|
1618
|
+
result = self._values.get("contact_flow_id")
|
|
1619
|
+
assert result is not None, "Required property 'contact_flow_id' is missing"
|
|
1620
|
+
return typing.cast(builtins.str, result)
|
|
1621
|
+
|
|
1622
|
+
@builtins.property
|
|
1623
|
+
def description(self) -> typing.Optional[builtins.str]:
|
|
1624
|
+
'''The description of the flow version.
|
|
1625
|
+
|
|
1626
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-contactflowversion.html#cfn-connect-contactflowversion-description
|
|
1627
|
+
'''
|
|
1628
|
+
result = self._values.get("description")
|
|
1629
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
1630
|
+
|
|
1631
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
1632
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
1633
|
+
|
|
1634
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
1635
|
+
return not (rhs == self)
|
|
1636
|
+
|
|
1637
|
+
def __repr__(self) -> str:
|
|
1638
|
+
return "CfnContactFlowVersionProps(%s)" % ", ".join(
|
|
1639
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
1640
|
+
)
|
|
1641
|
+
|
|
1642
|
+
|
|
1430
1643
|
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
1431
1644
|
class CfnEmailAddress(
|
|
1432
1645
|
_CfnResource_9df397a6,
|
|
@@ -16284,6 +16497,8 @@ __all__ = [
|
|
|
16284
16497
|
"CfnContactFlowModule",
|
|
16285
16498
|
"CfnContactFlowModuleProps",
|
|
16286
16499
|
"CfnContactFlowProps",
|
|
16500
|
+
"CfnContactFlowVersion",
|
|
16501
|
+
"CfnContactFlowVersionProps",
|
|
16287
16502
|
"CfnEmailAddress",
|
|
16288
16503
|
"CfnEmailAddressProps",
|
|
16289
16504
|
"CfnEvaluationForm",
|
|
@@ -16620,6 +16835,48 @@ def _typecheckingstub__c0555b19a226cc1a8bd054951921ffd23e0c635fe29a3d69a330d8262
|
|
|
16620
16835
|
"""Type checking stubs"""
|
|
16621
16836
|
pass
|
|
16622
16837
|
|
|
16838
|
+
def _typecheckingstub__a31de8fadfe8b204a6f20d104c9bd7e6d511bb0a98ca39db212f6ea6f6e7427b(
|
|
16839
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
16840
|
+
id: builtins.str,
|
|
16841
|
+
*,
|
|
16842
|
+
contact_flow_id: builtins.str,
|
|
16843
|
+
description: typing.Optional[builtins.str] = None,
|
|
16844
|
+
) -> None:
|
|
16845
|
+
"""Type checking stubs"""
|
|
16846
|
+
pass
|
|
16847
|
+
|
|
16848
|
+
def _typecheckingstub__13f86454b3bf4a5aaf2f2292d0d2d066b4877ddadcbc6f3f09833d142f628fc0(
|
|
16849
|
+
inspector: _TreeInspector_488e0dd5,
|
|
16850
|
+
) -> None:
|
|
16851
|
+
"""Type checking stubs"""
|
|
16852
|
+
pass
|
|
16853
|
+
|
|
16854
|
+
def _typecheckingstub__039e856ccb29689e4ae1a2b96e0d4d66d182b5df351b2638b7229f84798ea120(
|
|
16855
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
16856
|
+
) -> None:
|
|
16857
|
+
"""Type checking stubs"""
|
|
16858
|
+
pass
|
|
16859
|
+
|
|
16860
|
+
def _typecheckingstub__8c67191011cdc1e35e2efe8a0fc1ca8eb70d92048915331d2c2304e2001167b1(
|
|
16861
|
+
value: builtins.str,
|
|
16862
|
+
) -> None:
|
|
16863
|
+
"""Type checking stubs"""
|
|
16864
|
+
pass
|
|
16865
|
+
|
|
16866
|
+
def _typecheckingstub__874c4dc9a5e63e7eb152e6db7e2794c6a1ded5d623873f917a2a60c5a6fbf154(
|
|
16867
|
+
value: typing.Optional[builtins.str],
|
|
16868
|
+
) -> None:
|
|
16869
|
+
"""Type checking stubs"""
|
|
16870
|
+
pass
|
|
16871
|
+
|
|
16872
|
+
def _typecheckingstub__1bd431a320275e8a984a962d58a7aaded6a06452a72a1bb623aefe40161e3d66(
|
|
16873
|
+
*,
|
|
16874
|
+
contact_flow_id: builtins.str,
|
|
16875
|
+
description: typing.Optional[builtins.str] = None,
|
|
16876
|
+
) -> None:
|
|
16877
|
+
"""Type checking stubs"""
|
|
16878
|
+
pass
|
|
16879
|
+
|
|
16623
16880
|
def _typecheckingstub__82663491f0adb2dbe44ce9a95c4b21bf5d7529ba2b8adcceab5da9bedc3d1370(
|
|
16624
16881
|
scope: _constructs_77d1e7e8.Construct,
|
|
16625
16882
|
id: builtins.str,
|