aws-cdk-lib 2.155.0__py3-none-any.whl → 2.157.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 +28 -24
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.155.0.jsii.tgz → aws-cdk-lib@2.157.0.jsii.tgz} +0 -0
- aws_cdk/aws_acmpca/__init__.py +10 -75
- aws_cdk/aws_amplify/__init__.py +106 -0
- aws_cdk/aws_apigatewayv2/__init__.py +81 -13
- aws_cdk/aws_appintegrations/__init__.py +14 -14
- aws_cdk/aws_applicationsignals/__init__.py +750 -1
- aws_cdk/aws_appsync/__init__.py +50 -18
- aws_cdk/aws_autoscaling/__init__.py +6 -6
- aws_cdk/aws_backup/__init__.py +39 -0
- aws_cdk/aws_batch/__init__.py +41 -0
- aws_cdk/aws_bedrock/__init__.py +1528 -91
- aws_cdk/aws_chatbot/__init__.py +6 -6
- aws_cdk/aws_cloudformation/__init__.py +22 -22
- aws_cdk/aws_cloudfront/__init__.py +650 -57
- aws_cdk/aws_cloudfront/experimental/__init__.py +30 -3
- aws_cdk/aws_cloudfront_origins/__init__.py +2034 -91
- aws_cdk/aws_codebuild/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +40 -29
- aws_cdk/aws_docdb/__init__.py +78 -6
- aws_cdk/aws_ec2/__init__.py +397 -75
- aws_cdk/aws_ecs/__init__.py +271 -101
- aws_cdk/aws_ecs_patterns/__init__.py +129 -11
- aws_cdk/aws_eks/__init__.py +40 -4
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +26 -50
- aws_cdk/aws_entityresolution/__init__.py +117 -4
- aws_cdk/aws_events/__init__.py +40 -14
- aws_cdk/aws_events_targets/__init__.py +357 -0
- aws_cdk/aws_glue/__init__.py +0 -8
- aws_cdk/aws_groundstation/__init__.py +27 -16
- aws_cdk/aws_guardduty/__init__.py +26 -14
- aws_cdk/aws_iam/__init__.py +7 -8
- aws_cdk/aws_iotfleetwise/__init__.py +108 -0
- aws_cdk/aws_kms/__init__.py +53 -10
- aws_cdk/aws_lambda/__init__.py +147 -17
- aws_cdk/aws_lambda_nodejs/__init__.py +30 -3
- aws_cdk/aws_macie/__init__.py +4 -4
- aws_cdk/aws_medialive/__init__.py +348 -0
- aws_cdk/aws_mediapackagev2/__init__.py +38 -38
- aws_cdk/aws_neptune/__init__.py +14 -8
- aws_cdk/aws_opensearchservice/__init__.py +194 -0
- aws_cdk/aws_pcaconnectorscep/__init__.py +884 -0
- aws_cdk/aws_personalize/__init__.py +2 -2
- aws_cdk/aws_pipes/__init__.py +22 -22
- aws_cdk/aws_qbusiness/__init__.py +675 -6
- aws_cdk/aws_quicksight/__init__.py +3285 -0
- aws_cdk/aws_rds/__init__.py +24 -0
- aws_cdk/aws_s3/__init__.py +13 -14
- aws_cdk/aws_sagemaker/__init__.py +1167 -0
- aws_cdk/aws_secretsmanager/__init__.py +2 -3
- aws_cdk/aws_securityhub/__init__.py +108 -103
- aws_cdk/aws_ses/__init__.py +31 -0
- aws_cdk/aws_sns/__init__.py +19 -13
- aws_cdk/aws_ssm/__init__.py +10 -6
- aws_cdk/aws_ssmquicksetup/__init__.py +967 -0
- aws_cdk/aws_stepfunctions_tasks/__init__.py +106 -45
- aws_cdk/aws_synthetics/__init__.py +13 -0
- aws_cdk/cx_api/__init__.py +16 -0
- aws_cdk/triggers/__init__.py +30 -3
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/RECORD +66 -64
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/top_level.txt +0 -0
|
@@ -93,11 +93,23 @@ class CfnApplication(
|
|
|
93
93
|
attachments_configuration=qbusiness.CfnApplication.AttachmentsConfigurationProperty(
|
|
94
94
|
attachments_control_mode="attachmentsControlMode"
|
|
95
95
|
),
|
|
96
|
+
auto_subscription_configuration=qbusiness.CfnApplication.AutoSubscriptionConfigurationProperty(
|
|
97
|
+
auto_subscribe="autoSubscribe",
|
|
98
|
+
|
|
99
|
+
# the properties below are optional
|
|
100
|
+
default_subscription_type="defaultSubscriptionType"
|
|
101
|
+
),
|
|
102
|
+
client_ids_for_oidc=["clientIdsForOidc"],
|
|
96
103
|
description="description",
|
|
97
104
|
encryption_configuration=qbusiness.CfnApplication.EncryptionConfigurationProperty(
|
|
98
105
|
kms_key_id="kmsKeyId"
|
|
99
106
|
),
|
|
107
|
+
iam_identity_provider_arn="iamIdentityProviderArn",
|
|
100
108
|
identity_center_instance_arn="identityCenterInstanceArn",
|
|
109
|
+
identity_type="identityType",
|
|
110
|
+
personalization_configuration=qbusiness.CfnApplication.PersonalizationConfigurationProperty(
|
|
111
|
+
personalization_control_mode="personalizationControlMode"
|
|
112
|
+
),
|
|
101
113
|
q_apps_configuration=qbusiness.CfnApplication.QAppsConfigurationProperty(
|
|
102
114
|
q_apps_control_mode="qAppsControlMode"
|
|
103
115
|
),
|
|
@@ -116,9 +128,14 @@ class CfnApplication(
|
|
|
116
128
|
*,
|
|
117
129
|
display_name: builtins.str,
|
|
118
130
|
attachments_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.AttachmentsConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
131
|
+
auto_subscription_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.AutoSubscriptionConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
132
|
+
client_ids_for_oidc: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
119
133
|
description: typing.Optional[builtins.str] = None,
|
|
120
134
|
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.EncryptionConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
135
|
+
iam_identity_provider_arn: typing.Optional[builtins.str] = None,
|
|
121
136
|
identity_center_instance_arn: typing.Optional[builtins.str] = None,
|
|
137
|
+
identity_type: typing.Optional[builtins.str] = None,
|
|
138
|
+
personalization_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.PersonalizationConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
122
139
|
q_apps_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnApplication.QAppsConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
123
140
|
role_arn: typing.Optional[builtins.str] = None,
|
|
124
141
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -128,10 +145,15 @@ class CfnApplication(
|
|
|
128
145
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
129
146
|
:param display_name: The name of the Amazon Q Business application.
|
|
130
147
|
:param attachments_configuration: Configuration information for the file upload during chat feature.
|
|
148
|
+
:param auto_subscription_configuration: Subscription configuration information for an Amazon Q Business application using IAM identity federation for user management.
|
|
149
|
+
:param client_ids_for_oidc:
|
|
131
150
|
:param description: A description for the Amazon Q Business application.
|
|
132
151
|
:param encryption_configuration: Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. Amazon Q Business doesn't support asymmetric keys.
|
|
152
|
+
:param iam_identity_provider_arn: The Amazon Resource Name (ARN) of an identity provider being used by an Amazon Q Business application.
|
|
133
153
|
:param identity_center_instance_arn: The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating for—or connecting to—your Amazon Q Business application. *Required* : ``Yes``
|
|
134
|
-
:param
|
|
154
|
+
:param identity_type: The authentication type being used by a Amazon Q Business application.
|
|
155
|
+
:param personalization_configuration: Configuration information about chat response personalization. For more information, see `Personalizing chat responses <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html>`_ .
|
|
156
|
+
:param q_apps_configuration: Configuration information about Amazon Q Apps.
|
|
135
157
|
:param role_arn: The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.
|
|
136
158
|
:param tags: A list of key-value pairs that identify or categorize your Amazon Q Business application. You can also use tags to help control access to the application. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + -
|
|
137
159
|
'''
|
|
@@ -142,9 +164,14 @@ class CfnApplication(
|
|
|
142
164
|
props = CfnApplicationProps(
|
|
143
165
|
display_name=display_name,
|
|
144
166
|
attachments_configuration=attachments_configuration,
|
|
167
|
+
auto_subscription_configuration=auto_subscription_configuration,
|
|
168
|
+
client_ids_for_oidc=client_ids_for_oidc,
|
|
145
169
|
description=description,
|
|
146
170
|
encryption_configuration=encryption_configuration,
|
|
171
|
+
iam_identity_provider_arn=iam_identity_provider_arn,
|
|
147
172
|
identity_center_instance_arn=identity_center_instance_arn,
|
|
173
|
+
identity_type=identity_type,
|
|
174
|
+
personalization_configuration=personalization_configuration,
|
|
148
175
|
q_apps_configuration=q_apps_configuration,
|
|
149
176
|
role_arn=role_arn,
|
|
150
177
|
tags=tags,
|
|
@@ -280,6 +307,39 @@ class CfnApplication(
|
|
|
280
307
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
281
308
|
jsii.set(self, "attachmentsConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
282
309
|
|
|
310
|
+
@builtins.property
|
|
311
|
+
@jsii.member(jsii_name="autoSubscriptionConfiguration")
|
|
312
|
+
def auto_subscription_configuration(
|
|
313
|
+
self,
|
|
314
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.AutoSubscriptionConfigurationProperty"]]:
|
|
315
|
+
'''Subscription configuration information for an Amazon Q Business application using IAM identity federation for user management.'''
|
|
316
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.AutoSubscriptionConfigurationProperty"]], jsii.get(self, "autoSubscriptionConfiguration"))
|
|
317
|
+
|
|
318
|
+
@auto_subscription_configuration.setter
|
|
319
|
+
def auto_subscription_configuration(
|
|
320
|
+
self,
|
|
321
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.AutoSubscriptionConfigurationProperty"]],
|
|
322
|
+
) -> None:
|
|
323
|
+
if __debug__:
|
|
324
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2b35a2b0fba0b74bf88677e8d09b2943fd8623f4b30bfa5113d4dd6400769370)
|
|
325
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
326
|
+
jsii.set(self, "autoSubscriptionConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
327
|
+
|
|
328
|
+
@builtins.property
|
|
329
|
+
@jsii.member(jsii_name="clientIdsForOidc")
|
|
330
|
+
def client_ids_for_oidc(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
331
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], jsii.get(self, "clientIdsForOidc"))
|
|
332
|
+
|
|
333
|
+
@client_ids_for_oidc.setter
|
|
334
|
+
def client_ids_for_oidc(
|
|
335
|
+
self,
|
|
336
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
337
|
+
) -> None:
|
|
338
|
+
if __debug__:
|
|
339
|
+
type_hints = typing.get_type_hints(_typecheckingstub__e16dbf7c72949c3994e85619024d1169320455f5129fc42720ee3369ccfe5013)
|
|
340
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
341
|
+
jsii.set(self, "clientIdsForOidc", value) # pyright: ignore[reportArgumentType]
|
|
342
|
+
|
|
283
343
|
@builtins.property
|
|
284
344
|
@jsii.member(jsii_name="description")
|
|
285
345
|
def description(self) -> typing.Optional[builtins.str]:
|
|
@@ -311,6 +371,19 @@ class CfnApplication(
|
|
|
311
371
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
312
372
|
jsii.set(self, "encryptionConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
313
373
|
|
|
374
|
+
@builtins.property
|
|
375
|
+
@jsii.member(jsii_name="iamIdentityProviderArn")
|
|
376
|
+
def iam_identity_provider_arn(self) -> typing.Optional[builtins.str]:
|
|
377
|
+
'''The Amazon Resource Name (ARN) of an identity provider being used by an Amazon Q Business application.'''
|
|
378
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "iamIdentityProviderArn"))
|
|
379
|
+
|
|
380
|
+
@iam_identity_provider_arn.setter
|
|
381
|
+
def iam_identity_provider_arn(self, value: typing.Optional[builtins.str]) -> None:
|
|
382
|
+
if __debug__:
|
|
383
|
+
type_hints = typing.get_type_hints(_typecheckingstub__2b960c5b2a263370b2ed8902e4658a930ce9de4e1d95a848786663e3d07945d0)
|
|
384
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
385
|
+
jsii.set(self, "iamIdentityProviderArn", value) # pyright: ignore[reportArgumentType]
|
|
386
|
+
|
|
314
387
|
@builtins.property
|
|
315
388
|
@jsii.member(jsii_name="identityCenterInstanceArn")
|
|
316
389
|
def identity_center_instance_arn(self) -> typing.Optional[builtins.str]:
|
|
@@ -327,6 +400,37 @@ class CfnApplication(
|
|
|
327
400
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
328
401
|
jsii.set(self, "identityCenterInstanceArn", value) # pyright: ignore[reportArgumentType]
|
|
329
402
|
|
|
403
|
+
@builtins.property
|
|
404
|
+
@jsii.member(jsii_name="identityType")
|
|
405
|
+
def identity_type(self) -> typing.Optional[builtins.str]:
|
|
406
|
+
'''The authentication type being used by a Amazon Q Business application.'''
|
|
407
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "identityType"))
|
|
408
|
+
|
|
409
|
+
@identity_type.setter
|
|
410
|
+
def identity_type(self, value: typing.Optional[builtins.str]) -> None:
|
|
411
|
+
if __debug__:
|
|
412
|
+
type_hints = typing.get_type_hints(_typecheckingstub__44221a178b075fcdd809e631de43085ff6e3f91b9741304fd15e1a0dc442eae1)
|
|
413
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
414
|
+
jsii.set(self, "identityType", value) # pyright: ignore[reportArgumentType]
|
|
415
|
+
|
|
416
|
+
@builtins.property
|
|
417
|
+
@jsii.member(jsii_name="personalizationConfiguration")
|
|
418
|
+
def personalization_configuration(
|
|
419
|
+
self,
|
|
420
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.PersonalizationConfigurationProperty"]]:
|
|
421
|
+
'''Configuration information about chat response personalization.'''
|
|
422
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.PersonalizationConfigurationProperty"]], jsii.get(self, "personalizationConfiguration"))
|
|
423
|
+
|
|
424
|
+
@personalization_configuration.setter
|
|
425
|
+
def personalization_configuration(
|
|
426
|
+
self,
|
|
427
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnApplication.PersonalizationConfigurationProperty"]],
|
|
428
|
+
) -> None:
|
|
429
|
+
if __debug__:
|
|
430
|
+
type_hints = typing.get_type_hints(_typecheckingstub__aa9c62867ef8fd21c925099f5633037e806bdc6c1fd8880e42968edf98de8ec2)
|
|
431
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
432
|
+
jsii.set(self, "personalizationConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
433
|
+
|
|
330
434
|
@builtins.property
|
|
331
435
|
@jsii.member(jsii_name="qAppsConfiguration")
|
|
332
436
|
def q_apps_configuration(
|
|
@@ -423,6 +527,84 @@ class CfnApplication(
|
|
|
423
527
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
424
528
|
)
|
|
425
529
|
|
|
530
|
+
@jsii.data_type(
|
|
531
|
+
jsii_type="aws-cdk-lib.aws_qbusiness.CfnApplication.AutoSubscriptionConfigurationProperty",
|
|
532
|
+
jsii_struct_bases=[],
|
|
533
|
+
name_mapping={
|
|
534
|
+
"auto_subscribe": "autoSubscribe",
|
|
535
|
+
"default_subscription_type": "defaultSubscriptionType",
|
|
536
|
+
},
|
|
537
|
+
)
|
|
538
|
+
class AutoSubscriptionConfigurationProperty:
|
|
539
|
+
def __init__(
|
|
540
|
+
self,
|
|
541
|
+
*,
|
|
542
|
+
auto_subscribe: builtins.str,
|
|
543
|
+
default_subscription_type: typing.Optional[builtins.str] = None,
|
|
544
|
+
) -> None:
|
|
545
|
+
'''Subscription configuration information for an Amazon Q Business application using IAM identity federation for user management.
|
|
546
|
+
|
|
547
|
+
:param auto_subscribe: Describes whether automatic subscriptions are enabled for an Amazon Q Business application using IAM identity federation for user management.
|
|
548
|
+
:param default_subscription_type: Describes the default subscription type assigned to an Amazon Q Business application using IAM identity federation for user management. If the value for ``autoSubscribe`` is set to ``ENABLED`` you must select a value for this field.
|
|
549
|
+
|
|
550
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-autosubscriptionconfiguration.html
|
|
551
|
+
:exampleMetadata: fixture=_generated
|
|
552
|
+
|
|
553
|
+
Example::
|
|
554
|
+
|
|
555
|
+
# The code below shows an example of how to instantiate this type.
|
|
556
|
+
# The values are placeholders you should change.
|
|
557
|
+
from aws_cdk import aws_qbusiness as qbusiness
|
|
558
|
+
|
|
559
|
+
auto_subscription_configuration_property = qbusiness.CfnApplication.AutoSubscriptionConfigurationProperty(
|
|
560
|
+
auto_subscribe="autoSubscribe",
|
|
561
|
+
|
|
562
|
+
# the properties below are optional
|
|
563
|
+
default_subscription_type="defaultSubscriptionType"
|
|
564
|
+
)
|
|
565
|
+
'''
|
|
566
|
+
if __debug__:
|
|
567
|
+
type_hints = typing.get_type_hints(_typecheckingstub__14d50e4994c3366ddeb7da76131ecc6e103dc3ed4c7bb2ec4ce982b547d2ab3b)
|
|
568
|
+
check_type(argname="argument auto_subscribe", value=auto_subscribe, expected_type=type_hints["auto_subscribe"])
|
|
569
|
+
check_type(argname="argument default_subscription_type", value=default_subscription_type, expected_type=type_hints["default_subscription_type"])
|
|
570
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
571
|
+
"auto_subscribe": auto_subscribe,
|
|
572
|
+
}
|
|
573
|
+
if default_subscription_type is not None:
|
|
574
|
+
self._values["default_subscription_type"] = default_subscription_type
|
|
575
|
+
|
|
576
|
+
@builtins.property
|
|
577
|
+
def auto_subscribe(self) -> builtins.str:
|
|
578
|
+
'''Describes whether automatic subscriptions are enabled for an Amazon Q Business application using IAM identity federation for user management.
|
|
579
|
+
|
|
580
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-autosubscriptionconfiguration.html#cfn-qbusiness-application-autosubscriptionconfiguration-autosubscribe
|
|
581
|
+
'''
|
|
582
|
+
result = self._values.get("auto_subscribe")
|
|
583
|
+
assert result is not None, "Required property 'auto_subscribe' is missing"
|
|
584
|
+
return typing.cast(builtins.str, result)
|
|
585
|
+
|
|
586
|
+
@builtins.property
|
|
587
|
+
def default_subscription_type(self) -> typing.Optional[builtins.str]:
|
|
588
|
+
'''Describes the default subscription type assigned to an Amazon Q Business application using IAM identity federation for user management.
|
|
589
|
+
|
|
590
|
+
If the value for ``autoSubscribe`` is set to ``ENABLED`` you must select a value for this field.
|
|
591
|
+
|
|
592
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-autosubscriptionconfiguration.html#cfn-qbusiness-application-autosubscriptionconfiguration-defaultsubscriptiontype
|
|
593
|
+
'''
|
|
594
|
+
result = self._values.get("default_subscription_type")
|
|
595
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
596
|
+
|
|
597
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
598
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
599
|
+
|
|
600
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
601
|
+
return not (rhs == self)
|
|
602
|
+
|
|
603
|
+
def __repr__(self) -> str:
|
|
604
|
+
return "AutoSubscriptionConfigurationProperty(%s)" % ", ".join(
|
|
605
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
606
|
+
)
|
|
607
|
+
|
|
426
608
|
@jsii.data_type(
|
|
427
609
|
jsii_type="aws-cdk-lib.aws_qbusiness.CfnApplication.EncryptionConfigurationProperty",
|
|
428
610
|
jsii_struct_bases=[],
|
|
@@ -478,6 +660,60 @@ class CfnApplication(
|
|
|
478
660
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
479
661
|
)
|
|
480
662
|
|
|
663
|
+
@jsii.data_type(
|
|
664
|
+
jsii_type="aws-cdk-lib.aws_qbusiness.CfnApplication.PersonalizationConfigurationProperty",
|
|
665
|
+
jsii_struct_bases=[],
|
|
666
|
+
name_mapping={"personalization_control_mode": "personalizationControlMode"},
|
|
667
|
+
)
|
|
668
|
+
class PersonalizationConfigurationProperty:
|
|
669
|
+
def __init__(self, *, personalization_control_mode: builtins.str) -> None:
|
|
670
|
+
'''Configuration information about chat response personalization.
|
|
671
|
+
|
|
672
|
+
For more information, see `Personalizing chat responses <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html>`_ .
|
|
673
|
+
|
|
674
|
+
:param personalization_control_mode: An option to allow Amazon Q Business to customize chat responses using user specific metadata—specifically, location and job information—in your IAM Identity Center instance.
|
|
675
|
+
|
|
676
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-personalizationconfiguration.html
|
|
677
|
+
:exampleMetadata: fixture=_generated
|
|
678
|
+
|
|
679
|
+
Example::
|
|
680
|
+
|
|
681
|
+
# The code below shows an example of how to instantiate this type.
|
|
682
|
+
# The values are placeholders you should change.
|
|
683
|
+
from aws_cdk import aws_qbusiness as qbusiness
|
|
684
|
+
|
|
685
|
+
personalization_configuration_property = qbusiness.CfnApplication.PersonalizationConfigurationProperty(
|
|
686
|
+
personalization_control_mode="personalizationControlMode"
|
|
687
|
+
)
|
|
688
|
+
'''
|
|
689
|
+
if __debug__:
|
|
690
|
+
type_hints = typing.get_type_hints(_typecheckingstub__05c530a7a40f7de7f808af2f7755372bf178629a393e2508771fc91224c8446f)
|
|
691
|
+
check_type(argname="argument personalization_control_mode", value=personalization_control_mode, expected_type=type_hints["personalization_control_mode"])
|
|
692
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
693
|
+
"personalization_control_mode": personalization_control_mode,
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
@builtins.property
|
|
697
|
+
def personalization_control_mode(self) -> builtins.str:
|
|
698
|
+
'''An option to allow Amazon Q Business to customize chat responses using user specific metadata—specifically, location and job information—in your IAM Identity Center instance.
|
|
699
|
+
|
|
700
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-personalizationconfiguration.html#cfn-qbusiness-application-personalizationconfiguration-personalizationcontrolmode
|
|
701
|
+
'''
|
|
702
|
+
result = self._values.get("personalization_control_mode")
|
|
703
|
+
assert result is not None, "Required property 'personalization_control_mode' is missing"
|
|
704
|
+
return typing.cast(builtins.str, result)
|
|
705
|
+
|
|
706
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
707
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
708
|
+
|
|
709
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
710
|
+
return not (rhs == self)
|
|
711
|
+
|
|
712
|
+
def __repr__(self) -> str:
|
|
713
|
+
return "PersonalizationConfigurationProperty(%s)" % ", ".join(
|
|
714
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
715
|
+
)
|
|
716
|
+
|
|
481
717
|
@jsii.data_type(
|
|
482
718
|
jsii_type="aws-cdk-lib.aws_qbusiness.CfnApplication.QAppsConfigurationProperty",
|
|
483
719
|
jsii_struct_bases=[],
|
|
@@ -487,8 +723,6 @@ class CfnApplication(
|
|
|
487
723
|
def __init__(self, *, q_apps_control_mode: builtins.str) -> None:
|
|
488
724
|
'''Configuration information about Amazon Q Apps.
|
|
489
725
|
|
|
490
|
-
(preview feature)
|
|
491
|
-
|
|
492
726
|
:param q_apps_control_mode: Status information about whether end users can create and use Amazon Q Apps in the web experience.
|
|
493
727
|
|
|
494
728
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-application-qappsconfiguration.html
|
|
@@ -539,9 +773,14 @@ class CfnApplication(
|
|
|
539
773
|
name_mapping={
|
|
540
774
|
"display_name": "displayName",
|
|
541
775
|
"attachments_configuration": "attachmentsConfiguration",
|
|
776
|
+
"auto_subscription_configuration": "autoSubscriptionConfiguration",
|
|
777
|
+
"client_ids_for_oidc": "clientIdsForOidc",
|
|
542
778
|
"description": "description",
|
|
543
779
|
"encryption_configuration": "encryptionConfiguration",
|
|
780
|
+
"iam_identity_provider_arn": "iamIdentityProviderArn",
|
|
544
781
|
"identity_center_instance_arn": "identityCenterInstanceArn",
|
|
782
|
+
"identity_type": "identityType",
|
|
783
|
+
"personalization_configuration": "personalizationConfiguration",
|
|
545
784
|
"q_apps_configuration": "qAppsConfiguration",
|
|
546
785
|
"role_arn": "roleArn",
|
|
547
786
|
"tags": "tags",
|
|
@@ -553,9 +792,14 @@ class CfnApplicationProps:
|
|
|
553
792
|
*,
|
|
554
793
|
display_name: builtins.str,
|
|
555
794
|
attachments_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.AttachmentsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
795
|
+
auto_subscription_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.AutoSubscriptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
796
|
+
client_ids_for_oidc: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
556
797
|
description: typing.Optional[builtins.str] = None,
|
|
557
798
|
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.EncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
799
|
+
iam_identity_provider_arn: typing.Optional[builtins.str] = None,
|
|
558
800
|
identity_center_instance_arn: typing.Optional[builtins.str] = None,
|
|
801
|
+
identity_type: typing.Optional[builtins.str] = None,
|
|
802
|
+
personalization_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.PersonalizationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
559
803
|
q_apps_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.QAppsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
560
804
|
role_arn: typing.Optional[builtins.str] = None,
|
|
561
805
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -564,10 +808,15 @@ class CfnApplicationProps:
|
|
|
564
808
|
|
|
565
809
|
:param display_name: The name of the Amazon Q Business application.
|
|
566
810
|
:param attachments_configuration: Configuration information for the file upload during chat feature.
|
|
811
|
+
:param auto_subscription_configuration: Subscription configuration information for an Amazon Q Business application using IAM identity federation for user management.
|
|
812
|
+
:param client_ids_for_oidc:
|
|
567
813
|
:param description: A description for the Amazon Q Business application.
|
|
568
814
|
:param encryption_configuration: Provides the identifier of the AWS KMS key used to encrypt data indexed by Amazon Q Business. Amazon Q Business doesn't support asymmetric keys.
|
|
815
|
+
:param iam_identity_provider_arn: The Amazon Resource Name (ARN) of an identity provider being used by an Amazon Q Business application.
|
|
569
816
|
:param identity_center_instance_arn: The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating for—or connecting to—your Amazon Q Business application. *Required* : ``Yes``
|
|
570
|
-
:param
|
|
817
|
+
:param identity_type: The authentication type being used by a Amazon Q Business application.
|
|
818
|
+
:param personalization_configuration: Configuration information about chat response personalization. For more information, see `Personalizing chat responses <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html>`_ .
|
|
819
|
+
:param q_apps_configuration: Configuration information about Amazon Q Apps.
|
|
571
820
|
:param role_arn: The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.
|
|
572
821
|
:param tags: A list of key-value pairs that identify or categorize your Amazon Q Business application. You can also use tags to help control access to the application. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + -
|
|
573
822
|
|
|
@@ -587,11 +836,23 @@ class CfnApplicationProps:
|
|
|
587
836
|
attachments_configuration=qbusiness.CfnApplication.AttachmentsConfigurationProperty(
|
|
588
837
|
attachments_control_mode="attachmentsControlMode"
|
|
589
838
|
),
|
|
839
|
+
auto_subscription_configuration=qbusiness.CfnApplication.AutoSubscriptionConfigurationProperty(
|
|
840
|
+
auto_subscribe="autoSubscribe",
|
|
841
|
+
|
|
842
|
+
# the properties below are optional
|
|
843
|
+
default_subscription_type="defaultSubscriptionType"
|
|
844
|
+
),
|
|
845
|
+
client_ids_for_oidc=["clientIdsForOidc"],
|
|
590
846
|
description="description",
|
|
591
847
|
encryption_configuration=qbusiness.CfnApplication.EncryptionConfigurationProperty(
|
|
592
848
|
kms_key_id="kmsKeyId"
|
|
593
849
|
),
|
|
850
|
+
iam_identity_provider_arn="iamIdentityProviderArn",
|
|
594
851
|
identity_center_instance_arn="identityCenterInstanceArn",
|
|
852
|
+
identity_type="identityType",
|
|
853
|
+
personalization_configuration=qbusiness.CfnApplication.PersonalizationConfigurationProperty(
|
|
854
|
+
personalization_control_mode="personalizationControlMode"
|
|
855
|
+
),
|
|
595
856
|
q_apps_configuration=qbusiness.CfnApplication.QAppsConfigurationProperty(
|
|
596
857
|
q_apps_control_mode="qAppsControlMode"
|
|
597
858
|
),
|
|
@@ -606,9 +867,14 @@ class CfnApplicationProps:
|
|
|
606
867
|
type_hints = typing.get_type_hints(_typecheckingstub__cd218bde3aa6ce3304b30e1d4799c501a50db8db5cef8926c28924af066170bb)
|
|
607
868
|
check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
|
|
608
869
|
check_type(argname="argument attachments_configuration", value=attachments_configuration, expected_type=type_hints["attachments_configuration"])
|
|
870
|
+
check_type(argname="argument auto_subscription_configuration", value=auto_subscription_configuration, expected_type=type_hints["auto_subscription_configuration"])
|
|
871
|
+
check_type(argname="argument client_ids_for_oidc", value=client_ids_for_oidc, expected_type=type_hints["client_ids_for_oidc"])
|
|
609
872
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
610
873
|
check_type(argname="argument encryption_configuration", value=encryption_configuration, expected_type=type_hints["encryption_configuration"])
|
|
874
|
+
check_type(argname="argument iam_identity_provider_arn", value=iam_identity_provider_arn, expected_type=type_hints["iam_identity_provider_arn"])
|
|
611
875
|
check_type(argname="argument identity_center_instance_arn", value=identity_center_instance_arn, expected_type=type_hints["identity_center_instance_arn"])
|
|
876
|
+
check_type(argname="argument identity_type", value=identity_type, expected_type=type_hints["identity_type"])
|
|
877
|
+
check_type(argname="argument personalization_configuration", value=personalization_configuration, expected_type=type_hints["personalization_configuration"])
|
|
612
878
|
check_type(argname="argument q_apps_configuration", value=q_apps_configuration, expected_type=type_hints["q_apps_configuration"])
|
|
613
879
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
614
880
|
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
@@ -617,12 +883,22 @@ class CfnApplicationProps:
|
|
|
617
883
|
}
|
|
618
884
|
if attachments_configuration is not None:
|
|
619
885
|
self._values["attachments_configuration"] = attachments_configuration
|
|
886
|
+
if auto_subscription_configuration is not None:
|
|
887
|
+
self._values["auto_subscription_configuration"] = auto_subscription_configuration
|
|
888
|
+
if client_ids_for_oidc is not None:
|
|
889
|
+
self._values["client_ids_for_oidc"] = client_ids_for_oidc
|
|
620
890
|
if description is not None:
|
|
621
891
|
self._values["description"] = description
|
|
622
892
|
if encryption_configuration is not None:
|
|
623
893
|
self._values["encryption_configuration"] = encryption_configuration
|
|
894
|
+
if iam_identity_provider_arn is not None:
|
|
895
|
+
self._values["iam_identity_provider_arn"] = iam_identity_provider_arn
|
|
624
896
|
if identity_center_instance_arn is not None:
|
|
625
897
|
self._values["identity_center_instance_arn"] = identity_center_instance_arn
|
|
898
|
+
if identity_type is not None:
|
|
899
|
+
self._values["identity_type"] = identity_type
|
|
900
|
+
if personalization_configuration is not None:
|
|
901
|
+
self._values["personalization_configuration"] = personalization_configuration
|
|
626
902
|
if q_apps_configuration is not None:
|
|
627
903
|
self._values["q_apps_configuration"] = q_apps_configuration
|
|
628
904
|
if role_arn is not None:
|
|
@@ -651,6 +927,25 @@ class CfnApplicationProps:
|
|
|
651
927
|
result = self._values.get("attachments_configuration")
|
|
652
928
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.AttachmentsConfigurationProperty]], result)
|
|
653
929
|
|
|
930
|
+
@builtins.property
|
|
931
|
+
def auto_subscription_configuration(
|
|
932
|
+
self,
|
|
933
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.AutoSubscriptionConfigurationProperty]]:
|
|
934
|
+
'''Subscription configuration information for an Amazon Q Business application using IAM identity federation for user management.
|
|
935
|
+
|
|
936
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-autosubscriptionconfiguration
|
|
937
|
+
'''
|
|
938
|
+
result = self._values.get("auto_subscription_configuration")
|
|
939
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.AutoSubscriptionConfigurationProperty]], result)
|
|
940
|
+
|
|
941
|
+
@builtins.property
|
|
942
|
+
def client_ids_for_oidc(self) -> typing.Optional[typing.List[builtins.str]]:
|
|
943
|
+
'''
|
|
944
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-clientidsforoidc
|
|
945
|
+
'''
|
|
946
|
+
result = self._values.get("client_ids_for_oidc")
|
|
947
|
+
return typing.cast(typing.Optional[typing.List[builtins.str]], result)
|
|
948
|
+
|
|
654
949
|
@builtins.property
|
|
655
950
|
def description(self) -> typing.Optional[builtins.str]:
|
|
656
951
|
'''A description for the Amazon Q Business application.
|
|
@@ -673,6 +968,15 @@ class CfnApplicationProps:
|
|
|
673
968
|
result = self._values.get("encryption_configuration")
|
|
674
969
|
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.EncryptionConfigurationProperty]], result)
|
|
675
970
|
|
|
971
|
+
@builtins.property
|
|
972
|
+
def iam_identity_provider_arn(self) -> typing.Optional[builtins.str]:
|
|
973
|
+
'''The Amazon Resource Name (ARN) of an identity provider being used by an Amazon Q Business application.
|
|
974
|
+
|
|
975
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-iamidentityproviderarn
|
|
976
|
+
'''
|
|
977
|
+
result = self._values.get("iam_identity_provider_arn")
|
|
978
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
979
|
+
|
|
676
980
|
@builtins.property
|
|
677
981
|
def identity_center_instance_arn(self) -> typing.Optional[builtins.str]:
|
|
678
982
|
'''The Amazon Resource Name (ARN) of the IAM Identity Center instance you are either creating for—or connecting to—your Amazon Q Business application.
|
|
@@ -684,14 +988,34 @@ class CfnApplicationProps:
|
|
|
684
988
|
result = self._values.get("identity_center_instance_arn")
|
|
685
989
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
686
990
|
|
|
991
|
+
@builtins.property
|
|
992
|
+
def identity_type(self) -> typing.Optional[builtins.str]:
|
|
993
|
+
'''The authentication type being used by a Amazon Q Business application.
|
|
994
|
+
|
|
995
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-identitytype
|
|
996
|
+
'''
|
|
997
|
+
result = self._values.get("identity_type")
|
|
998
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
999
|
+
|
|
1000
|
+
@builtins.property
|
|
1001
|
+
def personalization_configuration(
|
|
1002
|
+
self,
|
|
1003
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.PersonalizationConfigurationProperty]]:
|
|
1004
|
+
'''Configuration information about chat response personalization.
|
|
1005
|
+
|
|
1006
|
+
For more information, see `Personalizing chat responses <https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/personalizing-chat-responses.html>`_ .
|
|
1007
|
+
|
|
1008
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-personalizationconfiguration
|
|
1009
|
+
'''
|
|
1010
|
+
result = self._values.get("personalization_configuration")
|
|
1011
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.PersonalizationConfigurationProperty]], result)
|
|
1012
|
+
|
|
687
1013
|
@builtins.property
|
|
688
1014
|
def q_apps_configuration(
|
|
689
1015
|
self,
|
|
690
1016
|
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.QAppsConfigurationProperty]]:
|
|
691
1017
|
'''Configuration information about Amazon Q Apps.
|
|
692
1018
|
|
|
693
|
-
(preview feature)
|
|
694
|
-
|
|
695
1019
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-application.html#cfn-qbusiness-application-qappsconfiguration
|
|
696
1020
|
'''
|
|
697
1021
|
result = self._values.get("q_apps_configuration")
|
|
@@ -4574,6 +4898,15 @@ class CfnWebExperience(
|
|
|
4574
4898
|
application_id="applicationId",
|
|
4575
4899
|
|
|
4576
4900
|
# the properties below are optional
|
|
4901
|
+
identity_provider_configuration=qbusiness.CfnWebExperience.IdentityProviderConfigurationProperty(
|
|
4902
|
+
open_id_connect_configuration=qbusiness.CfnWebExperience.OpenIDConnectProviderConfigurationProperty(
|
|
4903
|
+
secrets_arn="secretsArn",
|
|
4904
|
+
secrets_role="secretsRole"
|
|
4905
|
+
),
|
|
4906
|
+
saml_configuration=qbusiness.CfnWebExperience.SamlProviderConfigurationProperty(
|
|
4907
|
+
authentication_url="authenticationUrl"
|
|
4908
|
+
)
|
|
4909
|
+
),
|
|
4577
4910
|
role_arn="roleArn",
|
|
4578
4911
|
sample_prompts_control_mode="samplePromptsControlMode",
|
|
4579
4912
|
subtitle="subtitle",
|
|
@@ -4592,6 +4925,7 @@ class CfnWebExperience(
|
|
|
4592
4925
|
id: builtins.str,
|
|
4593
4926
|
*,
|
|
4594
4927
|
application_id: builtins.str,
|
|
4928
|
+
identity_provider_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWebExperience.IdentityProviderConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4595
4929
|
role_arn: typing.Optional[builtins.str] = None,
|
|
4596
4930
|
sample_prompts_control_mode: typing.Optional[builtins.str] = None,
|
|
4597
4931
|
subtitle: typing.Optional[builtins.str] = None,
|
|
@@ -4603,6 +4937,7 @@ class CfnWebExperience(
|
|
|
4603
4937
|
:param scope: Scope in which this resource is defined.
|
|
4604
4938
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
4605
4939
|
:param application_id: The identifier of the Amazon Q Business web experience.
|
|
4940
|
+
:param identity_provider_configuration: Provides information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.
|
|
4606
4941
|
:param role_arn: The Amazon Resource Name (ARN) of the service role attached to your web experience. .. epigraph:: You must provide this value if you're using IAM Identity Center to manage end user access to your application. If you're using legacy identity management to manage user access, you don't need to provide this value.
|
|
4607
4942
|
:param sample_prompts_control_mode: Determines whether sample prompts are enabled in the web experience for an end user.
|
|
4608
4943
|
:param subtitle: A subtitle to personalize your Amazon Q Business web experience.
|
|
@@ -4616,6 +4951,7 @@ class CfnWebExperience(
|
|
|
4616
4951
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
4617
4952
|
props = CfnWebExperienceProps(
|
|
4618
4953
|
application_id=application_id,
|
|
4954
|
+
identity_provider_configuration=identity_provider_configuration,
|
|
4619
4955
|
role_arn=role_arn,
|
|
4620
4956
|
sample_prompts_control_mode=sample_prompts_control_mode,
|
|
4621
4957
|
subtitle=subtitle,
|
|
@@ -4736,6 +5072,24 @@ class CfnWebExperience(
|
|
|
4736
5072
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4737
5073
|
jsii.set(self, "applicationId", value) # pyright: ignore[reportArgumentType]
|
|
4738
5074
|
|
|
5075
|
+
@builtins.property
|
|
5076
|
+
@jsii.member(jsii_name="identityProviderConfiguration")
|
|
5077
|
+
def identity_provider_configuration(
|
|
5078
|
+
self,
|
|
5079
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWebExperience.IdentityProviderConfigurationProperty"]]:
|
|
5080
|
+
'''Provides information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.'''
|
|
5081
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWebExperience.IdentityProviderConfigurationProperty"]], jsii.get(self, "identityProviderConfiguration"))
|
|
5082
|
+
|
|
5083
|
+
@identity_provider_configuration.setter
|
|
5084
|
+
def identity_provider_configuration(
|
|
5085
|
+
self,
|
|
5086
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWebExperience.IdentityProviderConfigurationProperty"]],
|
|
5087
|
+
) -> None:
|
|
5088
|
+
if __debug__:
|
|
5089
|
+
type_hints = typing.get_type_hints(_typecheckingstub__037151dbe9f2f36da364495e39b2467a261694df042a6b81d84e5c2c34771ac4)
|
|
5090
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
5091
|
+
jsii.set(self, "identityProviderConfiguration", value) # pyright: ignore[reportArgumentType]
|
|
5092
|
+
|
|
4739
5093
|
@builtins.property
|
|
4740
5094
|
@jsii.member(jsii_name="roleArn")
|
|
4741
5095
|
def role_arn(self) -> typing.Optional[builtins.str]:
|
|
@@ -4814,12 +5168,216 @@ class CfnWebExperience(
|
|
|
4814
5168
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4815
5169
|
jsii.set(self, "welcomeMessage", value) # pyright: ignore[reportArgumentType]
|
|
4816
5170
|
|
|
5171
|
+
@jsii.data_type(
|
|
5172
|
+
jsii_type="aws-cdk-lib.aws_qbusiness.CfnWebExperience.IdentityProviderConfigurationProperty",
|
|
5173
|
+
jsii_struct_bases=[],
|
|
5174
|
+
name_mapping={
|
|
5175
|
+
"open_id_connect_configuration": "openIdConnectConfiguration",
|
|
5176
|
+
"saml_configuration": "samlConfiguration",
|
|
5177
|
+
},
|
|
5178
|
+
)
|
|
5179
|
+
class IdentityProviderConfigurationProperty:
|
|
5180
|
+
def __init__(
|
|
5181
|
+
self,
|
|
5182
|
+
*,
|
|
5183
|
+
open_id_connect_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWebExperience.OpenIDConnectProviderConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5184
|
+
saml_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnWebExperience.SamlProviderConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5185
|
+
) -> None:
|
|
5186
|
+
'''Provides information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.
|
|
5187
|
+
|
|
5188
|
+
:param open_id_connect_configuration:
|
|
5189
|
+
:param saml_configuration:
|
|
5190
|
+
|
|
5191
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-webexperience-identityproviderconfiguration.html
|
|
5192
|
+
:exampleMetadata: fixture=_generated
|
|
5193
|
+
|
|
5194
|
+
Example::
|
|
5195
|
+
|
|
5196
|
+
# The code below shows an example of how to instantiate this type.
|
|
5197
|
+
# The values are placeholders you should change.
|
|
5198
|
+
from aws_cdk import aws_qbusiness as qbusiness
|
|
5199
|
+
|
|
5200
|
+
identity_provider_configuration_property = qbusiness.CfnWebExperience.IdentityProviderConfigurationProperty(
|
|
5201
|
+
open_id_connect_configuration=qbusiness.CfnWebExperience.OpenIDConnectProviderConfigurationProperty(
|
|
5202
|
+
secrets_arn="secretsArn",
|
|
5203
|
+
secrets_role="secretsRole"
|
|
5204
|
+
),
|
|
5205
|
+
saml_configuration=qbusiness.CfnWebExperience.SamlProviderConfigurationProperty(
|
|
5206
|
+
authentication_url="authenticationUrl"
|
|
5207
|
+
)
|
|
5208
|
+
)
|
|
5209
|
+
'''
|
|
5210
|
+
if __debug__:
|
|
5211
|
+
type_hints = typing.get_type_hints(_typecheckingstub__f792f47d6a0722e8b808ad22d67aec07629a1e7351865cae0ee890cff9ba5c1a)
|
|
5212
|
+
check_type(argname="argument open_id_connect_configuration", value=open_id_connect_configuration, expected_type=type_hints["open_id_connect_configuration"])
|
|
5213
|
+
check_type(argname="argument saml_configuration", value=saml_configuration, expected_type=type_hints["saml_configuration"])
|
|
5214
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
5215
|
+
if open_id_connect_configuration is not None:
|
|
5216
|
+
self._values["open_id_connect_configuration"] = open_id_connect_configuration
|
|
5217
|
+
if saml_configuration is not None:
|
|
5218
|
+
self._values["saml_configuration"] = saml_configuration
|
|
5219
|
+
|
|
5220
|
+
@builtins.property
|
|
5221
|
+
def open_id_connect_configuration(
|
|
5222
|
+
self,
|
|
5223
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWebExperience.OpenIDConnectProviderConfigurationProperty"]]:
|
|
5224
|
+
'''
|
|
5225
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-webexperience-identityproviderconfiguration.html#cfn-qbusiness-webexperience-identityproviderconfiguration-openidconnectconfiguration
|
|
5226
|
+
'''
|
|
5227
|
+
result = self._values.get("open_id_connect_configuration")
|
|
5228
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWebExperience.OpenIDConnectProviderConfigurationProperty"]], result)
|
|
5229
|
+
|
|
5230
|
+
@builtins.property
|
|
5231
|
+
def saml_configuration(
|
|
5232
|
+
self,
|
|
5233
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWebExperience.SamlProviderConfigurationProperty"]]:
|
|
5234
|
+
'''
|
|
5235
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-webexperience-identityproviderconfiguration.html#cfn-qbusiness-webexperience-identityproviderconfiguration-samlconfiguration
|
|
5236
|
+
'''
|
|
5237
|
+
result = self._values.get("saml_configuration")
|
|
5238
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnWebExperience.SamlProviderConfigurationProperty"]], result)
|
|
5239
|
+
|
|
5240
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5241
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5242
|
+
|
|
5243
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5244
|
+
return not (rhs == self)
|
|
5245
|
+
|
|
5246
|
+
def __repr__(self) -> str:
|
|
5247
|
+
return "IdentityProviderConfigurationProperty(%s)" % ", ".join(
|
|
5248
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5249
|
+
)
|
|
5250
|
+
|
|
5251
|
+
@jsii.data_type(
|
|
5252
|
+
jsii_type="aws-cdk-lib.aws_qbusiness.CfnWebExperience.OpenIDConnectProviderConfigurationProperty",
|
|
5253
|
+
jsii_struct_bases=[],
|
|
5254
|
+
name_mapping={"secrets_arn": "secretsArn", "secrets_role": "secretsRole"},
|
|
5255
|
+
)
|
|
5256
|
+
class OpenIDConnectProviderConfigurationProperty:
|
|
5257
|
+
def __init__(
|
|
5258
|
+
self,
|
|
5259
|
+
*,
|
|
5260
|
+
secrets_arn: builtins.str,
|
|
5261
|
+
secrets_role: builtins.str,
|
|
5262
|
+
) -> None:
|
|
5263
|
+
'''Information about the OIDC-compliant identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.
|
|
5264
|
+
|
|
5265
|
+
:param secrets_arn: The Amazon Resource Name (ARN) of a Secrets Manager secret containing the OIDC client secret.
|
|
5266
|
+
:param secrets_role: An IAM role with permissions to access AWS KMS to decrypt the Secrets Manager secret containing your OIDC client secret.
|
|
5267
|
+
|
|
5268
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-webexperience-openidconnectproviderconfiguration.html
|
|
5269
|
+
:exampleMetadata: fixture=_generated
|
|
5270
|
+
|
|
5271
|
+
Example::
|
|
5272
|
+
|
|
5273
|
+
# The code below shows an example of how to instantiate this type.
|
|
5274
|
+
# The values are placeholders you should change.
|
|
5275
|
+
from aws_cdk import aws_qbusiness as qbusiness
|
|
5276
|
+
|
|
5277
|
+
open_iDConnect_provider_configuration_property = qbusiness.CfnWebExperience.OpenIDConnectProviderConfigurationProperty(
|
|
5278
|
+
secrets_arn="secretsArn",
|
|
5279
|
+
secrets_role="secretsRole"
|
|
5280
|
+
)
|
|
5281
|
+
'''
|
|
5282
|
+
if __debug__:
|
|
5283
|
+
type_hints = typing.get_type_hints(_typecheckingstub__83ea977b859d6c4c1e46fa972ce0e7d691c60d57b7c59adbe13d851526eb765e)
|
|
5284
|
+
check_type(argname="argument secrets_arn", value=secrets_arn, expected_type=type_hints["secrets_arn"])
|
|
5285
|
+
check_type(argname="argument secrets_role", value=secrets_role, expected_type=type_hints["secrets_role"])
|
|
5286
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5287
|
+
"secrets_arn": secrets_arn,
|
|
5288
|
+
"secrets_role": secrets_role,
|
|
5289
|
+
}
|
|
5290
|
+
|
|
5291
|
+
@builtins.property
|
|
5292
|
+
def secrets_arn(self) -> builtins.str:
|
|
5293
|
+
'''The Amazon Resource Name (ARN) of a Secrets Manager secret containing the OIDC client secret.
|
|
5294
|
+
|
|
5295
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-webexperience-openidconnectproviderconfiguration.html#cfn-qbusiness-webexperience-openidconnectproviderconfiguration-secretsarn
|
|
5296
|
+
'''
|
|
5297
|
+
result = self._values.get("secrets_arn")
|
|
5298
|
+
assert result is not None, "Required property 'secrets_arn' is missing"
|
|
5299
|
+
return typing.cast(builtins.str, result)
|
|
5300
|
+
|
|
5301
|
+
@builtins.property
|
|
5302
|
+
def secrets_role(self) -> builtins.str:
|
|
5303
|
+
'''An IAM role with permissions to access AWS KMS to decrypt the Secrets Manager secret containing your OIDC client secret.
|
|
5304
|
+
|
|
5305
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-webexperience-openidconnectproviderconfiguration.html#cfn-qbusiness-webexperience-openidconnectproviderconfiguration-secretsrole
|
|
5306
|
+
'''
|
|
5307
|
+
result = self._values.get("secrets_role")
|
|
5308
|
+
assert result is not None, "Required property 'secrets_role' is missing"
|
|
5309
|
+
return typing.cast(builtins.str, result)
|
|
5310
|
+
|
|
5311
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5312
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5313
|
+
|
|
5314
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5315
|
+
return not (rhs == self)
|
|
5316
|
+
|
|
5317
|
+
def __repr__(self) -> str:
|
|
5318
|
+
return "OpenIDConnectProviderConfigurationProperty(%s)" % ", ".join(
|
|
5319
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5320
|
+
)
|
|
5321
|
+
|
|
5322
|
+
@jsii.data_type(
|
|
5323
|
+
jsii_type="aws-cdk-lib.aws_qbusiness.CfnWebExperience.SamlProviderConfigurationProperty",
|
|
5324
|
+
jsii_struct_bases=[],
|
|
5325
|
+
name_mapping={"authentication_url": "authenticationUrl"},
|
|
5326
|
+
)
|
|
5327
|
+
class SamlProviderConfigurationProperty:
|
|
5328
|
+
def __init__(self, *, authentication_url: builtins.str) -> None:
|
|
5329
|
+
'''Information about the SAML 2.0-compliant identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.
|
|
5330
|
+
|
|
5331
|
+
:param authentication_url: The URL where Amazon Q Business end users will be redirected for authentication.
|
|
5332
|
+
|
|
5333
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-webexperience-samlproviderconfiguration.html
|
|
5334
|
+
:exampleMetadata: fixture=_generated
|
|
5335
|
+
|
|
5336
|
+
Example::
|
|
5337
|
+
|
|
5338
|
+
# The code below shows an example of how to instantiate this type.
|
|
5339
|
+
# The values are placeholders you should change.
|
|
5340
|
+
from aws_cdk import aws_qbusiness as qbusiness
|
|
5341
|
+
|
|
5342
|
+
saml_provider_configuration_property = qbusiness.CfnWebExperience.SamlProviderConfigurationProperty(
|
|
5343
|
+
authentication_url="authenticationUrl"
|
|
5344
|
+
)
|
|
5345
|
+
'''
|
|
5346
|
+
if __debug__:
|
|
5347
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7f19a9da1f3a1cf2eefff3580476a949609debe65a8fc477af11c893d5b4453b)
|
|
5348
|
+
check_type(argname="argument authentication_url", value=authentication_url, expected_type=type_hints["authentication_url"])
|
|
5349
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
5350
|
+
"authentication_url": authentication_url,
|
|
5351
|
+
}
|
|
5352
|
+
|
|
5353
|
+
@builtins.property
|
|
5354
|
+
def authentication_url(self) -> builtins.str:
|
|
5355
|
+
'''The URL where Amazon Q Business end users will be redirected for authentication.
|
|
5356
|
+
|
|
5357
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-qbusiness-webexperience-samlproviderconfiguration.html#cfn-qbusiness-webexperience-samlproviderconfiguration-authenticationurl
|
|
5358
|
+
'''
|
|
5359
|
+
result = self._values.get("authentication_url")
|
|
5360
|
+
assert result is not None, "Required property 'authentication_url' is missing"
|
|
5361
|
+
return typing.cast(builtins.str, result)
|
|
5362
|
+
|
|
5363
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
5364
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
5365
|
+
|
|
5366
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
5367
|
+
return not (rhs == self)
|
|
5368
|
+
|
|
5369
|
+
def __repr__(self) -> str:
|
|
5370
|
+
return "SamlProviderConfigurationProperty(%s)" % ", ".join(
|
|
5371
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
5372
|
+
)
|
|
5373
|
+
|
|
4817
5374
|
|
|
4818
5375
|
@jsii.data_type(
|
|
4819
5376
|
jsii_type="aws-cdk-lib.aws_qbusiness.CfnWebExperienceProps",
|
|
4820
5377
|
jsii_struct_bases=[],
|
|
4821
5378
|
name_mapping={
|
|
4822
5379
|
"application_id": "applicationId",
|
|
5380
|
+
"identity_provider_configuration": "identityProviderConfiguration",
|
|
4823
5381
|
"role_arn": "roleArn",
|
|
4824
5382
|
"sample_prompts_control_mode": "samplePromptsControlMode",
|
|
4825
5383
|
"subtitle": "subtitle",
|
|
@@ -4833,6 +5391,7 @@ class CfnWebExperienceProps:
|
|
|
4833
5391
|
self,
|
|
4834
5392
|
*,
|
|
4835
5393
|
application_id: builtins.str,
|
|
5394
|
+
identity_provider_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebExperience.IdentityProviderConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
4836
5395
|
role_arn: typing.Optional[builtins.str] = None,
|
|
4837
5396
|
sample_prompts_control_mode: typing.Optional[builtins.str] = None,
|
|
4838
5397
|
subtitle: typing.Optional[builtins.str] = None,
|
|
@@ -4843,6 +5402,7 @@ class CfnWebExperienceProps:
|
|
|
4843
5402
|
'''Properties for defining a ``CfnWebExperience``.
|
|
4844
5403
|
|
|
4845
5404
|
:param application_id: The identifier of the Amazon Q Business web experience.
|
|
5405
|
+
:param identity_provider_configuration: Provides information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.
|
|
4846
5406
|
:param role_arn: The Amazon Resource Name (ARN) of the service role attached to your web experience. .. epigraph:: You must provide this value if you're using IAM Identity Center to manage end user access to your application. If you're using legacy identity management to manage user access, you don't need to provide this value.
|
|
4847
5407
|
:param sample_prompts_control_mode: Determines whether sample prompts are enabled in the web experience for an end user.
|
|
4848
5408
|
:param subtitle: A subtitle to personalize your Amazon Q Business web experience.
|
|
@@ -4863,6 +5423,15 @@ class CfnWebExperienceProps:
|
|
|
4863
5423
|
application_id="applicationId",
|
|
4864
5424
|
|
|
4865
5425
|
# the properties below are optional
|
|
5426
|
+
identity_provider_configuration=qbusiness.CfnWebExperience.IdentityProviderConfigurationProperty(
|
|
5427
|
+
open_id_connect_configuration=qbusiness.CfnWebExperience.OpenIDConnectProviderConfigurationProperty(
|
|
5428
|
+
secrets_arn="secretsArn",
|
|
5429
|
+
secrets_role="secretsRole"
|
|
5430
|
+
),
|
|
5431
|
+
saml_configuration=qbusiness.CfnWebExperience.SamlProviderConfigurationProperty(
|
|
5432
|
+
authentication_url="authenticationUrl"
|
|
5433
|
+
)
|
|
5434
|
+
),
|
|
4866
5435
|
role_arn="roleArn",
|
|
4867
5436
|
sample_prompts_control_mode="samplePromptsControlMode",
|
|
4868
5437
|
subtitle="subtitle",
|
|
@@ -4877,6 +5446,7 @@ class CfnWebExperienceProps:
|
|
|
4877
5446
|
if __debug__:
|
|
4878
5447
|
type_hints = typing.get_type_hints(_typecheckingstub__58d2b12e60ffd88803f1746b34f5f9b5b77805b460b8074165db15b9de292293)
|
|
4879
5448
|
check_type(argname="argument application_id", value=application_id, expected_type=type_hints["application_id"])
|
|
5449
|
+
check_type(argname="argument identity_provider_configuration", value=identity_provider_configuration, expected_type=type_hints["identity_provider_configuration"])
|
|
4880
5450
|
check_type(argname="argument role_arn", value=role_arn, expected_type=type_hints["role_arn"])
|
|
4881
5451
|
check_type(argname="argument sample_prompts_control_mode", value=sample_prompts_control_mode, expected_type=type_hints["sample_prompts_control_mode"])
|
|
4882
5452
|
check_type(argname="argument subtitle", value=subtitle, expected_type=type_hints["subtitle"])
|
|
@@ -4886,6 +5456,8 @@ class CfnWebExperienceProps:
|
|
|
4886
5456
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
4887
5457
|
"application_id": application_id,
|
|
4888
5458
|
}
|
|
5459
|
+
if identity_provider_configuration is not None:
|
|
5460
|
+
self._values["identity_provider_configuration"] = identity_provider_configuration
|
|
4889
5461
|
if role_arn is not None:
|
|
4890
5462
|
self._values["role_arn"] = role_arn
|
|
4891
5463
|
if sample_prompts_control_mode is not None:
|
|
@@ -4909,6 +5481,17 @@ class CfnWebExperienceProps:
|
|
|
4909
5481
|
assert result is not None, "Required property 'application_id' is missing"
|
|
4910
5482
|
return typing.cast(builtins.str, result)
|
|
4911
5483
|
|
|
5484
|
+
@builtins.property
|
|
5485
|
+
def identity_provider_configuration(
|
|
5486
|
+
self,
|
|
5487
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWebExperience.IdentityProviderConfigurationProperty]]:
|
|
5488
|
+
'''Provides information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.
|
|
5489
|
+
|
|
5490
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qbusiness-webexperience.html#cfn-qbusiness-webexperience-identityproviderconfiguration
|
|
5491
|
+
'''
|
|
5492
|
+
result = self._values.get("identity_provider_configuration")
|
|
5493
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWebExperience.IdentityProviderConfigurationProperty]], result)
|
|
5494
|
+
|
|
4912
5495
|
@builtins.property
|
|
4913
5496
|
def role_arn(self) -> typing.Optional[builtins.str]:
|
|
4914
5497
|
'''The Amazon Resource Name (ARN) of the service role attached to your web experience.
|
|
@@ -5005,9 +5588,14 @@ def _typecheckingstub__e2c95edfee8896187b03149b15ce3604b3a59bfb3b08abd73c5672b7c
|
|
|
5005
5588
|
*,
|
|
5006
5589
|
display_name: builtins.str,
|
|
5007
5590
|
attachments_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.AttachmentsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5591
|
+
auto_subscription_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.AutoSubscriptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5592
|
+
client_ids_for_oidc: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5008
5593
|
description: typing.Optional[builtins.str] = None,
|
|
5009
5594
|
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.EncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5595
|
+
iam_identity_provider_arn: typing.Optional[builtins.str] = None,
|
|
5010
5596
|
identity_center_instance_arn: typing.Optional[builtins.str] = None,
|
|
5597
|
+
identity_type: typing.Optional[builtins.str] = None,
|
|
5598
|
+
personalization_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.PersonalizationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5011
5599
|
q_apps_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.QAppsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5012
5600
|
role_arn: typing.Optional[builtins.str] = None,
|
|
5013
5601
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -5039,6 +5627,18 @@ def _typecheckingstub__57c12a095537be640da7b57fecbf3b07e85d4c25f19b33011eba52664
|
|
|
5039
5627
|
"""Type checking stubs"""
|
|
5040
5628
|
pass
|
|
5041
5629
|
|
|
5630
|
+
def _typecheckingstub__2b35a2b0fba0b74bf88677e8d09b2943fd8623f4b30bfa5113d4dd6400769370(
|
|
5631
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.AutoSubscriptionConfigurationProperty]],
|
|
5632
|
+
) -> None:
|
|
5633
|
+
"""Type checking stubs"""
|
|
5634
|
+
pass
|
|
5635
|
+
|
|
5636
|
+
def _typecheckingstub__e16dbf7c72949c3994e85619024d1169320455f5129fc42720ee3369ccfe5013(
|
|
5637
|
+
value: typing.Optional[typing.List[builtins.str]],
|
|
5638
|
+
) -> None:
|
|
5639
|
+
"""Type checking stubs"""
|
|
5640
|
+
pass
|
|
5641
|
+
|
|
5042
5642
|
def _typecheckingstub__cc81ccdbed36f390524b7f7b30696df462f8857fc5dbadb944cf0de3caf79186(
|
|
5043
5643
|
value: typing.Optional[builtins.str],
|
|
5044
5644
|
) -> None:
|
|
@@ -5051,12 +5651,30 @@ def _typecheckingstub__6de90c5382cc0edcebad422dab80436e0194a3dee33a2061cee4fd766
|
|
|
5051
5651
|
"""Type checking stubs"""
|
|
5052
5652
|
pass
|
|
5053
5653
|
|
|
5654
|
+
def _typecheckingstub__2b960c5b2a263370b2ed8902e4658a930ce9de4e1d95a848786663e3d07945d0(
|
|
5655
|
+
value: typing.Optional[builtins.str],
|
|
5656
|
+
) -> None:
|
|
5657
|
+
"""Type checking stubs"""
|
|
5658
|
+
pass
|
|
5659
|
+
|
|
5054
5660
|
def _typecheckingstub__0e51ab74f20033849c9b717566b2c1f59a066782ff0aafb4adb05ce552f5019a(
|
|
5055
5661
|
value: typing.Optional[builtins.str],
|
|
5056
5662
|
) -> None:
|
|
5057
5663
|
"""Type checking stubs"""
|
|
5058
5664
|
pass
|
|
5059
5665
|
|
|
5666
|
+
def _typecheckingstub__44221a178b075fcdd809e631de43085ff6e3f91b9741304fd15e1a0dc442eae1(
|
|
5667
|
+
value: typing.Optional[builtins.str],
|
|
5668
|
+
) -> None:
|
|
5669
|
+
"""Type checking stubs"""
|
|
5670
|
+
pass
|
|
5671
|
+
|
|
5672
|
+
def _typecheckingstub__aa9c62867ef8fd21c925099f5633037e806bdc6c1fd8880e42968edf98de8ec2(
|
|
5673
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.PersonalizationConfigurationProperty]],
|
|
5674
|
+
) -> None:
|
|
5675
|
+
"""Type checking stubs"""
|
|
5676
|
+
pass
|
|
5677
|
+
|
|
5060
5678
|
def _typecheckingstub__53d92c70961aea8a11ca2bb523fd9f10d2b780d9bda90114e0350e538ef5bd70(
|
|
5061
5679
|
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnApplication.QAppsConfigurationProperty]],
|
|
5062
5680
|
) -> None:
|
|
@@ -5082,6 +5700,14 @@ def _typecheckingstub__e846388f34383d4a53c1ad7c73621d6c0612dd1cab1047d5850af6842
|
|
|
5082
5700
|
"""Type checking stubs"""
|
|
5083
5701
|
pass
|
|
5084
5702
|
|
|
5703
|
+
def _typecheckingstub__14d50e4994c3366ddeb7da76131ecc6e103dc3ed4c7bb2ec4ce982b547d2ab3b(
|
|
5704
|
+
*,
|
|
5705
|
+
auto_subscribe: builtins.str,
|
|
5706
|
+
default_subscription_type: typing.Optional[builtins.str] = None,
|
|
5707
|
+
) -> None:
|
|
5708
|
+
"""Type checking stubs"""
|
|
5709
|
+
pass
|
|
5710
|
+
|
|
5085
5711
|
def _typecheckingstub__e3ddb5009b3c1bf36876f4e9d68c61c40a1e8a10287a7a292f89a801fcc9ca73(
|
|
5086
5712
|
*,
|
|
5087
5713
|
kms_key_id: typing.Optional[builtins.str] = None,
|
|
@@ -5089,6 +5715,13 @@ def _typecheckingstub__e3ddb5009b3c1bf36876f4e9d68c61c40a1e8a10287a7a292f89a801f
|
|
|
5089
5715
|
"""Type checking stubs"""
|
|
5090
5716
|
pass
|
|
5091
5717
|
|
|
5718
|
+
def _typecheckingstub__05c530a7a40f7de7f808af2f7755372bf178629a393e2508771fc91224c8446f(
|
|
5719
|
+
*,
|
|
5720
|
+
personalization_control_mode: builtins.str,
|
|
5721
|
+
) -> None:
|
|
5722
|
+
"""Type checking stubs"""
|
|
5723
|
+
pass
|
|
5724
|
+
|
|
5092
5725
|
def _typecheckingstub__6b7142160185e09a91c9d85e4a5dafc98a64398c744201a937b09ca7cc1de37e(
|
|
5093
5726
|
*,
|
|
5094
5727
|
q_apps_control_mode: builtins.str,
|
|
@@ -5100,9 +5733,14 @@ def _typecheckingstub__cd218bde3aa6ce3304b30e1d4799c501a50db8db5cef8926c28924af0
|
|
|
5100
5733
|
*,
|
|
5101
5734
|
display_name: builtins.str,
|
|
5102
5735
|
attachments_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.AttachmentsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5736
|
+
auto_subscription_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.AutoSubscriptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5737
|
+
client_ids_for_oidc: typing.Optional[typing.Sequence[builtins.str]] = None,
|
|
5103
5738
|
description: typing.Optional[builtins.str] = None,
|
|
5104
5739
|
encryption_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.EncryptionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5740
|
+
iam_identity_provider_arn: typing.Optional[builtins.str] = None,
|
|
5105
5741
|
identity_center_instance_arn: typing.Optional[builtins.str] = None,
|
|
5742
|
+
identity_type: typing.Optional[builtins.str] = None,
|
|
5743
|
+
personalization_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.PersonalizationConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5106
5744
|
q_apps_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnApplication.QAppsConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5107
5745
|
role_arn: typing.Optional[builtins.str] = None,
|
|
5108
5746
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
@@ -5634,6 +6272,7 @@ def _typecheckingstub__357871375e43a0ed6fbb398668ece13df26dff3afca5c98268a56fffd
|
|
|
5634
6272
|
id: builtins.str,
|
|
5635
6273
|
*,
|
|
5636
6274
|
application_id: builtins.str,
|
|
6275
|
+
identity_provider_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebExperience.IdentityProviderConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5637
6276
|
role_arn: typing.Optional[builtins.str] = None,
|
|
5638
6277
|
sample_prompts_control_mode: typing.Optional[builtins.str] = None,
|
|
5639
6278
|
subtitle: typing.Optional[builtins.str] = None,
|
|
@@ -5662,6 +6301,12 @@ def _typecheckingstub__994b24302ed92226579fa1ecdeef04d0cb66956019e467efcd9374ab2
|
|
|
5662
6301
|
"""Type checking stubs"""
|
|
5663
6302
|
pass
|
|
5664
6303
|
|
|
6304
|
+
def _typecheckingstub__037151dbe9f2f36da364495e39b2467a261694df042a6b81d84e5c2c34771ac4(
|
|
6305
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnWebExperience.IdentityProviderConfigurationProperty]],
|
|
6306
|
+
) -> None:
|
|
6307
|
+
"""Type checking stubs"""
|
|
6308
|
+
pass
|
|
6309
|
+
|
|
5665
6310
|
def _typecheckingstub__9e93af1c8c50a8fbbba5f2f4c0d1013951bd550b401230f1ec2637c4955cea1b(
|
|
5666
6311
|
value: typing.Optional[builtins.str],
|
|
5667
6312
|
) -> None:
|
|
@@ -5698,9 +6343,33 @@ def _typecheckingstub__4dc11f2c0364936c993f550de31ea07513a76ae6f389384341e03770b
|
|
|
5698
6343
|
"""Type checking stubs"""
|
|
5699
6344
|
pass
|
|
5700
6345
|
|
|
6346
|
+
def _typecheckingstub__f792f47d6a0722e8b808ad22d67aec07629a1e7351865cae0ee890cff9ba5c1a(
|
|
6347
|
+
*,
|
|
6348
|
+
open_id_connect_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebExperience.OpenIDConnectProviderConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6349
|
+
saml_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebExperience.SamlProviderConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
6350
|
+
) -> None:
|
|
6351
|
+
"""Type checking stubs"""
|
|
6352
|
+
pass
|
|
6353
|
+
|
|
6354
|
+
def _typecheckingstub__83ea977b859d6c4c1e46fa972ce0e7d691c60d57b7c59adbe13d851526eb765e(
|
|
6355
|
+
*,
|
|
6356
|
+
secrets_arn: builtins.str,
|
|
6357
|
+
secrets_role: builtins.str,
|
|
6358
|
+
) -> None:
|
|
6359
|
+
"""Type checking stubs"""
|
|
6360
|
+
pass
|
|
6361
|
+
|
|
6362
|
+
def _typecheckingstub__7f19a9da1f3a1cf2eefff3580476a949609debe65a8fc477af11c893d5b4453b(
|
|
6363
|
+
*,
|
|
6364
|
+
authentication_url: builtins.str,
|
|
6365
|
+
) -> None:
|
|
6366
|
+
"""Type checking stubs"""
|
|
6367
|
+
pass
|
|
6368
|
+
|
|
5701
6369
|
def _typecheckingstub__58d2b12e60ffd88803f1746b34f5f9b5b77805b460b8074165db15b9de292293(
|
|
5702
6370
|
*,
|
|
5703
6371
|
application_id: builtins.str,
|
|
6372
|
+
identity_provider_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnWebExperience.IdentityProviderConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
5704
6373
|
role_arn: typing.Optional[builtins.str] = None,
|
|
5705
6374
|
sample_prompts_control_mode: typing.Optional[builtins.str] = None,
|
|
5706
6375
|
subtitle: typing.Optional[builtins.str] = None,
|