aws-cdk-lib 2.181.1__py3-none-any.whl → 2.182.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.

Files changed (49) hide show
  1. aws_cdk/__init__.py +292 -8
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.181.1.jsii.tgz → aws-cdk-lib@2.182.0.jsii.tgz} +0 -0
  4. aws_cdk/assertions/__init__.py +59 -0
  5. aws_cdk/aws_apigateway/__init__.py +122 -66
  6. aws_cdk/aws_applicationautoscaling/__init__.py +4 -0
  7. aws_cdk/aws_appsync/__init__.py +30 -4
  8. aws_cdk/aws_autoscaling/__init__.py +409 -36
  9. aws_cdk/aws_batch/__init__.py +629 -11
  10. aws_cdk/aws_bedrock/__init__.py +204 -0
  11. aws_cdk/aws_certificatemanager/__init__.py +24 -0
  12. aws_cdk/aws_cloudformation/__init__.py +284 -2
  13. aws_cdk/aws_cloudfront/__init__.py +1 -0
  14. aws_cdk/aws_cloudtrail/__init__.py +4 -4
  15. aws_cdk/aws_datazone/__init__.py +82 -0
  16. aws_cdk/aws_ec2/__init__.py +32 -12
  17. aws_cdk/aws_ecr/__init__.py +10 -4
  18. aws_cdk/aws_ecs/__init__.py +58 -9
  19. aws_cdk/aws_eks/__init__.py +32 -3
  20. aws_cdk/aws_fsx/__init__.py +2 -0
  21. aws_cdk/aws_guardduty/__init__.py +38 -26
  22. aws_cdk/aws_iam/__init__.py +5 -2
  23. aws_cdk/aws_inspector/__init__.py +176 -0
  24. aws_cdk/aws_iotsitewise/__init__.py +2 -3
  25. aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
  26. aws_cdk/aws_lambda/__init__.py +8 -0
  27. aws_cdk/aws_logs/__init__.py +2 -0
  28. aws_cdk/aws_mediapackagev2/__init__.py +22 -14
  29. aws_cdk/aws_opensearchservice/__init__.py +261 -1
  30. aws_cdk/aws_pcaconnectorad/__init__.py +30 -4
  31. aws_cdk/aws_pipes/__init__.py +6 -2
  32. aws_cdk/aws_quicksight/__init__.py +225 -451
  33. aws_cdk/aws_rds/__init__.py +50 -13
  34. aws_cdk/aws_s3/__init__.py +8 -0
  35. aws_cdk/aws_sagemaker/__init__.py +68 -13
  36. aws_cdk/aws_sns/__init__.py +76 -1
  37. aws_cdk/aws_vpclattice/__init__.py +144 -9
  38. aws_cdk/aws_wafv2/__init__.py +702 -0
  39. aws_cdk/aws_wisdom/__init__.py +3 -110
  40. aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
  41. aws_cdk/aws_workspacesweb/__init__.py +179 -2
  42. aws_cdk/cloud_assembly_schema/__init__.py +224 -4
  43. aws_cdk/cx_api/__init__.py +2 -1
  44. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/METADATA +2 -2
  45. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/RECORD +49 -49
  46. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/LICENSE +0 -0
  47. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/NOTICE +0 -0
  48. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/WHEEL +0 -0
  49. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/top_level.txt +0 -0
@@ -221,10 +221,6 @@ class CfnAIAgent(
221
221
  self_service_ai_guardrail_id="selfServiceAiGuardrailId",
222
222
  self_service_answer_generation_ai_prompt_id="selfServiceAnswerGenerationAiPromptId",
223
223
  self_service_pre_processing_ai_prompt_id="selfServicePreProcessingAiPromptId"
224
- ),
225
- session_summarization_ai_agent_configuration=wisdom.CfnAIAgent.SessionSummarizationAIAgentConfigurationProperty(
226
- locale="locale",
227
- session_summarization_ai_prompt_id="sessionSummarizationAiPromptId"
228
224
  )
229
225
  ),
230
226
  type="type",
@@ -444,7 +440,6 @@ class CfnAIAgent(
444
440
  "answer_recommendation_ai_agent_configuration": "answerRecommendationAiAgentConfiguration",
445
441
  "manual_search_ai_agent_configuration": "manualSearchAiAgentConfiguration",
446
442
  "self_service_ai_agent_configuration": "selfServiceAiAgentConfiguration",
447
- "session_summarization_ai_agent_configuration": "sessionSummarizationAiAgentConfiguration",
448
443
  },
449
444
  )
450
445
  class AIAgentConfigurationProperty:
