aws-cdk-lib 2.194.0__py3-none-any.whl → 2.196.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 +435 -20
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.194.0.jsii.tgz → aws-cdk-lib@2.196.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +1 -1
- aws_cdk/aws_amazonmq/__init__.py +2 -2
- aws_cdk/aws_apigateway/__init__.py +208 -70
- aws_cdk/aws_apigatewayv2/__init__.py +155 -24
- aws_cdk/aws_appconfig/__init__.py +24 -0
- aws_cdk/aws_applicationautoscaling/__init__.py +6 -0
- aws_cdk/aws_appmesh/__init__.py +42 -0
- aws_cdk/aws_appsync/__init__.py +92 -20
- aws_cdk/aws_autoscaling/__init__.py +24 -0
- aws_cdk/aws_backup/__init__.py +53 -14
- aws_cdk/aws_batch/__init__.py +72 -0
- aws_cdk/aws_bedrock/__init__.py +1201 -18
- aws_cdk/aws_budgets/__init__.py +569 -0
- aws_cdk/aws_certificatemanager/__init__.py +21 -0
- aws_cdk/aws_chatbot/__init__.py +6 -0
- aws_cdk/aws_cloudfront/__init__.py +277 -120
- aws_cdk/aws_cloudfront/experimental/__init__.py +6 -0
- aws_cdk/aws_cloudtrail/__init__.py +6 -0
- aws_cdk/aws_cloudwatch/__init__.py +18 -0
- aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
- aws_cdk/aws_codebuild/__init__.py +48 -0
- aws_cdk/aws_codecommit/__init__.py +6 -0
- aws_cdk/aws_codedeploy/__init__.py +63 -0
- aws_cdk/aws_codeguruprofiler/__init__.py +6 -0
- aws_cdk/aws_codepipeline/__init__.py +114 -0
- aws_cdk/aws_codepipeline_actions/__init__.py +4 -4
- aws_cdk/aws_codestarnotifications/__init__.py +6 -0
- aws_cdk/aws_cognito/__init__.py +215 -10
- aws_cdk/aws_cognito_identitypool/__init__.py +6 -0
- aws_cdk/aws_config/__init__.py +36 -0
- aws_cdk/aws_datazone/__init__.py +1013 -100
- aws_cdk/aws_docdb/__init__.py +27 -3
- aws_cdk/aws_dsql/__init__.py +29 -12
- aws_cdk/aws_dynamodb/__init__.py +25 -11
- aws_cdk/aws_ec2/__init__.py +408 -23
- aws_cdk/aws_ecr/__init__.py +22 -14
- aws_cdk/aws_ecr_assets/__init__.py +6 -0
- aws_cdk/aws_ecs/__init__.py +116 -34
- aws_cdk/aws_ecs_patterns/__init__.py +58 -0
- aws_cdk/aws_efs/__init__.py +12 -0
- aws_cdk/aws_eks/__init__.py +42 -0
- aws_cdk/aws_elasticloadbalancing/__init__.py +6 -0
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -9
- aws_cdk/aws_elasticsearch/__init__.py +9 -0
- aws_cdk/aws_events/__init__.py +36 -0
- aws_cdk/aws_events_targets/__init__.py +10 -10
- aws_cdk/aws_fsx/__init__.py +8 -3
- aws_cdk/aws_globalaccelerator/__init__.py +18 -0
- aws_cdk/aws_iam/__init__.py +66 -0
- aws_cdk/aws_imagebuilder/__init__.py +181 -26
- aws_cdk/aws_inspector/__init__.py +6 -0
- aws_cdk/aws_kinesis/__init__.py +19 -1
- aws_cdk/aws_kinesisanalytics/__init__.py +7 -7
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +7 -7
- aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
- aws_cdk/aws_kms/__init__.py +16 -4
- aws_cdk/aws_lambda/__init__.py +76 -6
- aws_cdk/aws_lambda_nodejs/__init__.py +6 -0
- aws_cdk/aws_logs/__init__.py +155 -12
- aws_cdk/aws_medialive/__init__.py +4 -6
- aws_cdk/aws_mediatailor/__init__.py +115 -0
- aws_cdk/aws_oam/__init__.py +43 -10
- aws_cdk/aws_opensearchservice/__init__.py +12 -0
- aws_cdk/aws_qbusiness/__init__.py +2 -2
- aws_cdk/aws_quicksight/__init__.py +22 -22
- aws_cdk/aws_rds/__init__.py +347 -36
- aws_cdk/aws_redshiftserverless/__init__.py +7 -7
- aws_cdk/aws_route53/__init__.py +735 -33
- aws_cdk/aws_route53_targets/__init__.py +62 -1
- aws_cdk/aws_route53profiles/__init__.py +1 -1
- aws_cdk/aws_s3/__init__.py +37 -10
- aws_cdk/aws_s3_deployment/__init__.py +6 -0
- aws_cdk/aws_s3_notifications/__init__.py +5 -5
- aws_cdk/aws_sagemaker/__init__.py +452 -8
- aws_cdk/aws_scheduler/__init__.py +12 -0
- aws_cdk/aws_secretsmanager/__init__.py +24 -0
- aws_cdk/aws_servicecatalog/__init__.py +24 -0
- aws_cdk/aws_servicediscovery/__init__.py +48 -0
- aws_cdk/aws_ses/__init__.py +133 -33
- aws_cdk/aws_signer/__init__.py +6 -0
- aws_cdk/aws_sns/__init__.py +18 -0
- aws_cdk/aws_sns_subscriptions/__init__.py +6 -0
- aws_cdk/aws_sqs/__init__.py +12 -0
- aws_cdk/aws_ssm/__init__.py +12 -0
- aws_cdk/aws_ssmcontacts/__init__.py +53 -2
- aws_cdk/aws_ssmguiconnect/__init__.py +544 -0
- aws_cdk/aws_stepfunctions/__init__.py +153 -7
- aws_cdk/aws_stepfunctions_tasks/__init__.py +46 -10
- aws_cdk/aws_synthetics/__init__.py +32 -0
- aws_cdk/aws_verifiedpermissions/__init__.py +168 -3
- aws_cdk/aws_vpclattice/__init__.py +3 -1
- aws_cdk/aws_wisdom/__init__.py +6 -4
- aws_cdk/cloud_assembly_schema/__init__.py +7 -1
- aws_cdk/custom_resources/__init__.py +18 -0
- aws_cdk/cx_api/__init__.py +33 -0
- aws_cdk/lambda_layer_awscli/__init__.py +6 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
- aws_cdk/pipelines/__init__.py +10 -10
- aws_cdk/triggers/__init__.py +6 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/METADATA +84 -6
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/RECORD +108 -107
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.194.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/top_level.txt +0 -0
|
@@ -1094,8 +1094,8 @@ Here's an example:
|
|
|
1094
1094
|
# This is the Stack containing a simple ECS Service that uses the provided ContainerImage.
|
|
1095
1095
|
#
|
|
1096
1096
|
class EcsAppStack(cdk.Stack):
|
|
1097
|
-
def __init__(self, scope, id, *, image, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
|
|
1098
|
-
super().__init__(scope, id, image=image, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
|
|
1097
|
+
def __init__(self, scope, id, *, image, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None, propertyInjectors=None):
|
|
1098
|
+
super().__init__(scope, id, image=image, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation, propertyInjectors=propertyInjectors)
|
|
1099
1099
|
|
|
1100
1100
|
task_definition = ecs.TaskDefinition(self, "TaskDefinition",
|
|
1101
1101
|
compatibility=ecs.Compatibility.FARGATE,
|
|
@@ -1119,8 +1119,8 @@ class EcsAppStack(cdk.Stack):
|
|
|
1119
1119
|
#
|
|
1120
1120
|
class PipelineStack(cdk.Stack):
|
|
1121
1121
|
|
|
1122
|
-
def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
|
|
1123
|
-
super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
|
|
1122
|
+
def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None, propertyInjectors=None):
|
|
1123
|
+
super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation, propertyInjectors=propertyInjectors)
|
|
1124
1124
|
|
|
1125
1125
|
# ********* ECS part ****************
|
|
1126
1126
|
|
|
@@ -991,6 +991,12 @@ class NotificationRule(
|
|
|
991
991
|
check_type(argname="argument target", value=target, expected_type=type_hints["target"])
|
|
992
992
|
return typing.cast(builtins.bool, jsii.invoke(self, "addTarget", [target]))
|
|
993
993
|
|
|
994
|
+
@jsii.python.classproperty
|
|
995
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
996
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
997
|
+
'''Uniquely identifies this class.'''
|
|
998
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
999
|
+
|
|
994
1000
|
@builtins.property
|
|
995
1001
|
@jsii.member(jsii_name="notificationRuleArn")
|
|
996
1002
|
def notification_rule_arn(self) -> builtins.str:
|
aws_cdk/aws_cognito/__init__.py
CHANGED
|
@@ -4519,10 +4519,10 @@ class CfnManagedLoginBranding(
|
|
|
4519
4519
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4520
4520
|
:param user_pool_id: The user pool where the branding style is assigned.
|
|
4521
4521
|
:param assets: An array of image files that you want to apply to roles like backgrounds, logos, and icons. Each object must also indicate whether it is for dark mode, light mode, or browser-adaptive mode.
|
|
4522
|
-
:param client_id: The app client that
|
|
4522
|
+
:param client_id: The app client that you want to assign the branding style to. Each style is linked to an app client until you delete it.
|
|
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)
|
|
@@ -4617,7 +4617,7 @@ class CfnManagedLoginBranding(
|
|
|
4617
4617
|
@builtins.property
|
|
4618
4618
|
@jsii.member(jsii_name="clientId")
|
|
4619
4619
|
def client_id(self) -> typing.Optional[builtins.str]:
|
|
4620
|
-
'''The app client that
|
|
4620
|
+
'''The app client that you want to assign the branding style to.'''
|
|
4621
4621
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "clientId"))
|
|
4622
4622
|
|
|
4623
4623
|
@client_id.setter
|
|
@@ -4832,10 +4832,10 @@ class CfnManagedLoginBrandingProps:
|
|
|
4832
4832
|
|
|
4833
4833
|
:param user_pool_id: The user pool where the branding style is assigned.
|
|
4834
4834
|
:param assets: An array of image files that you want to apply to roles like backgrounds, logos, and icons. Each object must also indicate whether it is for dark mode, light mode, or browser-adaptive mode.
|
|
4835
|
-
:param client_id: The app client that
|
|
4835
|
+
:param client_id: The app client that you want to assign the branding style to. Each style is linked to an app client until you delete it.
|
|
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
|
|
@@ -4914,7 +4914,9 @@ class CfnManagedLoginBrandingProps:
|
|
|
4914
4914
|
|
|
4915
4915
|
@builtins.property
|
|
4916
4916
|
def client_id(self) -> typing.Optional[builtins.str]:
|
|
4917
|
-
'''The app client that
|
|
4917
|
+
'''The app client that you want to assign the branding style to.
|
|
4918
|
+
|
|
4919
|
+
Each style is linked to an app client until you delete it.
|
|
4918
4920
|
|
|
4919
4921
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-managedloginbranding.html#cfn-cognito-managedloginbranding-clientid
|
|
4920
4922
|
'''
|
|
@@ -4949,7 +4951,7 @@ class CfnManagedLoginBrandingProps:
|
|
|
4949
4951
|
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
4950
4952
|
'''When true, applies the default branding style options.
|
|
4951
4953
|
|
|
4952
|
-
This option reverts to default style options that are managed by Amazon Cognito. You can modify them later in the branding
|
|
4954
|
+
This option reverts to default style options that are managed by Amazon Cognito. You can modify them later in the branding editor.
|
|
4953
4955
|
|
|
4954
4956
|
When you specify ``true`` for this option, you must also omit values for ``Settings`` and ``Assets`` in the request.
|
|
4955
4957
|
|
|
@@ -8124,6 +8126,7 @@ class CfnUserPoolClient(
|
|
|
8124
8126
|
logout_ur_ls: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8125
8127
|
prevent_user_existence_errors: typing.Optional[builtins.str] = None,
|
|
8126
8128
|
read_attributes: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8129
|
+
refresh_token_rotation: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserPoolClient.RefreshTokenRotationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8127
8130
|
refresh_token_validity: typing.Optional[jsii.Number] = None,
|
|
8128
8131
|
supported_identity_providers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8129
8132
|
token_validity_units: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserPoolClient.TokenValidityUnitsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -8150,6 +8153,7 @@ class CfnUserPoolClient(
|
|
|
8150
8153
|
: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
8154
|
: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
8155
|
: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.
|
|
8156
|
+
:param refresh_token_rotation: The configuration of your app client for refresh token rotation. When enabled, your app client issues new ID, access, and refresh tokens when users renew their sessions with refresh tokens. When disabled, token refresh issues only ID and access tokens.
|
|
8153
8157
|
: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
8158
|
: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
8159
|
: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 +8182,7 @@ class CfnUserPoolClient(
|
|
|
8178
8182
|
logout_ur_ls=logout_ur_ls,
|
|
8179
8183
|
prevent_user_existence_errors=prevent_user_existence_errors,
|
|
8180
8184
|
read_attributes=read_attributes,
|
|
8185
|
+
refresh_token_rotation=refresh_token_rotation,
|
|
8181
8186
|
refresh_token_validity=refresh_token_validity,
|
|
8182
8187
|
supported_identity_providers=supported_identity_providers,
|
|
8183
8188
|
token_validity_units=token_validity_units,
|
|
@@ -8520,6 +8525,24 @@ class CfnUserPoolClient(
|
|
|
8520
8525
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8521
8526
|
jsii.set(self, "readAttributes", value) # pyright: ignore[reportArgumentType]
|
|
8522
8527
|
|
|
8528
|
+
@builtins.property
|
|
8529
|
+
@jsii.member(jsii_name="refreshTokenRotation")
|
|
8530
|
+
def refresh_token_rotation(
|
|
8531
|
+
self,
|
|
8532
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserPoolClient.RefreshTokenRotationProperty"]]:
|
|
8533
|
+
'''The configuration of your app client for refresh token rotation.'''
|
|
8534
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserPoolClient.RefreshTokenRotationProperty"]], jsii.get(self, "refreshTokenRotation"))
|
|
8535
|
+
|
|
8536
|
+
@refresh_token_rotation.setter
|
|
8537
|
+
def refresh_token_rotation(
|
|
8538
|
+
self,
|
|
8539
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserPoolClient.RefreshTokenRotationProperty"]],
|
|
8540
|
+
) -> None:
|
|
8541
|
+
if __debug__:
|
|
8542
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0bbedb8c9ce56c5989c32027dce03245fe2e0733c111bf0e0c1447818d50a781)
|
|
8543
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8544
|
+
jsii.set(self, "refreshTokenRotation", value) # pyright: ignore[reportArgumentType]
|
|
8545
|
+
|
|
8523
8546
|
@builtins.property
|
|
8524
8547
|
@jsii.member(jsii_name="refreshTokenValidity")
|
|
8525
8548
|
def refresh_token_validity(self) -> typing.Optional[jsii.Number]:
|
|
@@ -8714,6 +8737,83 @@ class CfnUserPoolClient(
|
|
|
8714
8737
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
8715
8738
|
)
|
|
8716
8739
|
|
|
8740
|
+
@jsii.data_type(
|
|
8741
|
+
jsii_type="aws-cdk-lib.aws_cognito.CfnUserPoolClient.RefreshTokenRotationProperty",
|
|
8742
|
+
jsii_struct_bases=[],
|
|
8743
|
+
name_mapping={
|
|
8744
|
+
"feature": "feature",
|
|
8745
|
+
"retry_grace_period_seconds": "retryGracePeriodSeconds",
|
|
8746
|
+
},
|
|
8747
|
+
)
|
|
8748
|
+
class RefreshTokenRotationProperty:
|
|
8749
|
+
def __init__(
|
|
8750
|
+
self,
|
|
8751
|
+
*,
|
|
8752
|
+
feature: typing.Optional[builtins.str] = None,
|
|
8753
|
+
retry_grace_period_seconds: typing.Optional[jsii.Number] = None,
|
|
8754
|
+
) -> None:
|
|
8755
|
+
'''The configuration of your app client for refresh token rotation.
|
|
8756
|
+
|
|
8757
|
+
When enabled, your app client issues new ID, access, and refresh tokens when users renew their sessions with refresh tokens. When disabled, token refresh issues only ID and access tokens.
|
|
8758
|
+
|
|
8759
|
+
:param feature: The state of refresh token rotation for the current app client.
|
|
8760
|
+
:param retry_grace_period_seconds: When you request a token refresh with ``GetTokensFromRefreshToken`` , the original refresh token that you're rotating out can remain valid for a period of time of up to 60 seconds. This allows for client-side retries. When ``RetryGracePeriodSeconds`` is ``0`` , the grace period is disabled and a successful request immediately invalidates the submitted refresh token.
|
|
8761
|
+
|
|
8762
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-refreshtokenrotation.html
|
|
8763
|
+
:exampleMetadata: fixture=_generated
|
|
8764
|
+
|
|
8765
|
+
Example::
|
|
8766
|
+
|
|
8767
|
+
# The code below shows an example of how to instantiate this type.
|
|
8768
|
+
# The values are placeholders you should change.
|
|
8769
|
+
from aws_cdk import aws_cognito as cognito
|
|
8770
|
+
|
|
8771
|
+
refresh_token_rotation_property = cognito.CfnUserPoolClient.RefreshTokenRotationProperty(
|
|
8772
|
+
feature="feature",
|
|
8773
|
+
retry_grace_period_seconds=123
|
|
8774
|
+
)
|
|
8775
|
+
'''
|
|
8776
|
+
if __debug__:
|
|
8777
|
+
type_hints = typing.get_type_hints(_typecheckingstub__695b10a90bf402ec0a4a1ee7c779f22b60df9baa874511aa2a177fac5b949f3f)
|
|
8778
|
+
check_type(argname="argument feature", value=feature, expected_type=type_hints["feature"])
|
|
8779
|
+
check_type(argname="argument retry_grace_period_seconds", value=retry_grace_period_seconds, expected_type=type_hints["retry_grace_period_seconds"])
|
|
8780
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
8781
|
+
if feature is not None:
|
|
8782
|
+
self._values["feature"] = feature
|
|
8783
|
+
if retry_grace_period_seconds is not None:
|
|
8784
|
+
self._values["retry_grace_period_seconds"] = retry_grace_period_seconds
|
|
8785
|
+
|
|
8786
|
+
@builtins.property
|
|
8787
|
+
def feature(self) -> typing.Optional[builtins.str]:
|
|
8788
|
+
'''The state of refresh token rotation for the current app client.
|
|
8789
|
+
|
|
8790
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-refreshtokenrotation.html#cfn-cognito-userpoolclient-refreshtokenrotation-feature
|
|
8791
|
+
'''
|
|
8792
|
+
result = self._values.get("feature")
|
|
8793
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
8794
|
+
|
|
8795
|
+
@builtins.property
|
|
8796
|
+
def retry_grace_period_seconds(self) -> typing.Optional[jsii.Number]:
|
|
8797
|
+
'''When you request a token refresh with ``GetTokensFromRefreshToken`` , the original refresh token that you're rotating out can remain valid for a period of time of up to 60 seconds.
|
|
8798
|
+
|
|
8799
|
+
This allows for client-side retries. When ``RetryGracePeriodSeconds`` is ``0`` , the grace period is disabled and a successful request immediately invalidates the submitted refresh token.
|
|
8800
|
+
|
|
8801
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolclient-refreshtokenrotation.html#cfn-cognito-userpoolclient-refreshtokenrotation-retrygraceperiodseconds
|
|
8802
|
+
'''
|
|
8803
|
+
result = self._values.get("retry_grace_period_seconds")
|
|
8804
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
8805
|
+
|
|
8806
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
8807
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
8808
|
+
|
|
8809
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
8810
|
+
return not (rhs == self)
|
|
8811
|
+
|
|
8812
|
+
def __repr__(self) -> str:
|
|
8813
|
+
return "RefreshTokenRotationProperty(%s)" % ", ".join(
|
|
8814
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
8815
|
+
)
|
|
8816
|
+
|
|
8717
8817
|
@jsii.data_type(
|
|
8718
8818
|
jsii_type="aws-cdk-lib.aws_cognito.CfnUserPoolClient.TokenValidityUnitsProperty",
|
|
8719
8819
|
jsii_struct_bases=[],
|
|
@@ -8834,6 +8934,7 @@ class CfnUserPoolClient(
|
|
|
8834
8934
|
"logout_ur_ls": "logoutUrLs",
|
|
8835
8935
|
"prevent_user_existence_errors": "preventUserExistenceErrors",
|
|
8836
8936
|
"read_attributes": "readAttributes",
|
|
8937
|
+
"refresh_token_rotation": "refreshTokenRotation",
|
|
8837
8938
|
"refresh_token_validity": "refreshTokenValidity",
|
|
8838
8939
|
"supported_identity_providers": "supportedIdentityProviders",
|
|
8839
8940
|
"token_validity_units": "tokenValidityUnits",
|
|
@@ -8862,6 +8963,7 @@ class CfnUserPoolClientProps:
|
|
|
8862
8963
|
logout_ur_ls: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8863
8964
|
prevent_user_existence_errors: typing.Optional[builtins.str] = None,
|
|
8864
8965
|
read_attributes: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8966
|
+
refresh_token_rotation: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserPoolClient.RefreshTokenRotationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
8865
8967
|
refresh_token_validity: typing.Optional[jsii.Number] = None,
|
|
8866
8968
|
supported_identity_providers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
8867
8969
|
token_validity_units: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserPoolClient.TokenValidityUnitsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -8887,6 +8989,7 @@ class CfnUserPoolClientProps:
|
|
|
8887
8989
|
: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
8990
|
: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
8991
|
: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.
|
|
8992
|
+
:param refresh_token_rotation: The configuration of your app client for refresh token rotation. When enabled, your app client issues new ID, access, and refresh tokens when users renew their sessions with refresh tokens. When disabled, token refresh issues only ID and access tokens.
|
|
8890
8993
|
: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
8994
|
: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
8995
|
: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 +9031,10 @@ class CfnUserPoolClientProps:
|
|
|
8928
9031
|
logout_ur_ls=["logoutUrLs"],
|
|
8929
9032
|
prevent_user_existence_errors="preventUserExistenceErrors",
|
|
8930
9033
|
read_attributes=["readAttributes"],
|
|
9034
|
+
refresh_token_rotation=cognito.CfnUserPoolClient.RefreshTokenRotationProperty(
|
|
9035
|
+
feature="feature",
|
|
9036
|
+
retry_grace_period_seconds=123
|
|
9037
|
+
),
|
|
8931
9038
|
refresh_token_validity=123,
|
|
8932
9039
|
supported_identity_providers=["supportedIdentityProviders"],
|
|
8933
9040
|
token_validity_units=cognito.CfnUserPoolClient.TokenValidityUnitsProperty(
|
|
@@ -8958,6 +9065,7 @@ class CfnUserPoolClientProps:
|
|
|
8958
9065
|
check_type(argname="argument logout_ur_ls", value=logout_ur_ls, expected_type=type_hints["logout_ur_ls"])
|
|
8959
9066
|
check_type(argname="argument prevent_user_existence_errors", value=prevent_user_existence_errors, expected_type=type_hints["prevent_user_existence_errors"])
|
|
8960
9067
|
check_type(argname="argument read_attributes", value=read_attributes, expected_type=type_hints["read_attributes"])
|
|
9068
|
+
check_type(argname="argument refresh_token_rotation", value=refresh_token_rotation, expected_type=type_hints["refresh_token_rotation"])
|
|
8961
9069
|
check_type(argname="argument refresh_token_validity", value=refresh_token_validity, expected_type=type_hints["refresh_token_validity"])
|
|
8962
9070
|
check_type(argname="argument supported_identity_providers", value=supported_identity_providers, expected_type=type_hints["supported_identity_providers"])
|
|
8963
9071
|
check_type(argname="argument token_validity_units", value=token_validity_units, expected_type=type_hints["token_validity_units"])
|
|
@@ -8999,6 +9107,8 @@ class CfnUserPoolClientProps:
|
|
|
8999
9107
|
self._values["prevent_user_existence_errors"] = prevent_user_existence_errors
|
|
9000
9108
|
if read_attributes is not None:
|
|
9001
9109
|
self._values["read_attributes"] = read_attributes
|
|
9110
|
+
if refresh_token_rotation is not None:
|
|
9111
|
+
self._values["refresh_token_rotation"] = refresh_token_rotation
|
|
9002
9112
|
if refresh_token_validity is not None:
|
|
9003
9113
|
self._values["refresh_token_validity"] = refresh_token_validity
|
|
9004
9114
|
if supported_identity_providers is not None:
|
|
@@ -9277,6 +9387,19 @@ class CfnUserPoolClientProps:
|
|
|
9277
9387
|
result = self._values.get("read_attributes")
|
|
9278
9388
|
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
9279
9389
|
|
|
9390
|
+
@builtins.property
|
|
9391
|
+
def refresh_token_rotation(
|
|
9392
|
+
self,
|
|
9393
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnUserPoolClient.RefreshTokenRotationProperty]]:
|
|
9394
|
+
'''The configuration of your app client for refresh token rotation.
|
|
9395
|
+
|
|
9396
|
+
When enabled, your app client issues new ID, access, and refresh tokens when users renew their sessions with refresh tokens. When disabled, token refresh issues only ID and access tokens.
|
|
9397
|
+
|
|
9398
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-refreshtokenrotation
|
|
9399
|
+
'''
|
|
9400
|
+
result = self._values.get("refresh_token_rotation")
|
|
9401
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnUserPoolClient.RefreshTokenRotationProperty]], result)
|
|
9402
|
+
|
|
9280
9403
|
@builtins.property
|
|
9281
9404
|
def refresh_token_validity(self) -> typing.Optional[jsii.Number]:
|
|
9282
9405
|
'''The refresh token time limit.
|
|
@@ -9397,7 +9520,7 @@ class CfnUserPoolDomain(
|
|
|
9397
9520
|
: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
9521
|
:param user_pool_id: The ID of the user pool that is associated with the domain you're updating.
|
|
9399
9522
|
: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
|
|
9523
|
+
: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
9524
|
'''
|
|
9402
9525
|
if __debug__:
|
|
9403
9526
|
type_hints = typing.get_type_hints(_typecheckingstub__6e0b36c4d155cfdfa9801e3f221c4fe6c5403bf24a64d17bd90fb5386301d675)
|
|
@@ -9595,7 +9718,7 @@ class CfnUserPoolDomainProps:
|
|
|
9595
9718
|
: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
9719
|
:param user_pool_id: The ID of the user pool that is associated with the domain you're updating.
|
|
9597
9720
|
: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
|
|
9721
|
+
: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
9722
|
|
|
9600
9723
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooldomain.html
|
|
9601
9724
|
:exampleMetadata: fixture=_generated
|
|
@@ -9673,7 +9796,7 @@ class CfnUserPoolDomainProps:
|
|
|
9673
9796
|
def managed_login_version(self) -> typing.Optional[jsii.Number]:
|
|
9674
9797
|
'''A version number that indicates the state of managed login for your domain.
|
|
9675
9798
|
|
|
9676
|
-
Version ``1`` is hosted UI (classic). Version ``2`` is the newer managed login with the branding
|
|
9799
|
+
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
9800
|
|
|
9678
9801
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpooldomain.html#cfn-cognito-userpooldomain-managedloginversion
|
|
9679
9802
|
'''
|
|
@@ -18122,6 +18245,12 @@ class UserPool(
|
|
|
18122
18245
|
check_type(argname="argument provider", value=provider, expected_type=type_hints["provider"])
|
|
18123
18246
|
return typing.cast(None, jsii.invoke(self, "registerIdentityProvider", [provider]))
|
|
18124
18247
|
|
|
18248
|
+
@jsii.python.classproperty
|
|
18249
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
18250
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
18251
|
+
'''Uniquely identifies this class.'''
|
|
18252
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
18253
|
+
|
|
18125
18254
|
@builtins.property
|
|
18126
18255
|
@jsii.member(jsii_name="identityProviders")
|
|
18127
18256
|
def identity_providers(self) -> typing.List[IUserPoolIdentityProvider]:
|
|
@@ -18278,6 +18407,12 @@ class UserPoolClient(
|
|
|
18278
18407
|
check_type(argname="argument user_pool_client_id", value=user_pool_client_id, expected_type=type_hints["user_pool_client_id"])
|
|
18279
18408
|
return typing.cast(IUserPoolClient, jsii.sinvoke(cls, "fromUserPoolClientId", [scope, id, user_pool_client_id]))
|
|
18280
18409
|
|
|
18410
|
+
@jsii.python.classproperty
|
|
18411
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
18412
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
18413
|
+
'''Uniquely identifies this class.'''
|
|
18414
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
18415
|
+
|
|
18281
18416
|
@builtins.property
|
|
18282
18417
|
@jsii.member(jsii_name="oAuthFlows")
|
|
18283
18418
|
def o_auth_flows(self) -> OAuthFlows:
|
|
@@ -19192,6 +19327,12 @@ class UserPoolDomain(
|
|
|
19192
19327
|
|
|
19193
19328
|
return typing.cast(builtins.str, jsii.invoke(self, "signInUrl", [client, options]))
|
|
19194
19329
|
|
|
19330
|
+
@jsii.python.classproperty
|
|
19331
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
19332
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
19333
|
+
'''Uniquely identifies this class.'''
|
|
19334
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
19335
|
+
|
|
19195
19336
|
@builtins.property
|
|
19196
19337
|
@jsii.member(jsii_name="cloudFrontDomainName")
|
|
19197
19338
|
def cloud_front_domain_name(self) -> builtins.str:
|
|
@@ -19780,6 +19921,12 @@ class UserPoolGroup(
|
|
|
19780
19921
|
check_type(argname="argument group_name", value=group_name, expected_type=type_hints["group_name"])
|
|
19781
19922
|
return typing.cast(IUserPoolGroup, jsii.sinvoke(cls, "fromGroupName", [scope, id, group_name]))
|
|
19782
19923
|
|
|
19924
|
+
@jsii.python.classproperty
|
|
19925
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
19926
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
19927
|
+
'''Uniquely identifies this class.'''
|
|
19928
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
19929
|
+
|
|
19783
19930
|
@builtins.property
|
|
19784
19931
|
@jsii.member(jsii_name="groupName")
|
|
19785
19932
|
def group_name(self) -> builtins.str:
|
|
@@ -20141,6 +20288,12 @@ class UserPoolIdentityProviderAmazon(
|
|
|
20141
20288
|
def _configure_attribute_mapping(self) -> typing.Any:
|
|
20142
20289
|
return typing.cast(typing.Any, jsii.invoke(self, "configureAttributeMapping", []))
|
|
20143
20290
|
|
|
20291
|
+
@jsii.python.classproperty
|
|
20292
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
20293
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
20294
|
+
'''Uniquely identifies this class.'''
|
|
20295
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
20296
|
+
|
|
20144
20297
|
@builtins.property
|
|
20145
20298
|
@jsii.member(jsii_name="providerName")
|
|
20146
20299
|
def provider_name(self) -> builtins.str:
|
|
@@ -20253,6 +20406,12 @@ class UserPoolIdentityProviderApple(
|
|
|
20253
20406
|
def _configure_attribute_mapping(self) -> typing.Any:
|
|
20254
20407
|
return typing.cast(typing.Any, jsii.invoke(self, "configureAttributeMapping", []))
|
|
20255
20408
|
|
|
20409
|
+
@jsii.python.classproperty
|
|
20410
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
20411
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
20412
|
+
'''Uniquely identifies this class.'''
|
|
20413
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
20414
|
+
|
|
20256
20415
|
@builtins.property
|
|
20257
20416
|
@jsii.member(jsii_name="providerName")
|
|
20258
20417
|
def provider_name(self) -> builtins.str:
|
|
@@ -20355,6 +20514,12 @@ class UserPoolIdentityProviderFacebook(
|
|
|
20355
20514
|
def _configure_attribute_mapping(self) -> typing.Any:
|
|
20356
20515
|
return typing.cast(typing.Any, jsii.invoke(self, "configureAttributeMapping", []))
|
|
20357
20516
|
|
|
20517
|
+
@jsii.python.classproperty
|
|
20518
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
20519
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
20520
|
+
'''Uniquely identifies this class.'''
|
|
20521
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
20522
|
+
|
|
20358
20523
|
@builtins.property
|
|
20359
20524
|
@jsii.member(jsii_name="providerName")
|
|
20360
20525
|
def provider_name(self) -> builtins.str:
|
|
@@ -20428,6 +20593,12 @@ class UserPoolIdentityProviderGoogle(
|
|
|
20428
20593
|
def _configure_attribute_mapping(self) -> typing.Any:
|
|
20429
20594
|
return typing.cast(typing.Any, jsii.invoke(self, "configureAttributeMapping", []))
|
|
20430
20595
|
|
|
20596
|
+
@jsii.python.classproperty
|
|
20597
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
20598
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
20599
|
+
'''Uniquely identifies this class.'''
|
|
20600
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
20601
|
+
|
|
20431
20602
|
@builtins.property
|
|
20432
20603
|
@jsii.member(jsii_name="providerName")
|
|
20433
20604
|
def provider_name(self) -> builtins.str:
|
|
@@ -20551,6 +20722,12 @@ class UserPoolIdentityProviderOidc(
|
|
|
20551
20722
|
def _configure_attribute_mapping(self) -> typing.Any:
|
|
20552
20723
|
return typing.cast(typing.Any, jsii.invoke(self, "configureAttributeMapping", []))
|
|
20553
20724
|
|
|
20725
|
+
@jsii.python.classproperty
|
|
20726
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
20727
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
20728
|
+
'''Uniquely identifies this class.'''
|
|
20729
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
20730
|
+
|
|
20554
20731
|
@builtins.property
|
|
20555
20732
|
@jsii.member(jsii_name="providerName")
|
|
20556
20733
|
def provider_name(self) -> builtins.str:
|
|
@@ -20739,6 +20916,12 @@ class UserPoolIdentityProviderSaml(
|
|
|
20739
20916
|
def _configure_attribute_mapping(self) -> typing.Any:
|
|
20740
20917
|
return typing.cast(typing.Any, jsii.invoke(self, "configureAttributeMapping", []))
|
|
20741
20918
|
|
|
20919
|
+
@jsii.python.classproperty
|
|
20920
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
20921
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
20922
|
+
'''Uniquely identifies this class.'''
|
|
20923
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
20924
|
+
|
|
20742
20925
|
@builtins.property
|
|
20743
20926
|
@jsii.member(jsii_name="providerName")
|
|
20744
20927
|
def provider_name(self) -> builtins.str:
|
|
@@ -21899,6 +22082,12 @@ class UserPoolResourceServer(
|
|
|
21899
22082
|
check_type(argname="argument user_pool_resource_server_id", value=user_pool_resource_server_id, expected_type=type_hints["user_pool_resource_server_id"])
|
|
21900
22083
|
return typing.cast(IUserPoolResourceServer, jsii.sinvoke(cls, "fromUserPoolResourceServerId", [scope, id, user_pool_resource_server_id]))
|
|
21901
22084
|
|
|
22085
|
+
@jsii.python.classproperty
|
|
22086
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
22087
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
22088
|
+
'''Uniquely identifies this class.'''
|
|
22089
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
22090
|
+
|
|
21902
22091
|
@builtins.property
|
|
21903
22092
|
@jsii.member(jsii_name="userPoolResourceServerId")
|
|
21904
22093
|
def user_pool_resource_server_id(self) -> builtins.str:
|
|
@@ -24706,6 +24895,7 @@ def _typecheckingstub__87712ca9ae8faf9f73a6c5d11987fcf280543ea093bcc4253c800c015
|
|
|
24706
24895
|
logout_ur_ls: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
24707
24896
|
prevent_user_existence_errors: typing.Optional[builtins.str] = None,
|
|
24708
24897
|
read_attributes: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
24898
|
+
refresh_token_rotation: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserPoolClient.RefreshTokenRotationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
24709
24899
|
refresh_token_validity: typing.Optional[jsii.Number] = None,
|
|
24710
24900
|
supported_identity_providers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
24711
24901
|
token_validity_units: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserPoolClient.TokenValidityUnitsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -24834,6 +25024,12 @@ def _typecheckingstub__d0450b9a1c4091ecc8dc0197c1b8b862535cb1a705df2e839371c83db
|
|
|
24834
25024
|
"""Type checking stubs"""
|
|
24835
25025
|
pass
|
|
24836
25026
|
|
|
25027
|
+
def _typecheckingstub__0bbedb8c9ce56c5989c32027dce03245fe2e0733c111bf0e0c1447818d50a781(
|
|
25028
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnUserPoolClient.RefreshTokenRotationProperty]],
|
|
25029
|
+
) -> None:
|
|
25030
|
+
"""Type checking stubs"""
|
|
25031
|
+
pass
|
|
25032
|
+
|
|
24837
25033
|
def _typecheckingstub__ffd4a00853573a9063ab6bfb4bd488904d41fa8453a02d33cc8b44f6638125c5(
|
|
24838
25034
|
value: typing.Optional[jsii.Number],
|
|
24839
25035
|
) -> None:
|
|
@@ -24869,6 +25065,14 @@ def _typecheckingstub__6d6536363f7e284c6e3822670ff24aa20b4a6cc176e0e696a1702da00
|
|
|
24869
25065
|
"""Type checking stubs"""
|
|
24870
25066
|
pass
|
|
24871
25067
|
|
|
25068
|
+
def _typecheckingstub__695b10a90bf402ec0a4a1ee7c779f22b60df9baa874511aa2a177fac5b949f3f(
|
|
25069
|
+
*,
|
|
25070
|
+
feature: typing.Optional[builtins.str] = None,
|
|
25071
|
+
retry_grace_period_seconds: typing.Optional[jsii.Number] = None,
|
|
25072
|
+
) -> None:
|
|
25073
|
+
"""Type checking stubs"""
|
|
25074
|
+
pass
|
|
25075
|
+
|
|
24872
25076
|
def _typecheckingstub__7b0535ba992a4a94b92b965971fc09c8b8c0a72362c42aaf98b5ae4cbef4d7e6(
|
|
24873
25077
|
*,
|
|
24874
25078
|
access_token: typing.Optional[builtins.str] = None,
|
|
@@ -24898,6 +25102,7 @@ def _typecheckingstub__073ea5893b9cfc70c0362e57cd0c1b5397e1c6374434fc1d5c261da79
|
|
|
24898
25102
|
logout_ur_ls: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
24899
25103
|
prevent_user_existence_errors: typing.Optional[builtins.str] = None,
|
|
24900
25104
|
read_attributes: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
25105
|
+
refresh_token_rotation: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserPoolClient.RefreshTokenRotationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
24901
25106
|
refresh_token_validity: typing.Optional[jsii.Number] = None,
|
|
24902
25107
|
supported_identity_providers: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
24903
25108
|
token_validity_units: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserPoolClient.TokenValidityUnitsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -671,6 +671,12 @@ class IdentityPool(
|
|
|
671
671
|
check_type(argname="argument user_pool", value=user_pool, expected_type=type_hints["user_pool"])
|
|
672
672
|
return typing.cast(None, jsii.invoke(self, "addUserPoolAuthentication", [user_pool]))
|
|
673
673
|
|
|
674
|
+
@jsii.python.classproperty
|
|
675
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
676
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
677
|
+
'''Uniquely identifies this class.'''
|
|
678
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
679
|
+
|
|
674
680
|
@builtins.property
|
|
675
681
|
@jsii.member(jsii_name="authenticatedRole")
|
|
676
682
|
def authenticated_role(self) -> _IRole_235f5d8e:
|
aws_cdk/aws_config/__init__.py
CHANGED
|
@@ -7286,6 +7286,12 @@ class ManagedRule(
|
|
|
7286
7286
|
|
|
7287
7287
|
return typing.cast(_Rule_334ed2b5, jsii.invoke(self, "onReEvaluationStatus", [id, options]))
|
|
7288
7288
|
|
|
7289
|
+
@jsii.python.classproperty
|
|
7290
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
7291
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
7292
|
+
'''Uniquely identifies this class.'''
|
|
7293
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
7294
|
+
|
|
7289
7295
|
@builtins.property
|
|
7290
7296
|
@jsii.member(jsii_name="configRuleArn")
|
|
7291
7297
|
def config_rule_arn(self) -> builtins.str:
|
|
@@ -12779,6 +12785,12 @@ class AccessKeysRotated(
|
|
|
12779
12785
|
|
|
12780
12786
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
12781
12787
|
|
|
12788
|
+
@jsii.python.classproperty
|
|
12789
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
12790
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
12791
|
+
'''Uniquely identifies this class.'''
|
|
12792
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
12793
|
+
|
|
12782
12794
|
|
|
12783
12795
|
@jsii.data_type(
|
|
12784
12796
|
jsii_type="aws-cdk-lib.aws_config.AccessKeysRotatedProps",
|
|
@@ -13009,6 +13021,12 @@ class CloudFormationStackDriftDetectionCheck(
|
|
|
13009
13021
|
|
|
13010
13022
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
13011
13023
|
|
|
13024
|
+
@jsii.python.classproperty
|
|
13025
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
13026
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
13027
|
+
'''Uniquely identifies this class.'''
|
|
13028
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
13029
|
+
|
|
13012
13030
|
|
|
13013
13031
|
@jsii.data_type(
|
|
13014
13032
|
jsii_type="aws-cdk-lib.aws_config.CloudFormationStackDriftDetectionCheckProps",
|
|
@@ -13244,6 +13262,12 @@ class CloudFormationStackNotificationCheck(
|
|
|
13244
13262
|
|
|
13245
13263
|
jsii.create(self.__class__, self, [scope, id, props])
|
|
13246
13264
|
|
|
13265
|
+
@jsii.python.classproperty
|
|
13266
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
13267
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
13268
|
+
'''Uniquely identifies this class.'''
|
|
13269
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
13270
|
+
|
|
13247
13271
|
|
|
13248
13272
|
@jsii.data_type(
|
|
13249
13273
|
jsii_type="aws-cdk-lib.aws_config.CloudFormationStackNotificationCheckProps",
|
|
@@ -13603,6 +13627,12 @@ class CustomPolicy(
|
|
|
13603
13627
|
|
|
13604
13628
|
return typing.cast(_Rule_334ed2b5, jsii.invoke(self, "onReEvaluationStatus", [id, options]))
|
|
13605
13629
|
|
|
13630
|
+
@jsii.python.classproperty
|
|
13631
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
13632
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
13633
|
+
'''Uniquely identifies this class.'''
|
|
13634
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
13635
|
+
|
|
13606
13636
|
@builtins.property
|
|
13607
13637
|
@jsii.member(jsii_name="configRuleArn")
|
|
13608
13638
|
def config_rule_arn(self) -> builtins.str:
|
|
@@ -14058,6 +14088,12 @@ class CustomRule(
|
|
|
14058
14088
|
|
|
14059
14089
|
return typing.cast(_Rule_334ed2b5, jsii.invoke(self, "onReEvaluationStatus", [id, options]))
|
|
14060
14090
|
|
|
14091
|
+
@jsii.python.classproperty
|
|
14092
|
+
@jsii.member(jsii_name="PROPERTY_INJECTION_ID")
|
|
14093
|
+
def PROPERTY_INJECTION_ID(cls) -> builtins.str:
|
|
14094
|
+
'''Uniquely identifies this class.'''
|
|
14095
|
+
return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
|
|
14096
|
+
|
|
14061
14097
|
@builtins.property
|
|
14062
14098
|
@jsii.member(jsii_name="configRuleArn")
|
|
14063
14099
|
def config_rule_arn(self) -> builtins.str:
|