aws-cdk-lib 2.210.0__py3-none-any.whl → 2.212.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 (78) hide show
  1. aws_cdk/__init__.py +404 -54
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.210.0.jsii.tgz → aws-cdk-lib@2.212.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +2 -1
  5. aws_cdk/aws_apigateway/__init__.py +2 -0
  6. aws_cdk/aws_apigatewayv2/__init__.py +1798 -74
  7. aws_cdk/aws_appconfig/__init__.py +9 -0
  8. aws_cdk/aws_appintegrations/__init__.py +395 -0
  9. aws_cdk/aws_arcregionswitch/__init__.py +5080 -0
  10. aws_cdk/aws_athena/__init__.py +23 -19
  11. aws_cdk/aws_autoscaling/__init__.py +6 -6
  12. aws_cdk/aws_batch/__init__.py +725 -55
  13. aws_cdk/aws_bedrock/__init__.py +18 -0
  14. aws_cdk/aws_billingconductor/__init__.py +3 -3
  15. aws_cdk/aws_cassandra/__init__.py +28 -1
  16. aws_cdk/aws_cloudfront/__init__.py +39 -8
  17. aws_cdk/aws_codebuild/__init__.py +122 -0
  18. aws_cdk/aws_codepipeline/__init__.py +51 -50
  19. aws_cdk/aws_cognito/__init__.py +9 -2
  20. aws_cdk/aws_connect/__init__.py +40 -15
  21. aws_cdk/aws_datazone/__init__.py +118 -77
  22. aws_cdk/aws_dax/__init__.py +39 -0
  23. aws_cdk/aws_deadline/__init__.py +166 -7
  24. aws_cdk/aws_docdb/__init__.py +20 -11
  25. aws_cdk/aws_dynamodb/__init__.py +246 -36
  26. aws_cdk/aws_ec2/__init__.py +1044 -111
  27. aws_cdk/aws_ecr/__init__.py +274 -0
  28. aws_cdk/aws_ecs/__init__.py +1637 -137
  29. aws_cdk/aws_eks/__init__.py +53 -3
  30. aws_cdk/aws_elasticloadbalancingv2/__init__.py +31 -17
  31. aws_cdk/aws_entityresolution/__init__.py +240 -45
  32. aws_cdk/aws_evs/__init__.py +20 -45
  33. aws_cdk/aws_gameliftstreams/__init__.py +7 -6
  34. aws_cdk/aws_glue/__init__.py +18 -9
  35. aws_cdk/aws_guardduty/__init__.py +1233 -113
  36. aws_cdk/aws_imagebuilder/__init__.py +34 -20
  37. aws_cdk/aws_inspectorv2/__init__.py +1516 -0
  38. aws_cdk/aws_iot/__init__.py +387 -0
  39. aws_cdk/aws_iotsitewise/__init__.py +1247 -139
  40. aws_cdk/aws_ivs/__init__.py +443 -33
  41. aws_cdk/aws_kinesisfirehose/__init__.py +2 -0
  42. aws_cdk/aws_lakeformation/__init__.py +1 -1
  43. aws_cdk/aws_lambda/__init__.py +9 -9
  44. aws_cdk/aws_lightsail/__init__.py +590 -0
  45. aws_cdk/aws_logs/__init__.py +97 -3
  46. aws_cdk/aws_medialive/__init__.py +270 -7
  47. aws_cdk/aws_mediapackagev2/__init__.py +204 -6
  48. aws_cdk/aws_neptune/__init__.py +41 -2
  49. aws_cdk/aws_networkfirewall/__init__.py +490 -134
  50. aws_cdk/aws_observabilityadmin/__init__.py +1468 -0
  51. aws_cdk/aws_omics/__init__.py +1 -1
  52. aws_cdk/aws_opensearchserverless/__init__.py +2 -2
  53. aws_cdk/aws_opensearchservice/__init__.py +128 -0
  54. aws_cdk/aws_opsworks/__init__.py +125 -125
  55. aws_cdk/aws_opsworkscm/__init__.py +1 -53
  56. aws_cdk/aws_pcs/__init__.py +49 -5
  57. aws_cdk/aws_qbusiness/__init__.py +3 -3
  58. aws_cdk/aws_quicksight/__init__.py +188 -83
  59. aws_cdk/aws_rds/__init__.py +245 -103
  60. aws_cdk/aws_s3/__init__.py +56 -1
  61. aws_cdk/aws_s3express/__init__.py +56 -1
  62. aws_cdk/aws_s3tables/__init__.py +2 -2
  63. aws_cdk/aws_sagemaker/__init__.py +4080 -223
  64. aws_cdk/aws_ses/__init__.py +172 -9
  65. aws_cdk/aws_sqs/__init__.py +4 -3
  66. aws_cdk/aws_ssm/__init__.py +8 -4
  67. aws_cdk/aws_stepfunctions_tasks/__init__.py +16 -9
  68. aws_cdk/aws_synthetics/__init__.py +116 -0
  69. aws_cdk/aws_verifiedpermissions/__init__.py +23 -2
  70. aws_cdk/aws_wisdom/__init__.py +2 -2
  71. aws_cdk/aws_workspacesweb/__init__.py +949 -157
  72. aws_cdk/cx_api/__init__.py +22 -0
  73. {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/METADATA +335 -15
  74. {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/RECORD +78 -76
  75. {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/LICENSE +0 -0
  76. {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/NOTICE +0 -0
  77. {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/WHEEL +0 -0
  78. {aws_cdk_lib-2.210.0.dist-info → aws_cdk_lib-2.212.0.dist-info}/top_level.txt +0 -0
@@ -2461,6 +2461,7 @@ class CfnPortal(
2461
2461
  ip_access_settings_arn="ipAccessSettingsArn",
2462
2462
  max_concurrent_sessions=123,
2463
2463
  network_settings_arn="networkSettingsArn",
2464
+ session_logger_arn="sessionLoggerArn",
2464
2465
  tags=[CfnTag(
2465
2466
  key="key",
2466
2467
  value="value"
@@ -2486,6 +2487,7 @@ class CfnPortal(
2486
2487
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
2487
2488
  max_concurrent_sessions: typing.Optional[jsii.Number] = None,
2488
2489
  network_settings_arn: typing.Optional[builtins.str] = None,
2490
+ session_logger_arn: typing.Optional[builtins.str] = None,
2489
2491
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2490
2492
  trust_store_arn: typing.Optional[builtins.str] = None,
2491
2493
  user_access_logging_settings_arn: typing.Optional[builtins.str] = None,
@@ -2504,6 +2506,7 @@ class CfnPortal(
2504
2506
  :param ip_access_settings_arn: The ARN of the IP access settings that is associated with the web portal.
2505
2507
  :param max_concurrent_sessions: The maximum number of concurrent sessions for the portal.
2506
2508
  :param network_settings_arn: The ARN of the network settings that is associated with the web portal.
2509
+ :param session_logger_arn:
2507
2510
  :param tags: The tags to add to the web portal. A tag is a key-value pair.
2508
2511
  :param trust_store_arn: The ARN of the trust store that is associated with the web portal.
2509
2512
  :param user_access_logging_settings_arn: The ARN of the user access logging settings that is associated with the web portal.
@@ -2524,6 +2527,7 @@ class CfnPortal(
2524
2527
  ip_access_settings_arn=ip_access_settings_arn,
2525
2528
  max_concurrent_sessions=max_concurrent_sessions,
2526
2529
  network_settings_arn=network_settings_arn,
2530
+ session_logger_arn=session_logger_arn,
2527
2531
  tags=tags,
2528
2532
  trust_store_arn=trust_store_arn,
2529
2533
  user_access_logging_settings_arn=user_access_logging_settings_arn,
@@ -2786,6 +2790,18 @@ class CfnPortal(
2786
2790
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2787
2791
  jsii.set(self, "networkSettingsArn", value) # pyright: ignore[reportArgumentType]
2788
2792
 
2793
+ @builtins.property
2794
+ @jsii.member(jsii_name="sessionLoggerArn")
2795
+ def session_logger_arn(self) -> typing.Optional[builtins.str]:
2796
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sessionLoggerArn"))
2797
+
2798
+ @session_logger_arn.setter
2799
+ def session_logger_arn(self, value: typing.Optional[builtins.str]) -> None:
2800
+ if __debug__:
2801
+ type_hints = typing.get_type_hints(_typecheckingstub__799f778b7f3d528d4330acec14db7800e1877f11411b658cf7b11ad8463a43b6)
2802
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2803
+ jsii.set(self, "sessionLoggerArn", value) # pyright: ignore[reportArgumentType]
2804
+
2789
2805
  @builtins.property
2790
2806
  @jsii.member(jsii_name="tags")
2791
2807
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -2856,6 +2872,7 @@ class CfnPortal(
2856
2872
  "ip_access_settings_arn": "ipAccessSettingsArn",
2857
2873
  "max_concurrent_sessions": "maxConcurrentSessions",
2858
2874
  "network_settings_arn": "networkSettingsArn",
2875
+ "session_logger_arn": "sessionLoggerArn",
2859
2876
  "tags": "tags",
2860
2877
  "trust_store_arn": "trustStoreArn",
2861
2878
  "user_access_logging_settings_arn": "userAccessLoggingSettingsArn",
@@ -2876,6 +2893,7 @@ class CfnPortalProps:
2876
2893
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
2877
2894
  max_concurrent_sessions: typing.Optional[jsii.Number] = None,
2878
2895
  network_settings_arn: typing.Optional[builtins.str] = None,
2896
+ session_logger_arn: typing.Optional[builtins.str] = None,
2879
2897
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
2880
2898
  trust_store_arn: typing.Optional[builtins.str] = None,
2881
2899
  user_access_logging_settings_arn: typing.Optional[builtins.str] = None,
@@ -2893,6 +2911,7 @@ class CfnPortalProps:
2893
2911
  :param ip_access_settings_arn: The ARN of the IP access settings that is associated with the web portal.
2894
2912
  :param max_concurrent_sessions: The maximum number of concurrent sessions for the portal.
2895
2913
  :param network_settings_arn: The ARN of the network settings that is associated with the web portal.
2914
+ :param session_logger_arn:
2896
2915
  :param tags: The tags to add to the web portal. A tag is a key-value pair.
2897
2916
  :param trust_store_arn: The ARN of the trust store that is associated with the web portal.
2898
2917
  :param user_access_logging_settings_arn: The ARN of the user access logging settings that is associated with the web portal.
@@ -2907,215 +2926,878 @@ class CfnPortalProps:
2907
2926
  # The values are placeholders you should change.
2908
2927
  from aws_cdk import aws_workspacesweb as workspacesweb
2909
2928
 
2910
- cfn_portal_props = workspacesweb.CfnPortalProps(
2929
+ cfn_portal_props = workspacesweb.CfnPortalProps(
2930
+ additional_encryption_context={
2931
+ "additional_encryption_context_key": "additionalEncryptionContext"
2932
+ },
2933
+ authentication_type="authenticationType",
2934
+ browser_settings_arn="browserSettingsArn",
2935
+ customer_managed_key="customerManagedKey",
2936
+ data_protection_settings_arn="dataProtectionSettingsArn",
2937
+ display_name="displayName",
2938
+ instance_type="instanceType",
2939
+ ip_access_settings_arn="ipAccessSettingsArn",
2940
+ max_concurrent_sessions=123,
2941
+ network_settings_arn="networkSettingsArn",
2942
+ session_logger_arn="sessionLoggerArn",
2943
+ tags=[CfnTag(
2944
+ key="key",
2945
+ value="value"
2946
+ )],
2947
+ trust_store_arn="trustStoreArn",
2948
+ user_access_logging_settings_arn="userAccessLoggingSettingsArn",
2949
+ user_settings_arn="userSettingsArn"
2950
+ )
2951
+ '''
2952
+ if __debug__:
2953
+ type_hints = typing.get_type_hints(_typecheckingstub__aa147912cdfb0d9ea5356fccc59e7ae5b02c822d1e3f5ae2e4826ae39e89f283)
2954
+ check_type(argname="argument additional_encryption_context", value=additional_encryption_context, expected_type=type_hints["additional_encryption_context"])
2955
+ check_type(argname="argument authentication_type", value=authentication_type, expected_type=type_hints["authentication_type"])
2956
+ check_type(argname="argument browser_settings_arn", value=browser_settings_arn, expected_type=type_hints["browser_settings_arn"])
2957
+ check_type(argname="argument customer_managed_key", value=customer_managed_key, expected_type=type_hints["customer_managed_key"])
2958
+ check_type(argname="argument data_protection_settings_arn", value=data_protection_settings_arn, expected_type=type_hints["data_protection_settings_arn"])
2959
+ check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
2960
+ check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
2961
+ check_type(argname="argument ip_access_settings_arn", value=ip_access_settings_arn, expected_type=type_hints["ip_access_settings_arn"])
2962
+ check_type(argname="argument max_concurrent_sessions", value=max_concurrent_sessions, expected_type=type_hints["max_concurrent_sessions"])
2963
+ check_type(argname="argument network_settings_arn", value=network_settings_arn, expected_type=type_hints["network_settings_arn"])
2964
+ check_type(argname="argument session_logger_arn", value=session_logger_arn, expected_type=type_hints["session_logger_arn"])
2965
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
2966
+ check_type(argname="argument trust_store_arn", value=trust_store_arn, expected_type=type_hints["trust_store_arn"])
2967
+ check_type(argname="argument user_access_logging_settings_arn", value=user_access_logging_settings_arn, expected_type=type_hints["user_access_logging_settings_arn"])
2968
+ check_type(argname="argument user_settings_arn", value=user_settings_arn, expected_type=type_hints["user_settings_arn"])
2969
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
2970
+ if additional_encryption_context is not None:
2971
+ self._values["additional_encryption_context"] = additional_encryption_context
2972
+ if authentication_type is not None:
2973
+ self._values["authentication_type"] = authentication_type
2974
+ if browser_settings_arn is not None:
2975
+ self._values["browser_settings_arn"] = browser_settings_arn
2976
+ if customer_managed_key is not None:
2977
+ self._values["customer_managed_key"] = customer_managed_key
2978
+ if data_protection_settings_arn is not None:
2979
+ self._values["data_protection_settings_arn"] = data_protection_settings_arn
2980
+ if display_name is not None:
2981
+ self._values["display_name"] = display_name
2982
+ if instance_type is not None:
2983
+ self._values["instance_type"] = instance_type
2984
+ if ip_access_settings_arn is not None:
2985
+ self._values["ip_access_settings_arn"] = ip_access_settings_arn
2986
+ if max_concurrent_sessions is not None:
2987
+ self._values["max_concurrent_sessions"] = max_concurrent_sessions
2988
+ if network_settings_arn is not None:
2989
+ self._values["network_settings_arn"] = network_settings_arn
2990
+ if session_logger_arn is not None:
2991
+ self._values["session_logger_arn"] = session_logger_arn
2992
+ if tags is not None:
2993
+ self._values["tags"] = tags
2994
+ if trust_store_arn is not None:
2995
+ self._values["trust_store_arn"] = trust_store_arn
2996
+ if user_access_logging_settings_arn is not None:
2997
+ self._values["user_access_logging_settings_arn"] = user_access_logging_settings_arn
2998
+ if user_settings_arn is not None:
2999
+ self._values["user_settings_arn"] = user_settings_arn
3000
+
3001
+ @builtins.property
3002
+ def additional_encryption_context(
3003
+ self,
3004
+ ) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
3005
+ '''The additional encryption context of the portal.
3006
+
3007
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-additionalencryptioncontext
3008
+ '''
3009
+ result = self._values.get("additional_encryption_context")
3010
+ return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
3011
+
3012
+ @builtins.property
3013
+ def authentication_type(self) -> typing.Optional[builtins.str]:
3014
+ '''The type of authentication integration points used when signing into the web portal. Defaults to ``Standard`` .
3015
+
3016
+ ``Standard`` web portals are authenticated directly through your identity provider (IdP). User and group access to your web portal is controlled through your IdP. You need to include an IdP resource in your template to integrate your IdP with your web portal. Completing the configuration for your IdP requires exchanging WorkSpaces Secure Browser’s SP metadata with your IdP’s IdP metadata. If your IdP requires the SP metadata first before returning the IdP metadata, you should follow these steps:
3017
+
3018
+ 1. Create and deploy a CloudFormation template with a ``Standard`` portal with no ``IdentityProvider`` resource.
3019
+ 2. Retrieve the SP metadata using ``Fn:GetAtt`` , the WorkSpaces Secure Browser console, or by the calling the ``GetPortalServiceProviderMetadata`` API.
3020
+ 3. Submit the data to your IdP.
3021
+ 4. Add an ``IdentityProvider`` resource to your CloudFormation template.
3022
+
3023
+ ``IAM Identity Center`` web portals are authenticated through AWS IAM Identity Center . They provide additional features, such as IdP-initiated authentication. Identity sources (including external identity provider integration) and other identity provider information must be configured in IAM Identity Center . User and group assignment must be done through the WorkSpaces Secure Browser console. These cannot be configured in CloudFormation.
3024
+
3025
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-authenticationtype
3026
+ '''
3027
+ result = self._values.get("authentication_type")
3028
+ return typing.cast(typing.Optional[builtins.str], result)
3029
+
3030
+ @builtins.property
3031
+ def browser_settings_arn(self) -> typing.Optional[builtins.str]:
3032
+ '''The ARN of the browser settings that is associated with this web portal.
3033
+
3034
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-browsersettingsarn
3035
+ '''
3036
+ result = self._values.get("browser_settings_arn")
3037
+ return typing.cast(typing.Optional[builtins.str], result)
3038
+
3039
+ @builtins.property
3040
+ def customer_managed_key(self) -> typing.Optional[builtins.str]:
3041
+ '''The customer managed key of the web portal.
3042
+
3043
+ *Pattern* : ``^arn:[\\w+=\\/,.@-]+:kms:[a-zA-Z0-9\\-]*:[a-zA-Z0-9]{1,12}:key\\/[a-zA-Z0-9-]+$``
3044
+
3045
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-customermanagedkey
3046
+ '''
3047
+ result = self._values.get("customer_managed_key")
3048
+ return typing.cast(typing.Optional[builtins.str], result)
3049
+
3050
+ @builtins.property
3051
+ def data_protection_settings_arn(self) -> typing.Optional[builtins.str]:
3052
+ '''The ARN of the data protection settings.
3053
+
3054
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-dataprotectionsettingsarn
3055
+ '''
3056
+ result = self._values.get("data_protection_settings_arn")
3057
+ return typing.cast(typing.Optional[builtins.str], result)
3058
+
3059
+ @builtins.property
3060
+ def display_name(self) -> typing.Optional[builtins.str]:
3061
+ '''The name of the web portal.
3062
+
3063
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-displayname
3064
+ '''
3065
+ result = self._values.get("display_name")
3066
+ return typing.cast(typing.Optional[builtins.str], result)
3067
+
3068
+ @builtins.property
3069
+ def instance_type(self) -> typing.Optional[builtins.str]:
3070
+ '''The type and resources of the underlying instance.
3071
+
3072
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-instancetype
3073
+ '''
3074
+ result = self._values.get("instance_type")
3075
+ return typing.cast(typing.Optional[builtins.str], result)
3076
+
3077
+ @builtins.property
3078
+ def ip_access_settings_arn(self) -> typing.Optional[builtins.str]:
3079
+ '''The ARN of the IP access settings that is associated with the web portal.
3080
+
3081
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-ipaccesssettingsarn
3082
+ '''
3083
+ result = self._values.get("ip_access_settings_arn")
3084
+ return typing.cast(typing.Optional[builtins.str], result)
3085
+
3086
+ @builtins.property
3087
+ def max_concurrent_sessions(self) -> typing.Optional[jsii.Number]:
3088
+ '''The maximum number of concurrent sessions for the portal.
3089
+
3090
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-maxconcurrentsessions
3091
+ '''
3092
+ result = self._values.get("max_concurrent_sessions")
3093
+ return typing.cast(typing.Optional[jsii.Number], result)
3094
+
3095
+ @builtins.property
3096
+ def network_settings_arn(self) -> typing.Optional[builtins.str]:
3097
+ '''The ARN of the network settings that is associated with the web portal.
3098
+
3099
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-networksettingsarn
3100
+ '''
3101
+ result = self._values.get("network_settings_arn")
3102
+ return typing.cast(typing.Optional[builtins.str], result)
3103
+
3104
+ @builtins.property
3105
+ def session_logger_arn(self) -> typing.Optional[builtins.str]:
3106
+ '''
3107
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-sessionloggerarn
3108
+ '''
3109
+ result = self._values.get("session_logger_arn")
3110
+ return typing.cast(typing.Optional[builtins.str], result)
3111
+
3112
+ @builtins.property
3113
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
3114
+ '''The tags to add to the web portal.
3115
+
3116
+ A tag is a key-value pair.
3117
+
3118
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-tags
3119
+ '''
3120
+ result = self._values.get("tags")
3121
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
3122
+
3123
+ @builtins.property
3124
+ def trust_store_arn(self) -> typing.Optional[builtins.str]:
3125
+ '''The ARN of the trust store that is associated with the web portal.
3126
+
3127
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-truststorearn
3128
+ '''
3129
+ result = self._values.get("trust_store_arn")
3130
+ return typing.cast(typing.Optional[builtins.str], result)
3131
+
3132
+ @builtins.property
3133
+ def user_access_logging_settings_arn(self) -> typing.Optional[builtins.str]:
3134
+ '''The ARN of the user access logging settings that is associated with the web portal.
3135
+
3136
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-useraccessloggingsettingsarn
3137
+ '''
3138
+ result = self._values.get("user_access_logging_settings_arn")
3139
+ return typing.cast(typing.Optional[builtins.str], result)
3140
+
3141
+ @builtins.property
3142
+ def user_settings_arn(self) -> typing.Optional[builtins.str]:
3143
+ '''The ARN of the user settings that is associated with the web portal.
3144
+
3145
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-usersettingsarn
3146
+ '''
3147
+ result = self._values.get("user_settings_arn")
3148
+ return typing.cast(typing.Optional[builtins.str], result)
3149
+
3150
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3151
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3152
+
3153
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3154
+ return not (rhs == self)
3155
+
3156
+ def __repr__(self) -> str:
3157
+ return "CfnPortalProps(%s)" % ", ".join(
3158
+ k + "=" + repr(v) for k, v in self._values.items()
3159
+ )
3160
+
3161
+
3162
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
3163
+ class CfnSessionLogger(
3164
+ _CfnResource_9df397a6,
3165
+ metaclass=jsii.JSIIMeta,
3166
+ jsii_type="aws-cdk-lib.aws_workspacesweb.CfnSessionLogger",
3167
+ ):
3168
+ '''Definition of AWS::WorkSpacesWeb::SessionLogger Resource Type.
3169
+
3170
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html
3171
+ :cloudformationResource: AWS::WorkSpacesWeb::SessionLogger
3172
+ :exampleMetadata: fixture=_generated
3173
+
3174
+ Example::
3175
+
3176
+ # The code below shows an example of how to instantiate this type.
3177
+ # The values are placeholders you should change.
3178
+ from aws_cdk import aws_workspacesweb as workspacesweb
3179
+
3180
+ # all: Any
3181
+
3182
+ cfn_session_logger = workspacesweb.CfnSessionLogger(self, "MyCfnSessionLogger",
3183
+ event_filter=workspacesweb.CfnSessionLogger.EventFilterProperty(
3184
+ all=all,
3185
+ include=["include"]
3186
+ ),
3187
+ log_configuration=workspacesweb.CfnSessionLogger.LogConfigurationProperty(
3188
+ s3=workspacesweb.CfnSessionLogger.S3LogConfigurationProperty(
3189
+ bucket="bucket",
3190
+ folder_structure="folderStructure",
3191
+ log_file_format="logFileFormat",
3192
+
3193
+ # the properties below are optional
3194
+ bucket_owner="bucketOwner",
3195
+ key_prefix="keyPrefix"
3196
+ )
3197
+ ),
3198
+
3199
+ # the properties below are optional
3200
+ additional_encryption_context={
3201
+ "additional_encryption_context_key": "additionalEncryptionContext"
3202
+ },
3203
+ customer_managed_key="customerManagedKey",
3204
+ display_name="displayName",
3205
+ tags=[CfnTag(
3206
+ key="key",
3207
+ value="value"
3208
+ )]
3209
+ )
3210
+ '''
3211
+
3212
+ def __init__(
3213
+ self,
3214
+ scope: _constructs_77d1e7e8.Construct,
3215
+ id: builtins.str,
3216
+ *,
3217
+ event_filter: typing.Union[_IResolvable_da3f097b, typing.Union["CfnSessionLogger.EventFilterProperty", typing.Dict[builtins.str, typing.Any]]],
3218
+ log_configuration: typing.Union[_IResolvable_da3f097b, typing.Union["CfnSessionLogger.LogConfigurationProperty", typing.Dict[builtins.str, typing.Any]]],
3219
+ additional_encryption_context: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
3220
+ customer_managed_key: typing.Optional[builtins.str] = None,
3221
+ display_name: typing.Optional[builtins.str] = None,
3222
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3223
+ ) -> None:
3224
+ '''
3225
+ :param scope: Scope in which this resource is defined.
3226
+ :param id: Construct identifier for this resource (unique in its scope).
3227
+ :param event_filter:
3228
+ :param log_configuration:
3229
+ :param additional_encryption_context:
3230
+ :param customer_managed_key:
3231
+ :param display_name:
3232
+ :param tags:
3233
+ '''
3234
+ if __debug__:
3235
+ type_hints = typing.get_type_hints(_typecheckingstub__5ecda6b775e0aad6e840315c150daa1cae407a534f747e34d2336449d0085a29)
3236
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
3237
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
3238
+ props = CfnSessionLoggerProps(
3239
+ event_filter=event_filter,
3240
+ log_configuration=log_configuration,
3241
+ additional_encryption_context=additional_encryption_context,
3242
+ customer_managed_key=customer_managed_key,
3243
+ display_name=display_name,
3244
+ tags=tags,
3245
+ )
3246
+
3247
+ jsii.create(self.__class__, self, [scope, id, props])
3248
+
3249
+ @jsii.member(jsii_name="inspect")
3250
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
3251
+ '''Examines the CloudFormation resource and discloses attributes.
3252
+
3253
+ :param inspector: tree inspector to collect and process attributes.
3254
+ '''
3255
+ if __debug__:
3256
+ type_hints = typing.get_type_hints(_typecheckingstub__32c2901f06899b3e8b2aed11d0479e80af4ae3bd2497852311c46da6edf80e41)
3257
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
3258
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
3259
+
3260
+ @jsii.member(jsii_name="renderProperties")
3261
+ def _render_properties(
3262
+ self,
3263
+ props: typing.Mapping[builtins.str, typing.Any],
3264
+ ) -> typing.Mapping[builtins.str, typing.Any]:
3265
+ '''
3266
+ :param props: -
3267
+ '''
3268
+ if __debug__:
3269
+ type_hints = typing.get_type_hints(_typecheckingstub__02821e951e1a7ebffab0cee338cb22e018833b70a4b8b4db79eadb9491b74956)
3270
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
3271
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
3272
+
3273
+ @jsii.python.classproperty
3274
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
3275
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
3276
+ '''The CloudFormation resource type name for this resource class.'''
3277
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
3278
+
3279
+ @builtins.property
3280
+ @jsii.member(jsii_name="attrAssociatedPortalArns")
3281
+ def attr_associated_portal_arns(self) -> typing.List[builtins.str]:
3282
+ '''
3283
+ :cloudformationAttribute: AssociatedPortalArns
3284
+ '''
3285
+ return typing.cast(typing.List[builtins.str], jsii.get(self, "attrAssociatedPortalArns"))
3286
+
3287
+ @builtins.property
3288
+ @jsii.member(jsii_name="attrCreationDate")
3289
+ def attr_creation_date(self) -> builtins.str:
3290
+ '''
3291
+ :cloudformationAttribute: CreationDate
3292
+ '''
3293
+ return typing.cast(builtins.str, jsii.get(self, "attrCreationDate"))
3294
+
3295
+ @builtins.property
3296
+ @jsii.member(jsii_name="attrSessionLoggerArn")
3297
+ def attr_session_logger_arn(self) -> builtins.str:
3298
+ '''
3299
+ :cloudformationAttribute: SessionLoggerArn
3300
+ '''
3301
+ return typing.cast(builtins.str, jsii.get(self, "attrSessionLoggerArn"))
3302
+
3303
+ @builtins.property
3304
+ @jsii.member(jsii_name="cdkTagManager")
3305
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
3306
+ '''Tag Manager which manages the tags for this resource.'''
3307
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
3308
+
3309
+ @builtins.property
3310
+ @jsii.member(jsii_name="cfnProperties")
3311
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
3312
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
3313
+
3314
+ @builtins.property
3315
+ @jsii.member(jsii_name="eventFilter")
3316
+ def event_filter(
3317
+ self,
3318
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnSessionLogger.EventFilterProperty"]:
3319
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnSessionLogger.EventFilterProperty"], jsii.get(self, "eventFilter"))
3320
+
3321
+ @event_filter.setter
3322
+ def event_filter(
3323
+ self,
3324
+ value: typing.Union[_IResolvable_da3f097b, "CfnSessionLogger.EventFilterProperty"],
3325
+ ) -> None:
3326
+ if __debug__:
3327
+ type_hints = typing.get_type_hints(_typecheckingstub__0f797a952eee0e5ef3c6c4e74102d30901b3a261e47539149a187359b0273935)
3328
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3329
+ jsii.set(self, "eventFilter", value) # pyright: ignore[reportArgumentType]
3330
+
3331
+ @builtins.property
3332
+ @jsii.member(jsii_name="logConfiguration")
3333
+ def log_configuration(
3334
+ self,
3335
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnSessionLogger.LogConfigurationProperty"]:
3336
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnSessionLogger.LogConfigurationProperty"], jsii.get(self, "logConfiguration"))
3337
+
3338
+ @log_configuration.setter
3339
+ def log_configuration(
3340
+ self,
3341
+ value: typing.Union[_IResolvable_da3f097b, "CfnSessionLogger.LogConfigurationProperty"],
3342
+ ) -> None:
3343
+ if __debug__:
3344
+ type_hints = typing.get_type_hints(_typecheckingstub__e28c4c53e5ee42bd3a2b3077ae66818ce670fc07686e11ffa703be889c6aa901)
3345
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3346
+ jsii.set(self, "logConfiguration", value) # pyright: ignore[reportArgumentType]
3347
+
3348
+ @builtins.property
3349
+ @jsii.member(jsii_name="additionalEncryptionContext")
3350
+ def additional_encryption_context(
3351
+ self,
3352
+ ) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
3353
+ return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], jsii.get(self, "additionalEncryptionContext"))
3354
+
3355
+ @additional_encryption_context.setter
3356
+ def additional_encryption_context(
3357
+ self,
3358
+ value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
3359
+ ) -> None:
3360
+ if __debug__:
3361
+ type_hints = typing.get_type_hints(_typecheckingstub__537d3e1f1f27dd421a4b648f2d1cfd2cafc17c6a94f1210fd5389a3d16c72bf0)
3362
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3363
+ jsii.set(self, "additionalEncryptionContext", value) # pyright: ignore[reportArgumentType]
3364
+
3365
+ @builtins.property
3366
+ @jsii.member(jsii_name="customerManagedKey")
3367
+ def customer_managed_key(self) -> typing.Optional[builtins.str]:
3368
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "customerManagedKey"))
3369
+
3370
+ @customer_managed_key.setter
3371
+ def customer_managed_key(self, value: typing.Optional[builtins.str]) -> None:
3372
+ if __debug__:
3373
+ type_hints = typing.get_type_hints(_typecheckingstub__6669ab733027174f86b8134ac28a12b3e8ce058fc6bb771f3ca2e6a1aa4a1ba0)
3374
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3375
+ jsii.set(self, "customerManagedKey", value) # pyright: ignore[reportArgumentType]
3376
+
3377
+ @builtins.property
3378
+ @jsii.member(jsii_name="displayName")
3379
+ def display_name(self) -> typing.Optional[builtins.str]:
3380
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "displayName"))
3381
+
3382
+ @display_name.setter
3383
+ def display_name(self, value: typing.Optional[builtins.str]) -> None:
3384
+ if __debug__:
3385
+ type_hints = typing.get_type_hints(_typecheckingstub__ae9fd345c1425b64f964d35fc511958d77a0f8f2e8685f0e6c4fca88750edc68)
3386
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3387
+ jsii.set(self, "displayName", value) # pyright: ignore[reportArgumentType]
3388
+
3389
+ @builtins.property
3390
+ @jsii.member(jsii_name="tags")
3391
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
3392
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
3393
+
3394
+ @tags.setter
3395
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
3396
+ if __debug__:
3397
+ type_hints = typing.get_type_hints(_typecheckingstub__85de43da52ead721682621ad8e0ec6970bf253d4dc82e6a8b363fb44db534497)
3398
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3399
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
3400
+
3401
+ @jsii.data_type(
3402
+ jsii_type="aws-cdk-lib.aws_workspacesweb.CfnSessionLogger.EventFilterProperty",
3403
+ jsii_struct_bases=[],
3404
+ name_mapping={"all": "all", "include": "include"},
3405
+ )
3406
+ class EventFilterProperty:
3407
+ def __init__(
3408
+ self,
3409
+ *,
3410
+ all: typing.Any = None,
3411
+ include: typing.Optional[typing.Sequence[builtins.str]] = None,
3412
+ ) -> None:
3413
+ '''
3414
+ :param all:
3415
+ :param include:
3416
+
3417
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-eventfilter.html
3418
+ :exampleMetadata: fixture=_generated
3419
+
3420
+ Example::
3421
+
3422
+ # The code below shows an example of how to instantiate this type.
3423
+ # The values are placeholders you should change.
3424
+ from aws_cdk import aws_workspacesweb as workspacesweb
3425
+
3426
+ # all: Any
3427
+
3428
+ event_filter_property = workspacesweb.CfnSessionLogger.EventFilterProperty(
3429
+ all=all,
3430
+ include=["include"]
3431
+ )
3432
+ '''
3433
+ if __debug__:
3434
+ type_hints = typing.get_type_hints(_typecheckingstub__2f1530e33fd800f934515849e7a6b073e430e992de682bef2cf8a8e5c89aa2d7)
3435
+ check_type(argname="argument all", value=all, expected_type=type_hints["all"])
3436
+ check_type(argname="argument include", value=include, expected_type=type_hints["include"])
3437
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3438
+ if all is not None:
3439
+ self._values["all"] = all
3440
+ if include is not None:
3441
+ self._values["include"] = include
3442
+
3443
+ @builtins.property
3444
+ def all(self) -> typing.Any:
3445
+ '''
3446
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-eventfilter.html#cfn-workspacesweb-sessionlogger-eventfilter-all
3447
+ '''
3448
+ result = self._values.get("all")
3449
+ return typing.cast(typing.Any, result)
3450
+
3451
+ @builtins.property
3452
+ def include(self) -> typing.Optional[typing.List[builtins.str]]:
3453
+ '''
3454
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-eventfilter.html#cfn-workspacesweb-sessionlogger-eventfilter-include
3455
+ '''
3456
+ result = self._values.get("include")
3457
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
3458
+
3459
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3460
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3461
+
3462
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3463
+ return not (rhs == self)
3464
+
3465
+ def __repr__(self) -> str:
3466
+ return "EventFilterProperty(%s)" % ", ".join(
3467
+ k + "=" + repr(v) for k, v in self._values.items()
3468
+ )
3469
+
3470
+ @jsii.data_type(
3471
+ jsii_type="aws-cdk-lib.aws_workspacesweb.CfnSessionLogger.LogConfigurationProperty",
3472
+ jsii_struct_bases=[],
3473
+ name_mapping={"s3": "s3"},
3474
+ )
3475
+ class LogConfigurationProperty:
3476
+ def __init__(
3477
+ self,
3478
+ *,
3479
+ s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnSessionLogger.S3LogConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3480
+ ) -> None:
3481
+ '''
3482
+ :param s3:
3483
+
3484
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-logconfiguration.html
3485
+ :exampleMetadata: fixture=_generated
3486
+
3487
+ Example::
3488
+
3489
+ # The code below shows an example of how to instantiate this type.
3490
+ # The values are placeholders you should change.
3491
+ from aws_cdk import aws_workspacesweb as workspacesweb
3492
+
3493
+ log_configuration_property = workspacesweb.CfnSessionLogger.LogConfigurationProperty(
3494
+ s3=workspacesweb.CfnSessionLogger.S3LogConfigurationProperty(
3495
+ bucket="bucket",
3496
+ folder_structure="folderStructure",
3497
+ log_file_format="logFileFormat",
3498
+
3499
+ # the properties below are optional
3500
+ bucket_owner="bucketOwner",
3501
+ key_prefix="keyPrefix"
3502
+ )
3503
+ )
3504
+ '''
3505
+ if __debug__:
3506
+ type_hints = typing.get_type_hints(_typecheckingstub__5e673953fb604a5eaf695974e9bd912f04871f2cb0d15f4408568306f9d8913e)
3507
+ check_type(argname="argument s3", value=s3, expected_type=type_hints["s3"])
3508
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
3509
+ if s3 is not None:
3510
+ self._values["s3"] = s3
3511
+
3512
+ @builtins.property
3513
+ def s3(
3514
+ self,
3515
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSessionLogger.S3LogConfigurationProperty"]]:
3516
+ '''
3517
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-logconfiguration.html#cfn-workspacesweb-sessionlogger-logconfiguration-s3
3518
+ '''
3519
+ result = self._values.get("s3")
3520
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnSessionLogger.S3LogConfigurationProperty"]], result)
3521
+
3522
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3523
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3524
+
3525
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3526
+ return not (rhs == self)
3527
+
3528
+ def __repr__(self) -> str:
3529
+ return "LogConfigurationProperty(%s)" % ", ".join(
3530
+ k + "=" + repr(v) for k, v in self._values.items()
3531
+ )
3532
+
3533
+ @jsii.data_type(
3534
+ jsii_type="aws-cdk-lib.aws_workspacesweb.CfnSessionLogger.S3LogConfigurationProperty",
3535
+ jsii_struct_bases=[],
3536
+ name_mapping={
3537
+ "bucket": "bucket",
3538
+ "folder_structure": "folderStructure",
3539
+ "log_file_format": "logFileFormat",
3540
+ "bucket_owner": "bucketOwner",
3541
+ "key_prefix": "keyPrefix",
3542
+ },
3543
+ )
3544
+ class S3LogConfigurationProperty:
3545
+ def __init__(
3546
+ self,
3547
+ *,
3548
+ bucket: builtins.str,
3549
+ folder_structure: builtins.str,
3550
+ log_file_format: builtins.str,
3551
+ bucket_owner: typing.Optional[builtins.str] = None,
3552
+ key_prefix: typing.Optional[builtins.str] = None,
3553
+ ) -> None:
3554
+ '''
3555
+ :param bucket:
3556
+ :param folder_structure:
3557
+ :param log_file_format:
3558
+ :param bucket_owner:
3559
+ :param key_prefix:
3560
+
3561
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-s3logconfiguration.html
3562
+ :exampleMetadata: fixture=_generated
3563
+
3564
+ Example::
3565
+
3566
+ # The code below shows an example of how to instantiate this type.
3567
+ # The values are placeholders you should change.
3568
+ from aws_cdk import aws_workspacesweb as workspacesweb
3569
+
3570
+ s3_log_configuration_property = workspacesweb.CfnSessionLogger.S3LogConfigurationProperty(
3571
+ bucket="bucket",
3572
+ folder_structure="folderStructure",
3573
+ log_file_format="logFileFormat",
3574
+
3575
+ # the properties below are optional
3576
+ bucket_owner="bucketOwner",
3577
+ key_prefix="keyPrefix"
3578
+ )
3579
+ '''
3580
+ if __debug__:
3581
+ type_hints = typing.get_type_hints(_typecheckingstub__2932cde5c903e31aee5df2ddaf173b3b2d8262005b0e7a9387a82480cca35f4f)
3582
+ check_type(argname="argument bucket", value=bucket, expected_type=type_hints["bucket"])
3583
+ check_type(argname="argument folder_structure", value=folder_structure, expected_type=type_hints["folder_structure"])
3584
+ check_type(argname="argument log_file_format", value=log_file_format, expected_type=type_hints["log_file_format"])
3585
+ check_type(argname="argument bucket_owner", value=bucket_owner, expected_type=type_hints["bucket_owner"])
3586
+ check_type(argname="argument key_prefix", value=key_prefix, expected_type=type_hints["key_prefix"])
3587
+ self._values: typing.Dict[builtins.str, typing.Any] = {
3588
+ "bucket": bucket,
3589
+ "folder_structure": folder_structure,
3590
+ "log_file_format": log_file_format,
3591
+ }
3592
+ if bucket_owner is not None:
3593
+ self._values["bucket_owner"] = bucket_owner
3594
+ if key_prefix is not None:
3595
+ self._values["key_prefix"] = key_prefix
3596
+
3597
+ @builtins.property
3598
+ def bucket(self) -> builtins.str:
3599
+ '''
3600
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-s3logconfiguration.html#cfn-workspacesweb-sessionlogger-s3logconfiguration-bucket
3601
+ '''
3602
+ result = self._values.get("bucket")
3603
+ assert result is not None, "Required property 'bucket' is missing"
3604
+ return typing.cast(builtins.str, result)
3605
+
3606
+ @builtins.property
3607
+ def folder_structure(self) -> builtins.str:
3608
+ '''
3609
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-s3logconfiguration.html#cfn-workspacesweb-sessionlogger-s3logconfiguration-folderstructure
3610
+ '''
3611
+ result = self._values.get("folder_structure")
3612
+ assert result is not None, "Required property 'folder_structure' is missing"
3613
+ return typing.cast(builtins.str, result)
3614
+
3615
+ @builtins.property
3616
+ def log_file_format(self) -> builtins.str:
3617
+ '''
3618
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-s3logconfiguration.html#cfn-workspacesweb-sessionlogger-s3logconfiguration-logfileformat
3619
+ '''
3620
+ result = self._values.get("log_file_format")
3621
+ assert result is not None, "Required property 'log_file_format' is missing"
3622
+ return typing.cast(builtins.str, result)
3623
+
3624
+ @builtins.property
3625
+ def bucket_owner(self) -> typing.Optional[builtins.str]:
3626
+ '''
3627
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-s3logconfiguration.html#cfn-workspacesweb-sessionlogger-s3logconfiguration-bucketowner
3628
+ '''
3629
+ result = self._values.get("bucket_owner")
3630
+ return typing.cast(typing.Optional[builtins.str], result)
3631
+
3632
+ @builtins.property
3633
+ def key_prefix(self) -> typing.Optional[builtins.str]:
3634
+ '''
3635
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-sessionlogger-s3logconfiguration.html#cfn-workspacesweb-sessionlogger-s3logconfiguration-keyprefix
3636
+ '''
3637
+ result = self._values.get("key_prefix")
3638
+ return typing.cast(typing.Optional[builtins.str], result)
3639
+
3640
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
3641
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
3642
+
3643
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
3644
+ return not (rhs == self)
3645
+
3646
+ def __repr__(self) -> str:
3647
+ return "S3LogConfigurationProperty(%s)" % ", ".join(
3648
+ k + "=" + repr(v) for k, v in self._values.items()
3649
+ )
3650
+
3651
+
3652
+ @jsii.data_type(
3653
+ jsii_type="aws-cdk-lib.aws_workspacesweb.CfnSessionLoggerProps",
3654
+ jsii_struct_bases=[],
3655
+ name_mapping={
3656
+ "event_filter": "eventFilter",
3657
+ "log_configuration": "logConfiguration",
3658
+ "additional_encryption_context": "additionalEncryptionContext",
3659
+ "customer_managed_key": "customerManagedKey",
3660
+ "display_name": "displayName",
3661
+ "tags": "tags",
3662
+ },
3663
+ )
3664
+ class CfnSessionLoggerProps:
3665
+ def __init__(
3666
+ self,
3667
+ *,
3668
+ event_filter: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSessionLogger.EventFilterProperty, typing.Dict[builtins.str, typing.Any]]],
3669
+ log_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSessionLogger.LogConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
3670
+ additional_encryption_context: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
3671
+ customer_managed_key: typing.Optional[builtins.str] = None,
3672
+ display_name: typing.Optional[builtins.str] = None,
3673
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3674
+ ) -> None:
3675
+ '''Properties for defining a ``CfnSessionLogger``.
3676
+
3677
+ :param event_filter:
3678
+ :param log_configuration:
3679
+ :param additional_encryption_context:
3680
+ :param customer_managed_key:
3681
+ :param display_name:
3682
+ :param tags:
3683
+
3684
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html
3685
+ :exampleMetadata: fixture=_generated
3686
+
3687
+ Example::
3688
+
3689
+ # The code below shows an example of how to instantiate this type.
3690
+ # The values are placeholders you should change.
3691
+ from aws_cdk import aws_workspacesweb as workspacesweb
3692
+
3693
+ # all: Any
3694
+
3695
+ cfn_session_logger_props = workspacesweb.CfnSessionLoggerProps(
3696
+ event_filter=workspacesweb.CfnSessionLogger.EventFilterProperty(
3697
+ all=all,
3698
+ include=["include"]
3699
+ ),
3700
+ log_configuration=workspacesweb.CfnSessionLogger.LogConfigurationProperty(
3701
+ s3=workspacesweb.CfnSessionLogger.S3LogConfigurationProperty(
3702
+ bucket="bucket",
3703
+ folder_structure="folderStructure",
3704
+ log_file_format="logFileFormat",
3705
+
3706
+ # the properties below are optional
3707
+ bucket_owner="bucketOwner",
3708
+ key_prefix="keyPrefix"
3709
+ )
3710
+ ),
3711
+
3712
+ # the properties below are optional
2911
3713
  additional_encryption_context={
2912
3714
  "additional_encryption_context_key": "additionalEncryptionContext"
2913
3715
  },
2914
- authentication_type="authenticationType",
2915
- browser_settings_arn="browserSettingsArn",
2916
3716
  customer_managed_key="customerManagedKey",
2917
- data_protection_settings_arn="dataProtectionSettingsArn",
2918
3717
  display_name="displayName",
2919
- instance_type="instanceType",
2920
- ip_access_settings_arn="ipAccessSettingsArn",
2921
- max_concurrent_sessions=123,
2922
- network_settings_arn="networkSettingsArn",
2923
3718
  tags=[CfnTag(
2924
3719
  key="key",
2925
3720
  value="value"
2926
- )],
2927
- trust_store_arn="trustStoreArn",
2928
- user_access_logging_settings_arn="userAccessLoggingSettingsArn",
2929
- user_settings_arn="userSettingsArn"
3721
+ )]
2930
3722
  )
2931
3723
  '''
2932
3724
  if __debug__:
2933
- type_hints = typing.get_type_hints(_typecheckingstub__aa147912cdfb0d9ea5356fccc59e7ae5b02c822d1e3f5ae2e4826ae39e89f283)
3725
+ type_hints = typing.get_type_hints(_typecheckingstub__042e70be11dd83b286871d0bfa14e8054acd3b7c9dfd43fc0e770ee8a2dbf3d3)
3726
+ check_type(argname="argument event_filter", value=event_filter, expected_type=type_hints["event_filter"])
3727
+ check_type(argname="argument log_configuration", value=log_configuration, expected_type=type_hints["log_configuration"])
2934
3728
  check_type(argname="argument additional_encryption_context", value=additional_encryption_context, expected_type=type_hints["additional_encryption_context"])
2935
- check_type(argname="argument authentication_type", value=authentication_type, expected_type=type_hints["authentication_type"])
2936
- check_type(argname="argument browser_settings_arn", value=browser_settings_arn, expected_type=type_hints["browser_settings_arn"])
2937
3729
  check_type(argname="argument customer_managed_key", value=customer_managed_key, expected_type=type_hints["customer_managed_key"])
2938
- check_type(argname="argument data_protection_settings_arn", value=data_protection_settings_arn, expected_type=type_hints["data_protection_settings_arn"])
2939
3730
  check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
2940
- check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
2941
- check_type(argname="argument ip_access_settings_arn", value=ip_access_settings_arn, expected_type=type_hints["ip_access_settings_arn"])
2942
- check_type(argname="argument max_concurrent_sessions", value=max_concurrent_sessions, expected_type=type_hints["max_concurrent_sessions"])
2943
- check_type(argname="argument network_settings_arn", value=network_settings_arn, expected_type=type_hints["network_settings_arn"])
2944
3731
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
2945
- check_type(argname="argument trust_store_arn", value=trust_store_arn, expected_type=type_hints["trust_store_arn"])
2946
- check_type(argname="argument user_access_logging_settings_arn", value=user_access_logging_settings_arn, expected_type=type_hints["user_access_logging_settings_arn"])
2947
- check_type(argname="argument user_settings_arn", value=user_settings_arn, expected_type=type_hints["user_settings_arn"])
2948
- self._values: typing.Dict[builtins.str, typing.Any] = {}
3732
+ self._values: typing.Dict[builtins.str, typing.Any] = {
3733
+ "event_filter": event_filter,
3734
+ "log_configuration": log_configuration,
3735
+ }
2949
3736
  if additional_encryption_context is not None:
2950
3737
  self._values["additional_encryption_context"] = additional_encryption_context
2951
- if authentication_type is not None:
2952
- self._values["authentication_type"] = authentication_type
2953
- if browser_settings_arn is not None:
2954
- self._values["browser_settings_arn"] = browser_settings_arn
2955
3738
  if customer_managed_key is not None:
2956
3739
  self._values["customer_managed_key"] = customer_managed_key
2957
- if data_protection_settings_arn is not None:
2958
- self._values["data_protection_settings_arn"] = data_protection_settings_arn
2959
3740
  if display_name is not None:
2960
3741
  self._values["display_name"] = display_name
2961
- if instance_type is not None:
2962
- self._values["instance_type"] = instance_type
2963
- if ip_access_settings_arn is not None:
2964
- self._values["ip_access_settings_arn"] = ip_access_settings_arn
2965
- if max_concurrent_sessions is not None:
2966
- self._values["max_concurrent_sessions"] = max_concurrent_sessions
2967
- if network_settings_arn is not None:
2968
- self._values["network_settings_arn"] = network_settings_arn
2969
3742
  if tags is not None:
2970
3743
  self._values["tags"] = tags
2971
- if trust_store_arn is not None:
2972
- self._values["trust_store_arn"] = trust_store_arn
2973
- if user_access_logging_settings_arn is not None:
2974
- self._values["user_access_logging_settings_arn"] = user_access_logging_settings_arn
2975
- if user_settings_arn is not None:
2976
- self._values["user_settings_arn"] = user_settings_arn
2977
3744
 
2978
3745
  @builtins.property
2979
- def additional_encryption_context(
3746
+ def event_filter(
2980
3747
  self,
2981
- ) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
2982
- '''The additional encryption context of the portal.
2983
-
2984
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-additionalencryptioncontext
3748
+ ) -> typing.Union[_IResolvable_da3f097b, CfnSessionLogger.EventFilterProperty]:
2985
3749
  '''
2986
- result = self._values.get("additional_encryption_context")
2987
- return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
2988
-
2989
- @builtins.property
2990
- def authentication_type(self) -> typing.Optional[builtins.str]:
2991
- '''The type of authentication integration points used when signing into the web portal. Defaults to ``Standard`` .
2992
-
2993
- ``Standard`` web portals are authenticated directly through your identity provider (IdP). User and group access to your web portal is controlled through your IdP. You need to include an IdP resource in your template to integrate your IdP with your web portal. Completing the configuration for your IdP requires exchanging WorkSpaces Secure Browser’s SP metadata with your IdP’s IdP metadata. If your IdP requires the SP metadata first before returning the IdP metadata, you should follow these steps:
2994
-
2995
- 1. Create and deploy a CloudFormation template with a ``Standard`` portal with no ``IdentityProvider`` resource.
2996
- 2. Retrieve the SP metadata using ``Fn:GetAtt`` , the WorkSpaces Secure Browser console, or by the calling the ``GetPortalServiceProviderMetadata`` API.
2997
- 3. Submit the data to your IdP.
2998
- 4. Add an ``IdentityProvider`` resource to your CloudFormation template.
2999
-
3000
- ``IAM Identity Center`` web portals are authenticated through AWS IAM Identity Center . They provide additional features, such as IdP-initiated authentication. Identity sources (including external identity provider integration) and other identity provider information must be configured in IAM Identity Center . User and group assignment must be done through the WorkSpaces Secure Browser console. These cannot be configured in CloudFormation.
3001
-
3002
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-authenticationtype
3750
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-eventfilter
3003
3751
  '''
3004
- result = self._values.get("authentication_type")
3005
- return typing.cast(typing.Optional[builtins.str], result)
3752
+ result = self._values.get("event_filter")
3753
+ assert result is not None, "Required property 'event_filter' is missing"
3754
+ return typing.cast(typing.Union[_IResolvable_da3f097b, CfnSessionLogger.EventFilterProperty], result)
3006
3755
 
3007
3756
  @builtins.property
3008
- def browser_settings_arn(self) -> typing.Optional[builtins.str]:
3009
- '''The ARN of the browser settings that is associated with this web portal.
3010
-
3011
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-browsersettingsarn
3757
+ def log_configuration(
3758
+ self,
3759
+ ) -> typing.Union[_IResolvable_da3f097b, CfnSessionLogger.LogConfigurationProperty]:
3012
3760
  '''
3013
- result = self._values.get("browser_settings_arn")
3014
- return typing.cast(typing.Optional[builtins.str], result)
3015
-
3016
- @builtins.property
3017
- def customer_managed_key(self) -> typing.Optional[builtins.str]:
3018
- '''The customer managed key of the web portal.
3019
-
3020
- *Pattern* : ``^arn:[\\w+=\\/,.@-]+:kms:[a-zA-Z0-9\\-]*:[a-zA-Z0-9]{1,12}:key\\/[a-zA-Z0-9-]+$``
3021
-
3022
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-customermanagedkey
3761
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-logconfiguration
3023
3762
  '''
3024
- result = self._values.get("customer_managed_key")
3025
- return typing.cast(typing.Optional[builtins.str], result)
3763
+ result = self._values.get("log_configuration")
3764
+ assert result is not None, "Required property 'log_configuration' is missing"
3765
+ return typing.cast(typing.Union[_IResolvable_da3f097b, CfnSessionLogger.LogConfigurationProperty], result)
3026
3766
 
3027
3767
  @builtins.property
3028
- def data_protection_settings_arn(self) -> typing.Optional[builtins.str]:
3029
- '''The ARN of the data protection settings.
3030
-
3031
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-dataprotectionsettingsarn
3768
+ def additional_encryption_context(
3769
+ self,
3770
+ ) -> typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]]:
3032
3771
  '''
3033
- result = self._values.get("data_protection_settings_arn")
3034
- return typing.cast(typing.Optional[builtins.str], result)
3035
-
3036
- @builtins.property
3037
- def display_name(self) -> typing.Optional[builtins.str]:
3038
- '''The name of the web portal.
3039
-
3040
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-displayname
3772
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-additionalencryptioncontext
3041
3773
  '''
3042
- result = self._values.get("display_name")
3043
- return typing.cast(typing.Optional[builtins.str], result)
3774
+ result = self._values.get("additional_encryption_context")
3775
+ return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
3044
3776
 
3045
3777
  @builtins.property
3046
- def instance_type(self) -> typing.Optional[builtins.str]:
3047
- '''The type and resources of the underlying instance.
3048
-
3049
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-instancetype
3778
+ def customer_managed_key(self) -> typing.Optional[builtins.str]:
3050
3779
  '''
3051
- result = self._values.get("instance_type")
3052
- return typing.cast(typing.Optional[builtins.str], result)
3053
-
3054
- @builtins.property
3055
- def ip_access_settings_arn(self) -> typing.Optional[builtins.str]:
3056
- '''The ARN of the IP access settings that is associated with the web portal.
3057
-
3058
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-ipaccesssettingsarn
3780
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-customermanagedkey
3059
3781
  '''
3060
- result = self._values.get("ip_access_settings_arn")
3782
+ result = self._values.get("customer_managed_key")
3061
3783
  return typing.cast(typing.Optional[builtins.str], result)
3062
3784
 
3063
3785
  @builtins.property
3064
- def max_concurrent_sessions(self) -> typing.Optional[jsii.Number]:
3065
- '''The maximum number of concurrent sessions for the portal.
3066
-
3067
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-maxconcurrentsessions
3786
+ def display_name(self) -> typing.Optional[builtins.str]:
3068
3787
  '''
3069
- result = self._values.get("max_concurrent_sessions")
3070
- return typing.cast(typing.Optional[jsii.Number], result)
3071
-
3072
- @builtins.property
3073
- def network_settings_arn(self) -> typing.Optional[builtins.str]:
3074
- '''The ARN of the network settings that is associated with the web portal.
3075
-
3076
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-networksettingsarn
3788
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-displayname
3077
3789
  '''
3078
- result = self._values.get("network_settings_arn")
3790
+ result = self._values.get("display_name")
3079
3791
  return typing.cast(typing.Optional[builtins.str], result)
3080
3792
 
3081
3793
  @builtins.property
3082
3794
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
3083
- '''The tags to add to the web portal.
3084
-
3085
- A tag is a key-value pair.
3086
-
3087
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-tags
3795
+ '''
3796
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-sessionlogger.html#cfn-workspacesweb-sessionlogger-tags
3088
3797
  '''
3089
3798
  result = self._values.get("tags")
3090
3799
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
3091
3800
 
3092
- @builtins.property
3093
- def trust_store_arn(self) -> typing.Optional[builtins.str]:
3094
- '''The ARN of the trust store that is associated with the web portal.
3095
-
3096
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-truststorearn
3097
- '''
3098
- result = self._values.get("trust_store_arn")
3099
- return typing.cast(typing.Optional[builtins.str], result)
3100
-
3101
- @builtins.property
3102
- def user_access_logging_settings_arn(self) -> typing.Optional[builtins.str]:
3103
- '''The ARN of the user access logging settings that is associated with the web portal.
3104
-
3105
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-useraccessloggingsettingsarn
3106
- '''
3107
- result = self._values.get("user_access_logging_settings_arn")
3108
- return typing.cast(typing.Optional[builtins.str], result)
3109
-
3110
- @builtins.property
3111
- def user_settings_arn(self) -> typing.Optional[builtins.str]:
3112
- '''The ARN of the user settings that is associated with the web portal.
3113
-
3114
- :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-portal.html#cfn-workspacesweb-portal-usersettingsarn
3115
- '''
3116
- result = self._values.get("user_settings_arn")
3117
- return typing.cast(typing.Optional[builtins.str], result)
3118
-
3119
3801
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
3120
3802
  return isinstance(rhs, self.__class__) and rhs._values == self._values
3121
3803
 
@@ -3123,7 +3805,7 @@ class CfnPortalProps:
3123
3805
  return not (rhs == self)
3124
3806
 
3125
3807
  def __repr__(self) -> str:
3126
- return "CfnPortalProps(%s)" % ", ".join(
3808
+ return "CfnSessionLoggerProps(%s)" % ", ".join(
3127
3809
  k + "=" + repr(v) for k, v in self._values.items()
3128
3810
  )
3129
3811
 
@@ -4531,6 +5213,8 @@ __all__ = [
4531
5213
  "CfnNetworkSettingsProps",
4532
5214
  "CfnPortal",
4533
5215
  "CfnPortalProps",
5216
+ "CfnSessionLogger",
5217
+ "CfnSessionLoggerProps",
4534
5218
  "CfnTrustStore",
4535
5219
  "CfnTrustStoreProps",
4536
5220
  "CfnUserAccessLoggingSettings",
@@ -4933,6 +5617,7 @@ def _typecheckingstub__239c61bc87a1a693f01a28198d2d3000f7ef790e9684279e807a890b0
4933
5617
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
4934
5618
  max_concurrent_sessions: typing.Optional[jsii.Number] = None,
4935
5619
  network_settings_arn: typing.Optional[builtins.str] = None,
5620
+ session_logger_arn: typing.Optional[builtins.str] = None,
4936
5621
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4937
5622
  trust_store_arn: typing.Optional[builtins.str] = None,
4938
5623
  user_access_logging_settings_arn: typing.Optional[builtins.str] = None,
@@ -5013,6 +5698,12 @@ def _typecheckingstub__beaa575cd54d9de94a0201b4213524db5df052dd0b9e1605b88d4487f
5013
5698
  """Type checking stubs"""
5014
5699
  pass
5015
5700
 
5701
+ def _typecheckingstub__799f778b7f3d528d4330acec14db7800e1877f11411b658cf7b11ad8463a43b6(
5702
+ value: typing.Optional[builtins.str],
5703
+ ) -> None:
5704
+ """Type checking stubs"""
5705
+ pass
5706
+
5016
5707
  def _typecheckingstub__30535a8dcd75eba19481865deda3eac2505afe537e0650db0a95162feb2563e2(
5017
5708
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
5018
5709
  ) -> None:
@@ -5049,6 +5740,7 @@ def _typecheckingstub__aa147912cdfb0d9ea5356fccc59e7ae5b02c822d1e3f5ae2e4826ae39
5049
5740
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
5050
5741
  max_concurrent_sessions: typing.Optional[jsii.Number] = None,
5051
5742
  network_settings_arn: typing.Optional[builtins.str] = None,
5743
+ session_logger_arn: typing.Optional[builtins.str] = None,
5052
5744
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5053
5745
  trust_store_arn: typing.Optional[builtins.str] = None,
5054
5746
  user_access_logging_settings_arn: typing.Optional[builtins.str] = None,
@@ -5057,6 +5749,106 @@ def _typecheckingstub__aa147912cdfb0d9ea5356fccc59e7ae5b02c822d1e3f5ae2e4826ae39
5057
5749
  """Type checking stubs"""
5058
5750
  pass
5059
5751
 
5752
+ def _typecheckingstub__5ecda6b775e0aad6e840315c150daa1cae407a534f747e34d2336449d0085a29(
5753
+ scope: _constructs_77d1e7e8.Construct,
5754
+ id: builtins.str,
5755
+ *,
5756
+ event_filter: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSessionLogger.EventFilterProperty, typing.Dict[builtins.str, typing.Any]]],
5757
+ log_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSessionLogger.LogConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
5758
+ additional_encryption_context: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
5759
+ customer_managed_key: typing.Optional[builtins.str] = None,
5760
+ display_name: typing.Optional[builtins.str] = None,
5761
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5762
+ ) -> None:
5763
+ """Type checking stubs"""
5764
+ pass
5765
+
5766
+ def _typecheckingstub__32c2901f06899b3e8b2aed11d0479e80af4ae3bd2497852311c46da6edf80e41(
5767
+ inspector: _TreeInspector_488e0dd5,
5768
+ ) -> None:
5769
+ """Type checking stubs"""
5770
+ pass
5771
+
5772
+ def _typecheckingstub__02821e951e1a7ebffab0cee338cb22e018833b70a4b8b4db79eadb9491b74956(
5773
+ props: typing.Mapping[builtins.str, typing.Any],
5774
+ ) -> None:
5775
+ """Type checking stubs"""
5776
+ pass
5777
+
5778
+ def _typecheckingstub__0f797a952eee0e5ef3c6c4e74102d30901b3a261e47539149a187359b0273935(
5779
+ value: typing.Union[_IResolvable_da3f097b, CfnSessionLogger.EventFilterProperty],
5780
+ ) -> None:
5781
+ """Type checking stubs"""
5782
+ pass
5783
+
5784
+ def _typecheckingstub__e28c4c53e5ee42bd3a2b3077ae66818ce670fc07686e11ffa703be889c6aa901(
5785
+ value: typing.Union[_IResolvable_da3f097b, CfnSessionLogger.LogConfigurationProperty],
5786
+ ) -> None:
5787
+ """Type checking stubs"""
5788
+ pass
5789
+
5790
+ def _typecheckingstub__537d3e1f1f27dd421a4b648f2d1cfd2cafc17c6a94f1210fd5389a3d16c72bf0(
5791
+ value: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]],
5792
+ ) -> None:
5793
+ """Type checking stubs"""
5794
+ pass
5795
+
5796
+ def _typecheckingstub__6669ab733027174f86b8134ac28a12b3e8ce058fc6bb771f3ca2e6a1aa4a1ba0(
5797
+ value: typing.Optional[builtins.str],
5798
+ ) -> None:
5799
+ """Type checking stubs"""
5800
+ pass
5801
+
5802
+ def _typecheckingstub__ae9fd345c1425b64f964d35fc511958d77a0f8f2e8685f0e6c4fca88750edc68(
5803
+ value: typing.Optional[builtins.str],
5804
+ ) -> None:
5805
+ """Type checking stubs"""
5806
+ pass
5807
+
5808
+ def _typecheckingstub__85de43da52ead721682621ad8e0ec6970bf253d4dc82e6a8b363fb44db534497(
5809
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
5810
+ ) -> None:
5811
+ """Type checking stubs"""
5812
+ pass
5813
+
5814
+ def _typecheckingstub__2f1530e33fd800f934515849e7a6b073e430e992de682bef2cf8a8e5c89aa2d7(
5815
+ *,
5816
+ all: typing.Any = None,
5817
+ include: typing.Optional[typing.Sequence[builtins.str]] = None,
5818
+ ) -> None:
5819
+ """Type checking stubs"""
5820
+ pass
5821
+
5822
+ def _typecheckingstub__5e673953fb604a5eaf695974e9bd912f04871f2cb0d15f4408568306f9d8913e(
5823
+ *,
5824
+ s3: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnSessionLogger.S3LogConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
5825
+ ) -> None:
5826
+ """Type checking stubs"""
5827
+ pass
5828
+
5829
+ def _typecheckingstub__2932cde5c903e31aee5df2ddaf173b3b2d8262005b0e7a9387a82480cca35f4f(
5830
+ *,
5831
+ bucket: builtins.str,
5832
+ folder_structure: builtins.str,
5833
+ log_file_format: builtins.str,
5834
+ bucket_owner: typing.Optional[builtins.str] = None,
5835
+ key_prefix: typing.Optional[builtins.str] = None,
5836
+ ) -> None:
5837
+ """Type checking stubs"""
5838
+ pass
5839
+
5840
+ def _typecheckingstub__042e70be11dd83b286871d0bfa14e8054acd3b7c9dfd43fc0e770ee8a2dbf3d3(
5841
+ *,
5842
+ event_filter: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSessionLogger.EventFilterProperty, typing.Dict[builtins.str, typing.Any]]],
5843
+ log_configuration: typing.Union[_IResolvable_da3f097b, typing.Union[CfnSessionLogger.LogConfigurationProperty, typing.Dict[builtins.str, typing.Any]]],
5844
+ additional_encryption_context: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
5845
+ customer_managed_key: typing.Optional[builtins.str] = None,
5846
+ display_name: typing.Optional[builtins.str] = None,
5847
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5848
+ ) -> None:
5849
+ """Type checking stubs"""
5850
+ pass
5851
+
5060
5852
  def _typecheckingstub__cc9c8ead0938c5ad416a02ff1511be2c3cbf2519166e43c80e65e581fac2cab7(
5061
5853
  scope: _constructs_77d1e7e8.Construct,
5062
5854
  id: builtins.str,