@@ -454,14 +449,12 @@ class CfnAIAgent(
454
449
  answer_recommendation_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
455
450
  manual_search_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.ManualSearchAIAgentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
456
451
  self_service_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.SelfServiceAIAgentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
457
- session_summarization_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAIAgent.SessionSummarizationAIAgentConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
458
452
  ) -> None:
459
453
  '''A typed union that specifies the configuration based on the type of AI Agent.
460
454
 
461
455
  :param answer_recommendation_ai_agent_configuration: The configuration for AI Agents of type ``ANSWER_RECOMMENDATION`` .
462
456
  :param manual_search_ai_agent_configuration: The configuration for AI Agents of type ``MANUAL_SEARCH`` .
463
457
  :param self_service_ai_agent_configuration: The self-service AI agent configuration.
464
- :param session_summarization_ai_agent_configuration:
465
458
 
466
459
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-aiagentconfiguration.html
467
460
  :exampleMetadata: fixture=_generated
@@ -603,10 +596,6 @@ class CfnAIAgent(
603
596
  self_service_ai_guardrail_id="selfServiceAiGuardrailId",
604
597
  self_service_answer_generation_ai_prompt_id="selfServiceAnswerGenerationAiPromptId",
605
598
  self_service_pre_processing_ai_prompt_id="selfServicePreProcessingAiPromptId"
606
- ),
607
- session_summarization_ai_agent_configuration=wisdom.CfnAIAgent.SessionSummarizationAIAgentConfigurationProperty(
608
- locale="locale",
609
- session_summarization_ai_prompt_id="sessionSummarizationAiPromptId"
610
599
  )
611
600
  )
612
601
  '''
@@ -615,7 +604,6 @@ class CfnAIAgent(
615
604
  check_type(argname="argument answer_recommendation_ai_agent_configuration", value=answer_recommendation_ai_agent_configuration, expected_type=type_hints["answer_recommendation_ai_agent_configuration"])
616
605
  check_type(argname="argument manual_search_ai_agent_configuration", value=manual_search_ai_agent_configuration, expected_type=type_hints["manual_search_ai_agent_configuration"])
617
606
  check_type(argname="argument self_service_ai_agent_configuration", value=self_service_ai_agent_configuration, expected_type=type_hints["self_service_ai_agent_configuration"])
618
- check_type(argname="argument session_summarization_ai_agent_configuration", value=session_summarization_ai_agent_configuration, expected_type=type_hints["session_summarization_ai_agent_configuration"])
619
607
  self._values: typing.Dict[builtins.str, typing.Any] = {}
620
608
  if answer_recommendation_ai_agent_configuration is not None:
621
609
  self._values["answer_recommendation_ai_agent_configuration"] = answer_recommendation_ai_agent_configuration
@@ -623,8 +611,6 @@ class CfnAIAgent(
623
611
  self._values["manual_search_ai_agent_configuration"] = manual_search_ai_agent_configuration
624
612
  if self_service_ai_agent_configuration is not None:
625
613
  self._values["self_service_ai_agent_configuration"] = self_service_ai_agent_configuration
626
- if session_summarization_ai_agent_configuration is not None:
627
- self._values["session_summarization_ai_agent_configuration"] = session_summarization_ai_agent_configuration
628
614
 
629
615
  @builtins.property
630
616
  def answer_recommendation_ai_agent_configuration(
@@ -659,16 +645,6 @@ class CfnAIAgent(
659
645
  result = self._values.get("self_service_ai_agent_configuration")
660
646
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.SelfServiceAIAgentConfigurationProperty"]], result)
661
647
 
662
- @builtins.property
663
- def session_summarization_ai_agent_configuration(
664
- self,
665
- ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.SessionSummarizationAIAgentConfigurationProperty"]]:
666
- '''
667
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-aiagentconfiguration.html#cfn-wisdom-aiagent-aiagentconfiguration-sessionsummarizationaiagentconfiguration
668
- '''
669
- result = self._values.get("session_summarization_ai_agent_configuration")
670
- return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnAIAgent.SessionSummarizationAIAgentConfigurationProperty"]], result)
671
-
672
648
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
673
649
  return isinstance(rhs, self.__class__) and rhs._values == self._values
674
650
 
@@ -1565,76 +1541,6 @@ class CfnAIAgent(
1565
1541
  k + "=" + repr(v) for k, v in self._values.items()
1566
1542
  )
1567
1543
 
1568
- @jsii.data_type(
1569
- jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgent.SessionSummarizationAIAgentConfigurationProperty",
1570
- jsii_struct_bases=[],
1571
- name_mapping={
1572
- "locale": "locale",
1573
- "session_summarization_ai_prompt_id": "sessionSummarizationAiPromptId",
1574
- },
1575
- )
1576
- class SessionSummarizationAIAgentConfigurationProperty:
1577
- def __init__(
1578
- self,
1579
- *,
1580
- locale: typing.Optional[builtins.str] = None,
1581
- session_summarization_ai_prompt_id: typing.Optional[builtins.str] = None,
1582
- ) -> None:
1583
- '''
1584
- :param locale:
1585
- :param session_summarization_ai_prompt_id:
1586
-
1587
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-sessionsummarizationaiagentconfiguration.html
1588
- :exampleMetadata: fixture=_generated
1589
-
1590
- Example::
1591
-
1592
- # The code below shows an example of how to instantiate this type.
1593
- # The values are placeholders you should change.
1594
- from aws_cdk import aws_wisdom as wisdom
1595
-
1596
- session_summarization_aIAgent_configuration_property = wisdom.CfnAIAgent.SessionSummarizationAIAgentConfigurationProperty(
1597
- locale="locale",
1598
- session_summarization_ai_prompt_id="sessionSummarizationAiPromptId"
1599
- )
1600
- '''
1601
- if __debug__:
1602
- type_hints = typing.get_type_hints(_typecheckingstub__c7c77d42678888135842a224d18f4ff7fcbf96defa5fe5d052ddf6ae08737f6f)
1603
- check_type(argname="argument locale", value=locale, expected_type=type_hints["locale"])
1604
- check_type(argname="argument session_summarization_ai_prompt_id", value=session_summarization_ai_prompt_id, expected_type=type_hints["session_summarization_ai_prompt_id"])
1605
- self._values: typing.Dict[builtins.str, typing.Any] = {}
1606
- if locale is not None:
1607
- self._values["locale"] = locale
1608
- if session_summarization_ai_prompt_id is not None:
1609
- self._values["session_summarization_ai_prompt_id"] = session_summarization_ai_prompt_id
1610
-
1611
- @builtins.property
1612
- def locale(self) -> typing.Optional[builtins.str]:
1613
- '''
1614
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-sessionsummarizationaiagentconfiguration.html#cfn-wisdom-aiagent-sessionsummarizationaiagentconfiguration-locale
1615
- '''
1616
- result = self._values.get("locale")
1617
- return typing.cast(typing.Optional[builtins.str], result)
1618
-
1619
- @builtins.property
1620
- def session_summarization_ai_prompt_id(self) -> typing.Optional[builtins.str]:
1621
- '''
1622
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-aiagent-sessionsummarizationaiagentconfiguration.html#cfn-wisdom-aiagent-sessionsummarizationaiagentconfiguration-sessionsummarizationaipromptid
1623
- '''
1624
- result = self._values.get("session_summarization_ai_prompt_id")
1625
- return typing.cast(typing.Optional[builtins.str], result)
1626
-
1627
- def __eq__(self, rhs: typing.Any) -> builtins.bool:
1628
- return isinstance(rhs, self.__class__) and rhs._values == self._values
1629
-
1630
- def __ne__(self, rhs: typing.Any) -> builtins.bool:
1631
- return not (rhs == self)
1632
-
1633
- def __repr__(self) -> str:
1634
- return "SessionSummarizationAIAgentConfigurationProperty(%s)" % ", ".join(
1635
- k + "=" + repr(v) for k, v in self._values.items()
1636
- )
1637
-
1638
1544
  @jsii.data_type(
1639
1545
  jsii_type="aws-cdk-lib.aws_wisdom.CfnAIAgent.TagConditionProperty",
1640
1546
  jsii_struct_bases=[],
@@ -2001,10 +1907,6 @@ class CfnAIAgentProps:
2001
1907
  self_service_ai_guardrail_id="selfServiceAiGuardrailId",
2002
1908
  self_service_answer_generation_ai_prompt_id="selfServiceAnswerGenerationAiPromptId",
2003
1909
  self_service_pre_processing_ai_prompt_id="selfServicePreProcessingAiPromptId"
2004
- ),
2005
- session_summarization_ai_agent_configuration=wisdom.CfnAIAgent.SessionSummarizationAIAgentConfigurationProperty(
2006
- locale="locale",
2007
- session_summarization_ai_prompt_id="sessionSummarizationAiPromptId"
2008
1910
  )
2009
1911
  ),
2010
1912
  type="type",
@@ -4225,7 +4127,7 @@ class CfnAIPrompt(
4225
4127
  :param scope: Scope in which this resource is defined.
4226
4128
  :param id: Construct identifier for this resource (unique in its scope).
4227
4129
  :param api_format: The API format used for this AI Prompt.
4228
- :param model_id: The identifier of the model used for this AI Prompt. Model Ids supported are: ``CLAUDE_3_HAIKU_20240307_V1`` .
4130
+ :param model_id: The identifier of the model used for this AI Prompt. Model Ids supported are: ``anthropic.claude-3-haiku-20240307-v1:0`` .
4229
4131
  :param template_configuration: The configuration of the prompt template for this AI Prompt.
4230
4132
  :param template_type: The type of the prompt template for this AI Prompt.
4231
4133
  :param type: The type of this AI Prompt.
@@ -4600,7 +4502,7 @@ class CfnAIPromptProps:
4600
4502
  '''Properties for defining a ``CfnAIPrompt``.
4601
4503
 
4602
4504
  :param api_format: The API format used for this AI Prompt.
4603
- :param model_id: The identifier of the model used for this AI Prompt. Model Ids supported are: ``CLAUDE_3_HAIKU_20240307_V1`` .
4505
+ :param model_id: The identifier of the model used for this AI Prompt. Model Ids supported are: ``anthropic.claude-3-haiku-20240307-v1:0`` .
4604
4506
  :param template_configuration: The configuration of the prompt template for this AI Prompt.
4605
4507
  :param template_type: The type of the prompt template for this AI Prompt.
4606
4508
  :param type: The type of this AI Prompt.
@@ -4679,7 +4581,7 @@ class CfnAIPromptProps:
4679
4581
  def model_id(self) -> builtins.str:
4680
4582
  '''The identifier of the model used for this AI Prompt.
4681
4583
 
4682
- Model Ids supported are: ``CLAUDE_3_HAIKU_20240307_V1`` .
4584
+ Model Ids supported are: ``anthropic.claude-3-haiku-20240307-v1:0`` .
4683
4585
 
4684
4586
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-aiprompt.html#cfn-wisdom-aiprompt-modelid
4685
4587
  '''
@@ -10780,7 +10682,6 @@ def _typecheckingstub__8cb84ad0dc27ffdae65e4e739c98ea6a4e7c36340f15c21ae83a2225f
10780
10682
  answer_recommendation_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.AnswerRecommendationAIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
10781
10683
  manual_search_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.ManualSearchAIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
10782
10684
  self_service_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.SelfServiceAIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
10783
- session_summarization_ai_agent_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAIAgent.SessionSummarizationAIAgentConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
10784
10685
  ) -> None:
10785
10686
  """Type checking stubs"""
10786
10687
  pass
@@ -10850,14 +10751,6 @@ def _typecheckingstub__c0833e248a2b0215b05dd66ce2879efe35c5180b459e725cf02acb524
10850
10751
  """Type checking stubs"""
10851
10752
  pass
10852
10753
 
10853
- def _typecheckingstub__c7c77d42678888135842a224d18f4ff7fcbf96defa5fe5d052ddf6ae08737f6f(
10854
- *,
10855
- locale: typing.Optional[builtins.str] = None,
10856
- session_summarization_ai_prompt_id: typing.Optional[builtins.str] = None,
10857
- ) -> None:
10858
- """Type checking stubs"""
10859
- pass
10860
-
10861
10754
  def _typecheckingstub__76535774a57202e416fb208d73c095c91408f65fd8a1b99f6b568fd994b915e9(
10862
10755
  *,
10863
10756
  key: builtins.str,
@@ -148,7 +148,7 @@ class CfnEnvironment(
148
148
  '''
149
149
  :param scope: Scope in which this resource is defined.
150
150
  :param id: Construct identifier for this resource (unique in its scope).
151
- :param desktop_arn: The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
151
+ :param desktop_arn: The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Secure Browser, or AppStream 2.0.
152
152
  :param desired_software_set_id: The ID of the software set to apply.
153
153
  :param desktop_endpoint: The URL for the identity provider login (only for environments that use AppStream 2.0).
154
154
  :param device_creation_tags: The tag keys and optional values for the newly created devices for this environment.
@@ -312,7 +312,7 @@ class CfnEnvironment(
312
312
  @builtins.property
313
313
  @jsii.member(jsii_name="desktopArn")
314
314
  def desktop_arn(self) -> builtins.str:
315
- '''The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.'''
315
+ '''The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Secure Browser, or AppStream 2.0.'''
316
316
  return typing.cast(builtins.str, jsii.get(self, "desktopArn"))
317
317
 
318
318
  @desktop_arn.setter
@@ -642,7 +642,7 @@ class CfnEnvironmentProps:
642
642
  ) -> None:
643
643
  '''Properties for defining a ``CfnEnvironment``.
644
644
 
645
- :param desktop_arn: The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
645
+ :param desktop_arn: The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Secure Browser, or AppStream 2.0.
646
646
  :param desired_software_set_id: The ID of the software set to apply.
647
647
  :param desktop_endpoint: The URL for the identity provider login (only for environments that use AppStream 2.0).
648
648
  :param device_creation_tags: The tag keys and optional values for the newly created devices for this environment.
@@ -729,7 +729,7 @@ class CfnEnvironmentProps:
729
729
 
730
730
  @builtins.property
731
731
  def desktop_arn(self) -> builtins.str:
732
- '''The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Web, or AppStream 2.0.
732
+ '''The Amazon Resource Name (ARN) of the desktop to stream from Amazon WorkSpaces, WorkSpaces Secure Browser, or AppStream 2.0.
733
733
 
734
734
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesthinclient-environment.html#cfn-workspacesthinclient-environment-desktoparn
735
735
  '''
@@ -3626,7 +3626,13 @@ class CfnUserSettings(
3626
3626
  tags=[CfnTag(
3627
3627
  key="key",
3628
3628
  value="value"
3629
- )]
3629
+ )],
3630
+ toolbar_configuration=workspacesweb.CfnUserSettings.ToolbarConfigurationProperty(
3631
+ hidden_toolbar_items=["hiddenToolbarItems"],
3632
+ max_display_resolution="maxDisplayResolution",
3633
+ toolbar_type="toolbarType",
3634
+ visual_mode="visualMode"
3635
+ )
3630
3636
  )
3631
3637
  '''
3632
3638
 
@@ -3647,6 +3653,7 @@ class CfnUserSettings(
3647
3653
  disconnect_timeout_in_minutes: typing.Optional[jsii.Number] = None,
3648
3654
  idle_disconnect_timeout_in_minutes: typing.Optional[jsii.Number] = None,
3649
3655
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3656
+ toolbar_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnUserSettings.ToolbarConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3650
3657
  ) -> None:
3651
3658
  '''
3652
3659
  :param scope: Scope in which this resource is defined.
@@ -3663,6 +3670,7 @@ class CfnUserSettings(
3663
3670
  :param disconnect_timeout_in_minutes: The amount of time that a streaming session remains active after users disconnect.
3664
3671
  :param idle_disconnect_timeout_in_minutes: The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
3665
3672
  :param tags: The tags to add to the user settings resource. A tag is a key-value pair.
3673
+ :param toolbar_configuration: The configuration of the toolbar. This allows administrators to select the toolbar type and visual mode, set maximum display resolution for sessions, and choose which items are visible to end users during their sessions. If administrators do not modify these settings, end users retain control over their toolbar preferences.
3666
3674
  '''
3667
3675
  if __debug__:
3668
3676
  type_hints = typing.get_type_hints(_typecheckingstub__75a973eee52af75d8440f76e110a255d358bfa0d721a06403da3f4b3da691630)
@@ -3681,6 +3689,7 @@ class CfnUserSettings(
3681
3689
  disconnect_timeout_in_minutes=disconnect_timeout_in_minutes,
3682
3690
  idle_disconnect_timeout_in_minutes=idle_disconnect_timeout_in_minutes,
3683
3691
  tags=tags,
3692
+ toolbar_configuration=toolbar_configuration,
3684
3693
  )
3685
3694
 
3686
3695
  jsii.create(self.__class__, self, [scope, id, props])
@@ -3916,6 +3925,24 @@ class CfnUserSettings(
3916
3925
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3917
3926
  jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
3918
3927
 
3928
+ @builtins.property
3929
+ @jsii.member(jsii_name="toolbarConfiguration")
3930
+ def toolbar_configuration(
3931
+ self,
3932
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserSettings.ToolbarConfigurationProperty"]]:
3933
+ '''The configuration of the toolbar.'''
3934
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserSettings.ToolbarConfigurationProperty"]], jsii.get(self, "toolbarConfiguration"))
3935
+
3936
+ @toolbar_configuration.setter
3937
+ def toolbar_configuration(
3938
+ self,
3939
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnUserSettings.ToolbarConfigurationProperty"]],
3940
+ ) -> None:
3941
+ if __debug__:
3942
+ type_hints = typing.get_type_hints(_typecheckingstub__04b9f4577cd065eea0c0b6a9c3f2be36f624017fbed6ec1b2c5e9de107dc25b4)
3943
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3944
+ jsii.set(self, "toolbarConfiguration", value) # pyright: ignore[reportArgumentType]
3945
+
3919
3946
  @jsii.data_type(
3920
3947
  jsii_type="aws-cdk-lib.aws_workspacesweb.CfnUserSettings.CookieSpecificationProperty",
3921
3948
  jsii_struct_bases=[],
@@ -4093,6 +4120,113 @@ class CfnUserSettings(
4093
4120
  k + "=" + repr(v) for k, v in self._values.items()
4094
4121
  )
4095
4122
 
4123
+ @jsii.data_type(
4124
+ jsii_type="aws-cdk-lib.aws_workspacesweb.CfnUserSettings.ToolbarConfigurationProperty",
4125
+ jsii_struct_bases=[],
4126
+ name_mapping={
4127
+ "hidden_toolbar_items": "hiddenToolbarItems",
4128
+ "max_display_resolution": "maxDisplayResolution",
4129
+ "toolbar_type": "toolbarType",
4130
+ "visual_mode": "visualMode",
4131
+ },
4132
+ )
4133
+ class ToolbarConfigurationProperty:
4134
+ def __init__(
4135
+ self,
4136
+ *,
4137
+ hidden_toolbar_items: typing.Optional[typing.Sequence[builtins.str]] = None,
4138
+ max_display_resolution: typing.Optional[builtins.str] = None,
4139
+ toolbar_type: typing.Optional[builtins.str] = None,
4140
+ visual_mode: typing.Optional[builtins.str] = None,
4141
+ ) -> None:
4142
+ '''The configuration of the toolbar.
4143
+
4144
+ This allows administrators to select the toolbar type and visual mode, set maximum display resolution for sessions, and choose which items are visible to end users during their sessions. If administrators do not modify these settings, end users retain control over their toolbar preferences.
4145
+
4146
+ :param hidden_toolbar_items: The list of toolbar items to be hidden.
4147
+ :param max_display_resolution: The maximum display resolution that is allowed for the session.
4148
+ :param toolbar_type: The type of toolbar displayed during the session.
4149
+ :param visual_mode: The visual mode of the toolbar.
4150
+
4151
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-usersettings-toolbarconfiguration.html
4152
+ :exampleMetadata: fixture=_generated
4153
+
4154
+ Example::
4155
+
4156
+ # The code below shows an example of how to instantiate this type.
4157
+ # The values are placeholders you should change.
4158
+ from aws_cdk import aws_workspacesweb as workspacesweb
4159
+
4160
+ toolbar_configuration_property = workspacesweb.CfnUserSettings.ToolbarConfigurationProperty(
4161
+ hidden_toolbar_items=["hiddenToolbarItems"],
4162
+ max_display_resolution="maxDisplayResolution",
4163
+ toolbar_type="toolbarType",
4164
+ visual_mode="visualMode"
4165
+ )
4166
+ '''
4167
+ if __debug__:
4168
+ type_hints = typing.get_type_hints(_typecheckingstub__2c34b0e8a8ab7ac6d4c9c7ebda522c320d7e5fd5dd3569da4020209d922bf92d)
4169
+ check_type(argname="argument hidden_toolbar_items", value=hidden_toolbar_items, expected_type=type_hints["hidden_toolbar_items"])
4170
+ check_type(argname="argument max_display_resolution", value=max_display_resolution, expected_type=type_hints["max_display_resolution"])
4171
+ check_type(argname="argument toolbar_type", value=toolbar_type, expected_type=type_hints["toolbar_type"])
4172
+ check_type(argname="argument visual_mode", value=visual_mode, expected_type=type_hints["visual_mode"])
4173
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
4174
+ if hidden_toolbar_items is not None:
4175
+ self._values["hidden_toolbar_items"] = hidden_toolbar_items
4176
+ if max_display_resolution is not None:
4177
+ self._values["max_display_resolution"] = max_display_resolution
4178
+ if toolbar_type is not None:
4179
+ self._values["toolbar_type"] = toolbar_type
4180
+ if visual_mode is not None:
4181
+ self._values["visual_mode"] = visual_mode
4182
+
4183
+ @builtins.property
4184
+ def hidden_toolbar_items(self) -> typing.Optional[typing.List[builtins.str]]:
4185
+ '''The list of toolbar items to be hidden.
4186
+
4187
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-usersettings-toolbarconfiguration.html#cfn-workspacesweb-usersettings-toolbarconfiguration-hiddentoolbaritems
4188
+ '''
4189
+ result = self._values.get("hidden_toolbar_items")
4190
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
4191
+
4192
+ @builtins.property
4193
+ def max_display_resolution(self) -> typing.Optional[builtins.str]:
4194
+ '''The maximum display resolution that is allowed for the session.
4195
+
4196
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-usersettings-toolbarconfiguration.html#cfn-workspacesweb-usersettings-toolbarconfiguration-maxdisplayresolution
4197
+ '''
4198
+ result = self._values.get("max_display_resolution")
4199
+ return typing.cast(typing.Optional[builtins.str], result)
4200
+
4201
+ @builtins.property
4202
+ def toolbar_type(self) -> typing.Optional[builtins.str]:
4203
+ '''The type of toolbar displayed during the session.
4204
+
4205
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-usersettings-toolbarconfiguration.html#cfn-workspacesweb-usersettings-toolbarconfiguration-toolbartype
4206
+ '''
4207
+ result = self._values.get("toolbar_type")
4208
+ return typing.cast(typing.Optional[builtins.str], result)
4209
+
4210
+ @builtins.property
4211
+ def visual_mode(self) -> typing.Optional[builtins.str]:
4212
+ '''The visual mode of the toolbar.
4213
+
4214
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-usersettings-toolbarconfiguration.html#cfn-workspacesweb-usersettings-toolbarconfiguration-visualmode
4215
+ '''
4216
+ result = self._values.get("visual_mode")
4217
+ return typing.cast(typing.Optional[builtins.str], result)
4218
+
4219
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
4220
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
4221
+
4222
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
4223
+ return not (rhs == self)
4224
+
4225
+ def __repr__(self) -> str:
4226
+ return "ToolbarConfigurationProperty(%s)" % ", ".join(
4227
+ k + "=" + repr(v) for k, v in self._values.items()
4228
+ )
4229
+
4096
4230
 
4097
4231
  @jsii.data_type(
4098
4232
  jsii_type="aws-cdk-lib.aws_workspacesweb.CfnUserSettingsProps",
@@ -4110,6 +4244,7 @@ class CfnUserSettings(
4110
4244
  "disconnect_timeout_in_minutes": "disconnectTimeoutInMinutes",
4111
4245
  "idle_disconnect_timeout_in_minutes": "idleDisconnectTimeoutInMinutes",
4112
4246
  "tags": "tags",
4247
+ "toolbar_configuration": "toolbarConfiguration",
4113
4248
  },
4114
4249
  )
4115
4250
  class CfnUserSettingsProps:
@@ -4128,6 +4263,7 @@ class CfnUserSettingsProps:
4128
4263
  disconnect_timeout_in_minutes: typing.Optional[jsii.Number] = None,
4129
4264
  idle_disconnect_timeout_in_minutes: typing.Optional[jsii.Number] = None,
4130
4265
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4266
+ toolbar_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserSettings.ToolbarConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4131
4267
  ) -> None:
4132
4268
  '''Properties for defining a ``CfnUserSettings``.
4133
4269
 
@@ -4143,6 +4279,7 @@ class CfnUserSettingsProps:
4143
4279
  :param disconnect_timeout_in_minutes: The amount of time that a streaming session remains active after users disconnect.
4144
4280
  :param idle_disconnect_timeout_in_minutes: The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins.
4145
4281
  :param tags: The tags to add to the user settings resource. A tag is a key-value pair.
4282
+ :param toolbar_configuration: The configuration of the toolbar. This allows administrators to select the toolbar type and visual mode, set maximum display resolution for sessions, and choose which items are visible to end users during their sessions. If administrators do not modify these settings, end users retain control over their toolbar preferences.
4146
4283
 
4147
4284
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html
4148
4285
  :exampleMetadata: fixture=_generated
@@ -4189,7 +4326,13 @@ class CfnUserSettingsProps:
4189
4326
  tags=[CfnTag(
4190
4327
  key="key",
4191
4328
  value="value"
4192
- )]
4329
+ )],
4330
+ toolbar_configuration=workspacesweb.CfnUserSettings.ToolbarConfigurationProperty(
4331
+ hidden_toolbar_items=["hiddenToolbarItems"],
4332
+ max_display_resolution="maxDisplayResolution",
4333
+ toolbar_type="toolbarType",
4334
+ visual_mode="visualMode"
4335
+ )
4193
4336
  )
4194
4337
  '''
4195
4338
  if __debug__:
@@ -4206,6 +4349,7 @@ class CfnUserSettingsProps:
4206
4349
  check_type(argname="argument disconnect_timeout_in_minutes", value=disconnect_timeout_in_minutes, expected_type=type_hints["disconnect_timeout_in_minutes"])
4207
4350
  check_type(argname="argument idle_disconnect_timeout_in_minutes", value=idle_disconnect_timeout_in_minutes, expected_type=type_hints["idle_disconnect_timeout_in_minutes"])
4208
4351
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
4352
+ check_type(argname="argument toolbar_configuration", value=toolbar_configuration, expected_type=type_hints["toolbar_configuration"])
4209
4353
  self._values: typing.Dict[builtins.str, typing.Any] = {
4210
4354
  "copy_allowed": copy_allowed,
4211
4355
  "download_allowed": download_allowed,
@@ -4227,6 +4371,8 @@ class CfnUserSettingsProps:
4227
4371
  self._values["idle_disconnect_timeout_in_minutes"] = idle_disconnect_timeout_in_minutes
4228
4372
  if tags is not None:
4229
4373
  self._values["tags"] = tags
4374
+ if toolbar_configuration is not None:
4375
+ self._values["toolbar_configuration"] = toolbar_configuration
4230
4376
 
4231
4377
  @builtins.property
4232
4378
  def copy_allowed(self) -> builtins.str:
@@ -4347,6 +4493,19 @@ class CfnUserSettingsProps:
4347
4493
  result = self._values.get("tags")
4348
4494
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
4349
4495
 
4496
+ @builtins.property
4497
+ def toolbar_configuration(
4498
+ self,
4499
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnUserSettings.ToolbarConfigurationProperty]]:
4500
+ '''The configuration of the toolbar.
4501
+
4502
+ This allows administrators to select the toolbar type and visual mode, set maximum display resolution for sessions, and choose which items are visible to end users during their sessions. If administrators do not modify these settings, end users retain control over their toolbar preferences.
4503
+
4504
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-usersettings.html#cfn-workspacesweb-usersettings-toolbarconfiguration
4505
+ '''
4506
+ result = self._values.get("toolbar_configuration")
4507
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnUserSettings.ToolbarConfigurationProperty]], result)
4508
+
4350
4509
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4351
4510
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4352
4511
 
@@ -4998,6 +5157,7 @@ def _typecheckingstub__75a973eee52af75d8440f76e110a255d358bfa0d721a06403da3f4b3d
4998
5157
  disconnect_timeout_in_minutes: typing.Optional[jsii.Number] = None,
4999
5158
  idle_disconnect_timeout_in_minutes: typing.Optional[jsii.Number] = None,
5000
5159
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5160
+ toolbar_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserSettings.ToolbarConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5001
5161
  ) -> None:
5002
5162
  """Type checking stubs"""
5003
5163
  pass
@@ -5086,6 +5246,12 @@ def _typecheckingstub__e18af2707e3cbec353505ab884854a52028ac4039d4d38b2b7aff300b
5086
5246
  """Type checking stubs"""
5087
5247
  pass
5088
5248
 
5249
+ def _typecheckingstub__04b9f4577cd065eea0c0b6a9c3f2be36f624017fbed6ec1b2c5e9de107dc25b4(
5250
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnUserSettings.ToolbarConfigurationProperty]],
5251
+ ) -> None:
5252
+ """Type checking stubs"""
5253
+ pass
5254
+
5089
5255
  def _typecheckingstub__967130a98f5e1732af04891ba925fd71a0043477b770e4d98d817b932c896a45(
5090
5256
  *,
5091
5257
  domain: builtins.str,
@@ -5103,6 +5269,16 @@ def _typecheckingstub__b03a784924e11f4debd206efd14cca98aa8e8242e4e834629b834539b
5103
5269
  """Type checking stubs"""
5104
5270
  pass
5105
5271
 
5272
+ def _typecheckingstub__2c34b0e8a8ab7ac6d4c9c7ebda522c320d7e5fd5dd3569da4020209d922bf92d(
5273
+ *,
5274
+ hidden_toolbar_items: typing.Optional[typing.Sequence[builtins.str]] = None,
5275
+ max_display_resolution: typing.Optional[builtins.str] = None,
5276
+ toolbar_type: typing.Optional[builtins.str] = None,
5277
+ visual_mode: typing.Optional[builtins.str] = None,
5278
+ ) -> None:
5279
+ """Type checking stubs"""
5280
+ pass
5281
+
5106
5282
  def _typecheckingstub__f5fdddc739ee6575c152d4edd4b1958f0aed7897d0804077cf3ed5b5829d55a4(
5107
5283
  *,
5108
5284
  copy_allowed: builtins.str,
@@ -5117,6 +5293,7 @@ def _typecheckingstub__f5fdddc739ee6575c152d4edd4b1958f0aed7897d0804077cf3ed5b58
5117
5293
  disconnect_timeout_in_minutes: typing.Optional[jsii.Number] = None,
5118
5294
  idle_disconnect_timeout_in_minutes: typing.Optional[jsii.Number] = None,
5119
5295
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5296
+ toolbar_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnUserSettings.ToolbarConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5120
5297
  ) -> None:
5121
5298
  """Type checking stubs"""
5122
5299
  pass