aws-cdk-lib 2.171.1__py3-none-any.whl → 2.173.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 +528 -161
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.171.1.jsii.tgz → aws-cdk-lib@2.173.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amazonmq/__init__.py +40 -40
  5. aws_cdk/aws_apigateway/__init__.py +1357 -120
  6. aws_cdk/aws_applicationautoscaling/__init__.py +141 -66
  7. aws_cdk/aws_appsync/__init__.py +163 -139
  8. aws_cdk/aws_autoscaling/__init__.py +96 -30
  9. aws_cdk/aws_bedrock/__init__.py +80 -44
  10. aws_cdk/aws_chatbot/__init__.py +803 -2
  11. aws_cdk/aws_cleanrooms/__init__.py +4 -6
  12. aws_cdk/aws_cloudformation/__init__.py +240 -159
  13. aws_cdk/aws_cloudfront/__init__.py +15 -7
  14. aws_cdk/aws_cloudtrail/__init__.py +802 -13
  15. aws_cdk/aws_cloudwatch/__init__.py +51 -14
  16. aws_cdk/aws_codebuild/__init__.py +39 -0
  17. aws_cdk/aws_codepipeline/__init__.py +4 -4
  18. aws_cdk/aws_cognito/__init__.py +1032 -43
  19. aws_cdk/aws_config/__init__.py +13 -10
  20. aws_cdk/aws_connect/__init__.py +454 -23
  21. aws_cdk/aws_connectcampaignsv2/__init__.py +187 -176
  22. aws_cdk/aws_customerprofiles/__init__.py +3148 -0
  23. aws_cdk/aws_docdb/__init__.py +128 -0
  24. aws_cdk/aws_dynamodb/__init__.py +256 -0
  25. aws_cdk/aws_ec2/__init__.py +976 -27
  26. aws_cdk/aws_ecs/__init__.py +37 -20
  27. aws_cdk/aws_eks/__init__.py +771 -0
  28. aws_cdk/aws_elasticache/__init__.py +22 -22
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +441 -177
  30. aws_cdk/aws_events/__init__.py +550 -30
  31. aws_cdk/aws_fsx/__init__.py +134 -10
  32. aws_cdk/aws_imagebuilder/__init__.py +8 -8
  33. aws_cdk/aws_invoicing/__init__.py +651 -0
  34. aws_cdk/aws_iot/__init__.py +70 -26
  35. aws_cdk/aws_iotfleetwise/__init__.py +1033 -382
  36. aws_cdk/aws_iotsitewise/__init__.py +158 -0
  37. aws_cdk/aws_ivs/__init__.py +43 -31
  38. aws_cdk/aws_kendra/__init__.py +4 -0
  39. aws_cdk/aws_lakeformation/__init__.py +2 -1
  40. aws_cdk/aws_lambda/__init__.py +272 -164
  41. aws_cdk/aws_lambda_event_sources/__init__.py +2 -1
  42. aws_cdk/aws_lambda_nodejs/__init__.py +11 -11
  43. aws_cdk/aws_logs/__init__.py +532 -0
  44. aws_cdk/aws_m2/__init__.py +289 -0
  45. aws_cdk/aws_mediaconnect/__init__.py +24 -14
  46. aws_cdk/aws_medialive/__init__.py +2359 -5
  47. aws_cdk/aws_mediapackage/__init__.py +3 -9
  48. aws_cdk/aws_mediapackagev2/__init__.py +19 -17
  49. aws_cdk/aws_memorydb/__init__.py +664 -4
  50. aws_cdk/aws_mwaa/__init__.py +6 -6
  51. aws_cdk/aws_opensearchserverless/__init__.py +249 -1
  52. aws_cdk/aws_pipes/__init__.py +14 -30
  53. aws_cdk/aws_qbusiness/__init__.py +2021 -67
  54. aws_cdk/aws_quicksight/__init__.py +8270 -10
  55. aws_cdk/aws_rbin/__init__.py +53 -34
  56. aws_cdk/aws_rds/__init__.py +170 -8
  57. aws_cdk/aws_resourcegroups/__init__.py +362 -4
  58. aws_cdk/aws_route53/__init__.py +1177 -10
  59. aws_cdk/aws_route53_targets/__init__.py +297 -91
  60. aws_cdk/aws_route53resolver/__init__.py +19 -8
  61. aws_cdk/aws_s3/__init__.py +4 -4
  62. aws_cdk/aws_s3express/__init__.py +421 -9
  63. aws_cdk/aws_sagemaker/__init__.py +905 -119
  64. aws_cdk/aws_secretsmanager/__init__.py +20 -6
  65. aws_cdk/aws_securityhub/__init__.py +64 -32
  66. aws_cdk/aws_servicediscovery/__init__.py +43 -0
  67. aws_cdk/aws_ses/__init__.py +188 -41
  68. aws_cdk/aws_stepfunctions_tasks/__init__.py +190 -35
  69. aws_cdk/aws_synthetics/__init__.py +7 -5
  70. aws_cdk/aws_vpclattice/__init__.py +1479 -122
  71. aws_cdk/aws_wisdom/__init__.py +8509 -1502
  72. aws_cdk/aws_workspacesweb/__init__.py +1081 -0
  73. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/METADATA +1 -1
  74. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/RECORD +78 -77
  75. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/LICENSE +0 -0
  76. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/NOTICE +0 -0
  77. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/WHEEL +0 -0
  78. {aws_cdk_lib-2.171.1.dist-info → aws_cdk_lib-2.173.0.dist-info}/top_level.txt +0 -0
@@ -377,6 +377,927 @@ class CfnBrowserSettingsProps:
377
377
  )
378
378
 
379
379
 
380
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
381
+ class CfnDataProtectionSettings(
382
+ _CfnResource_9df397a6,
383
+ metaclass=jsii.JSIIMeta,
384
+ jsii_type="aws-cdk-lib.aws_workspacesweb.CfnDataProtectionSettings",
385
+ ):
386
+ '''The data protection settings resource that can be associated with a web portal.
387
+
388
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html
389
+ :cloudformationResource: AWS::WorkSpacesWeb::DataProtectionSettings
390
+ :exampleMetadata: fixture=_generated
391
+
392
+ Example::
393
+
394
+ # The code below shows an example of how to instantiate this type.
395
+ # The values are placeholders you should change.
396
+ from aws_cdk import aws_workspacesweb as workspacesweb
397
+
398
+ cfn_data_protection_settings = workspacesweb.CfnDataProtectionSettings(self, "MyCfnDataProtectionSettings",
399
+ additional_encryption_context={
400
+ "additional_encryption_context_key": "additionalEncryptionContext"
401
+ },
402
+ customer_managed_key="customerManagedKey",
403
+ description="description",
404
+ display_name="displayName",
405
+ inline_redaction_configuration=workspacesweb.CfnDataProtectionSettings.InlineRedactionConfigurationProperty(
406
+ inline_redaction_patterns=[workspacesweb.CfnDataProtectionSettings.InlineRedactionPatternProperty(
407
+ redaction_place_holder=workspacesweb.CfnDataProtectionSettings.RedactionPlaceHolderProperty(
408
+ redaction_place_holder_type="redactionPlaceHolderType",
409
+
410
+ # the properties below are optional
411
+ redaction_place_holder_text="redactionPlaceHolderText"
412
+ ),
413
+
414
+ # the properties below are optional
415
+ built_in_pattern_id="builtInPatternId",
416
+ confidence_level=123,
417
+ custom_pattern=workspacesweb.CfnDataProtectionSettings.CustomPatternProperty(
418
+ pattern_name="patternName",
419
+ pattern_regex="patternRegex",
420
+
421
+ # the properties below are optional
422
+ keyword_regex="keywordRegex",
423
+ pattern_description="patternDescription"
424
+ ),
425
+ enforced_urls=["enforcedUrls"],
426
+ exempt_urls=["exemptUrls"]
427
+ )],
428
+
429
+ # the properties below are optional
430
+ global_confidence_level=123,
431
+ global_enforced_urls=["globalEnforcedUrls"],
432
+ global_exempt_urls=["globalExemptUrls"]
433
+ ),
434
+ tags=[CfnTag(
435
+ key="key",
436
+ value="value"
437
+ )]
438
+ )
439
+ '''
440
+
441
+ def __init__(
442
+ self,
443
+ scope: _constructs_77d1e7e8.Construct,
444
+ id: builtins.str,
445
+ *,
446
+ additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
447
+ customer_managed_key: typing.Optional[builtins.str] = None,
448
+ description: typing.Optional[builtins.str] = None,
449
+ display_name: typing.Optional[builtins.str] = None,
450
+ inline_redaction_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataProtectionSettings.InlineRedactionConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
451
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
452
+ ) -> None:
453
+ '''
454
+ :param scope: Scope in which this resource is defined.
455
+ :param id: Construct identifier for this resource (unique in its scope).
456
+ :param additional_encryption_context: The additional encryption context of the data protection settings.
457
+ :param customer_managed_key: The customer managed key used to encrypt sensitive information in the data protection settings.
458
+ :param description: The description of the data protection settings.
459
+ :param display_name: The display name of the data protection settings.
460
+ :param inline_redaction_configuration: The inline redaction configuration for the data protection settings.
461
+ :param tags: The tags of the data protection settings.
462
+ '''
463
+ if __debug__:
464
+ type_hints = typing.get_type_hints(_typecheckingstub__851565cba0af7c67b6951a864a7d6671af0039654a56671ed86d28919552d73e)
465
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
466
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
467
+ props = CfnDataProtectionSettingsProps(
468
+ additional_encryption_context=additional_encryption_context,
469
+ customer_managed_key=customer_managed_key,
470
+ description=description,
471
+ display_name=display_name,
472
+ inline_redaction_configuration=inline_redaction_configuration,
473
+ tags=tags,
474
+ )
475
+
476
+ jsii.create(self.__class__, self, [scope, id, props])
477
+
478
+ @jsii.member(jsii_name="inspect")
479
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
480
+ '''Examines the CloudFormation resource and discloses attributes.
481
+
482
+ :param inspector: tree inspector to collect and process attributes.
483
+ '''
484
+ if __debug__:
485
+ type_hints = typing.get_type_hints(_typecheckingstub__3afc83d9e43528cc13b5abd50d4826acf870643c24640ed022e2bd621b1dec5f)
486
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
487
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
488
+
489
+ @jsii.member(jsii_name="renderProperties")
490
+ def _render_properties(
491
+ self,
492
+ props: typing.Mapping[builtins.str, typing.Any],
493
+ ) -> typing.Mapping[builtins.str, typing.Any]:
494
+ '''
495
+ :param props: -
496
+ '''
497
+ if __debug__:
498
+ type_hints = typing.get_type_hints(_typecheckingstub__029b8eb91b5f7341d86b33581460523348eedfa665657364ac1293ba7954ad5e)
499
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
500
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
501
+
502
+ @jsii.python.classproperty
503
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
504
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
505
+ '''The CloudFormation resource type name for this resource class.'''
506
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
507
+
508
+ @builtins.property
509
+ @jsii.member(jsii_name="attrAssociatedPortalArns")
510
+ def attr_associated_portal_arns(self) -> typing.List[builtins.str]:
511
+ '''A list of web portal ARNs that this data protection settings resource is associated with.
512
+
513
+ :cloudformationAttribute: AssociatedPortalArns
514
+ '''
515
+ return typing.cast(typing.List[builtins.str], jsii.get(self, "attrAssociatedPortalArns"))
516
+
517
+ @builtins.property
518
+ @jsii.member(jsii_name="attrCreationDate")
519
+ def attr_creation_date(self) -> builtins.str:
520
+ '''The creation date timestamp of the data protection settings.
521
+
522
+ :cloudformationAttribute: CreationDate
523
+ '''
524
+ return typing.cast(builtins.str, jsii.get(self, "attrCreationDate"))
525
+
526
+ @builtins.property
527
+ @jsii.member(jsii_name="attrDataProtectionSettingsArn")
528
+ def attr_data_protection_settings_arn(self) -> builtins.str:
529
+ '''The ARN of the data protection settings resource.
530
+
531
+ :cloudformationAttribute: DataProtectionSettingsArn
532
+ '''
533
+ return typing.cast(builtins.str, jsii.get(self, "attrDataProtectionSettingsArn"))
534
+
535
+ @builtins.property
536
+ @jsii.member(jsii_name="cdkTagManager")
537
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
538
+ '''Tag Manager which manages the tags for this resource.'''
539
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
540
+
541
+ @builtins.property
542
+ @jsii.member(jsii_name="cfnProperties")
543
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
544
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
545
+
546
+ @builtins.property
547
+ @jsii.member(jsii_name="additionalEncryptionContext")
548
+ def additional_encryption_context(
549
+ self,
550
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
551
+ '''The additional encryption context of the data protection settings.'''
552
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], jsii.get(self, "additionalEncryptionContext"))
553
+
554
+ @additional_encryption_context.setter
555
+ def additional_encryption_context(
556
+ self,
557
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]],
558
+ ) -> None:
559
+ if __debug__:
560
+ type_hints = typing.get_type_hints(_typecheckingstub__3fb99479367371b2a6c52e976d47a87740ba2c6f65f4fcf0c11ef7787923a279)
561
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
562
+ jsii.set(self, "additionalEncryptionContext", value) # pyright: ignore[reportArgumentType]
563
+
564
+ @builtins.property
565
+ @jsii.member(jsii_name="customerManagedKey")
566
+ def customer_managed_key(self) -> typing.Optional[builtins.str]:
567
+ '''The customer managed key used to encrypt sensitive information in the data protection settings.'''
568
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "customerManagedKey"))
569
+
570
+ @customer_managed_key.setter
571
+ def customer_managed_key(self, value: typing.Optional[builtins.str]) -> None:
572
+ if __debug__:
573
+ type_hints = typing.get_type_hints(_typecheckingstub__b8794b55f834ff23fceefb4949f1c9ca0f88d0253e16fe02de823fd78e704f6a)
574
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
575
+ jsii.set(self, "customerManagedKey", value) # pyright: ignore[reportArgumentType]
576
+
577
+ @builtins.property
578
+ @jsii.member(jsii_name="description")
579
+ def description(self) -> typing.Optional[builtins.str]:
580
+ '''The description of the data protection settings.'''
581
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
582
+
583
+ @description.setter
584
+ def description(self, value: typing.Optional[builtins.str]) -> None:
585
+ if __debug__:
586
+ type_hints = typing.get_type_hints(_typecheckingstub__7e6f16d355910af3e0d25ae4869bb9019e44d7bb8454311659d9581fbff7ad5f)
587
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
588
+ jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
589
+
590
+ @builtins.property
591
+ @jsii.member(jsii_name="displayName")
592
+ def display_name(self) -> typing.Optional[builtins.str]:
593
+ '''The display name of the data protection settings.'''
594
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "displayName"))
595
+
596
+ @display_name.setter
597
+ def display_name(self, value: typing.Optional[builtins.str]) -> None:
598
+ if __debug__:
599
+ type_hints = typing.get_type_hints(_typecheckingstub__4bbbc104f6c3d94f0c1f63bd93d3ec5849325aa58b7e06f06e3c37f6b101823f)
600
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
601
+ jsii.set(self, "displayName", value) # pyright: ignore[reportArgumentType]
602
+
603
+ @builtins.property
604
+ @jsii.member(jsii_name="inlineRedactionConfiguration")
605
+ def inline_redaction_configuration(
606
+ self,
607
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProtectionSettings.InlineRedactionConfigurationProperty"]]:
608
+ '''The inline redaction configuration for the data protection settings.'''
609
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProtectionSettings.InlineRedactionConfigurationProperty"]], jsii.get(self, "inlineRedactionConfiguration"))
610
+
611
+ @inline_redaction_configuration.setter
612
+ def inline_redaction_configuration(
613
+ self,
614
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProtectionSettings.InlineRedactionConfigurationProperty"]],
615
+ ) -> None:
616
+ if __debug__:
617
+ type_hints = typing.get_type_hints(_typecheckingstub__a80d3be6cd6ed07f4c7a5f51acbace505548a335789227fb3e70735f66c484f6)
618
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
619
+ jsii.set(self, "inlineRedactionConfiguration", value) # pyright: ignore[reportArgumentType]
620
+
621
+ @builtins.property
622
+ @jsii.member(jsii_name="tags")
623
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
624
+ '''The tags of the data protection settings.'''
625
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
626
+
627
+ @tags.setter
628
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
629
+ if __debug__:
630
+ type_hints = typing.get_type_hints(_typecheckingstub__d82a664a0d9b6e2a4f59784e5f13b3f39994ef205d8513718b40fba2b6daf513)
631
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
632
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
633
+
634
+ @jsii.data_type(
635
+ jsii_type="aws-cdk-lib.aws_workspacesweb.CfnDataProtectionSettings.CustomPatternProperty",
636
+ jsii_struct_bases=[],
637
+ name_mapping={
638
+ "pattern_name": "patternName",
639
+ "pattern_regex": "patternRegex",
640
+ "keyword_regex": "keywordRegex",
641
+ "pattern_description": "patternDescription",
642
+ },
643
+ )
644
+ class CustomPatternProperty:
645
+ def __init__(
646
+ self,
647
+ *,
648
+ pattern_name: builtins.str,
649
+ pattern_regex: builtins.str,
650
+ keyword_regex: typing.Optional[builtins.str] = None,
651
+ pattern_description: typing.Optional[builtins.str] = None,
652
+ ) -> None:
653
+ '''The pattern configuration for redacting custom data types in session.
654
+
655
+ :param pattern_name: The pattern name for the custom pattern.
656
+ :param pattern_regex: The pattern regex for the customer pattern. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example: “/ab+c/gi”.
657
+ :param keyword_regex: The keyword regex for the customer pattern. After there is a match to the pattern regex, the keyword regex is used to search within the proximity of the match. If there is a keyword match, then the match is confirmed. If no keyword regex is provided, the pattern regex match will automatically be confirmed. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example, “/ab+c/gi”
658
+ :param pattern_description: The pattern description for the customer pattern.
659
+
660
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-custompattern.html
661
+ :exampleMetadata: fixture=_generated
662
+
663
+ Example::
664
+
665
+ # The code below shows an example of how to instantiate this type.
666
+ # The values are placeholders you should change.
667
+ from aws_cdk import aws_workspacesweb as workspacesweb
668
+
669
+ custom_pattern_property = workspacesweb.CfnDataProtectionSettings.CustomPatternProperty(
670
+ pattern_name="patternName",
671
+ pattern_regex="patternRegex",
672
+
673
+ # the properties below are optional
674
+ keyword_regex="keywordRegex",
675
+ pattern_description="patternDescription"
676
+ )
677
+ '''
678
+ if __debug__:
679
+ type_hints = typing.get_type_hints(_typecheckingstub__6114d751d2647346cb8b4fe7fc495c1b5e4ec1ffbe6904abf91d6b44adec7548)
680
+ check_type(argname="argument pattern_name", value=pattern_name, expected_type=type_hints["pattern_name"])
681
+ check_type(argname="argument pattern_regex", value=pattern_regex, expected_type=type_hints["pattern_regex"])
682
+ check_type(argname="argument keyword_regex", value=keyword_regex, expected_type=type_hints["keyword_regex"])
683
+ check_type(argname="argument pattern_description", value=pattern_description, expected_type=type_hints["pattern_description"])
684
+ self._values: typing.Dict[builtins.str, typing.Any] = {
685
+ "pattern_name": pattern_name,
686
+ "pattern_regex": pattern_regex,
687
+ }
688
+ if keyword_regex is not None:
689
+ self._values["keyword_regex"] = keyword_regex
690
+ if pattern_description is not None:
691
+ self._values["pattern_description"] = pattern_description
692
+
693
+ @builtins.property
694
+ def pattern_name(self) -> builtins.str:
695
+ '''The pattern name for the custom pattern.
696
+
697
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-custompattern.html#cfn-workspacesweb-dataprotectionsettings-custompattern-patternname
698
+ '''
699
+ result = self._values.get("pattern_name")
700
+ assert result is not None, "Required property 'pattern_name' is missing"
701
+ return typing.cast(builtins.str, result)
702
+
703
+ @builtins.property
704
+ def pattern_regex(self) -> builtins.str:
705
+ '''The pattern regex for the customer pattern.
706
+
707
+ The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example: “/ab+c/gi”.
708
+
709
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-custompattern.html#cfn-workspacesweb-dataprotectionsettings-custompattern-patternregex
710
+ '''
711
+ result = self._values.get("pattern_regex")
712
+ assert result is not None, "Required property 'pattern_regex' is missing"
713
+ return typing.cast(builtins.str, result)
714
+
715
+ @builtins.property
716
+ def keyword_regex(self) -> typing.Optional[builtins.str]:
717
+ '''The keyword regex for the customer pattern.
718
+
719
+ After there is a match to the pattern regex, the keyword regex is used to search within the proximity of the match. If there is a keyword match, then the match is confirmed. If no keyword regex is provided, the pattern regex match will automatically be confirmed. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example, “/ab+c/gi”
720
+
721
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-custompattern.html#cfn-workspacesweb-dataprotectionsettings-custompattern-keywordregex
722
+ '''
723
+ result = self._values.get("keyword_regex")
724
+ return typing.cast(typing.Optional[builtins.str], result)
725
+
726
+ @builtins.property
727
+ def pattern_description(self) -> typing.Optional[builtins.str]:
728
+ '''The pattern description for the customer pattern.
729
+
730
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-custompattern.html#cfn-workspacesweb-dataprotectionsettings-custompattern-patterndescription
731
+ '''
732
+ result = self._values.get("pattern_description")
733
+ return typing.cast(typing.Optional[builtins.str], result)
734
+
735
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
736
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
737
+
738
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
739
+ return not (rhs == self)
740
+
741
+ def __repr__(self) -> str:
742
+ return "CustomPatternProperty(%s)" % ", ".join(
743
+ k + "=" + repr(v) for k, v in self._values.items()
744
+ )
745
+
746
+ @jsii.data_type(
747
+ jsii_type="aws-cdk-lib.aws_workspacesweb.CfnDataProtectionSettings.InlineRedactionConfigurationProperty",
748
+ jsii_struct_bases=[],
749
+ name_mapping={
750
+ "inline_redaction_patterns": "inlineRedactionPatterns",
751
+ "global_confidence_level": "globalConfidenceLevel",
752
+ "global_enforced_urls": "globalEnforcedUrls",
753
+ "global_exempt_urls": "globalExemptUrls",
754
+ },
755
+ )
756
+ class InlineRedactionConfigurationProperty:
757
+ def __init__(
758
+ self,
759
+ *,
760
+ inline_redaction_patterns: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataProtectionSettings.InlineRedactionPatternProperty", typing.Dict[builtins.str, typing.Any]]]]],
761
+ global_confidence_level: typing.Optional[jsii.Number] = None,
762
+ global_enforced_urls: typing.Optional[typing.Sequence[builtins.str]] = None,
763
+ global_exempt_urls: typing.Optional[typing.Sequence[builtins.str]] = None,
764
+ ) -> None:
765
+ '''The configuration for in-session inline redaction.
766
+
767
+ :param inline_redaction_patterns: The inline redaction patterns to be enabled for the inline redaction configuration.
768
+ :param global_confidence_level: The global confidence level for the inline redaction configuration. This indicates the certainty of data type matches in the redaction process. Confidence level 3 means high confidence, and requires a formatted text pattern match in order for content to be redacted. Confidence level 2 means medium confidence, and redaction considers both formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1 means low confidence, and redaction is enforced for both formatted pattern + unformatted pattern without keyword. This is applied to patterns that do not have a pattern-level confidence level. Defaults to confidence level 2.
769
+ :param global_enforced_urls: The global enforced URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level enforced URL list.
770
+ :param global_exempt_urls: The global exempt URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level exempt URL list.
771
+
772
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-inlineredactionconfiguration.html
773
+ :exampleMetadata: fixture=_generated
774
+
775
+ Example::
776
+
777
+ # The code below shows an example of how to instantiate this type.
778
+ # The values are placeholders you should change.
779
+ from aws_cdk import aws_workspacesweb as workspacesweb
780
+
781
+ inline_redaction_configuration_property = workspacesweb.CfnDataProtectionSettings.InlineRedactionConfigurationProperty(
782
+ inline_redaction_patterns=[workspacesweb.CfnDataProtectionSettings.InlineRedactionPatternProperty(
783
+ redaction_place_holder=workspacesweb.CfnDataProtectionSettings.RedactionPlaceHolderProperty(
784
+ redaction_place_holder_type="redactionPlaceHolderType",
785
+
786
+ # the properties below are optional
787
+ redaction_place_holder_text="redactionPlaceHolderText"
788
+ ),
789
+
790
+ # the properties below are optional
791
+ built_in_pattern_id="builtInPatternId",
792
+ confidence_level=123,
793
+ custom_pattern=workspacesweb.CfnDataProtectionSettings.CustomPatternProperty(
794
+ pattern_name="patternName",
795
+ pattern_regex="patternRegex",
796
+
797
+ # the properties below are optional
798
+ keyword_regex="keywordRegex",
799
+ pattern_description="patternDescription"
800
+ ),
801
+ enforced_urls=["enforcedUrls"],
802
+ exempt_urls=["exemptUrls"]
803
+ )],
804
+
805
+ # the properties below are optional
806
+ global_confidence_level=123,
807
+ global_enforced_urls=["globalEnforcedUrls"],
808
+ global_exempt_urls=["globalExemptUrls"]
809
+ )
810
+ '''
811
+ if __debug__:
812
+ type_hints = typing.get_type_hints(_typecheckingstub__552bfd927d431d6795b0b5add23e48f1a25b4db6addb149426e81afc6686dc63)
813
+ check_type(argname="argument inline_redaction_patterns", value=inline_redaction_patterns, expected_type=type_hints["inline_redaction_patterns"])
814
+ check_type(argname="argument global_confidence_level", value=global_confidence_level, expected_type=type_hints["global_confidence_level"])
815
+ check_type(argname="argument global_enforced_urls", value=global_enforced_urls, expected_type=type_hints["global_enforced_urls"])
816
+ check_type(argname="argument global_exempt_urls", value=global_exempt_urls, expected_type=type_hints["global_exempt_urls"])
817
+ self._values: typing.Dict[builtins.str, typing.Any] = {
818
+ "inline_redaction_patterns": inline_redaction_patterns,
819
+ }
820
+ if global_confidence_level is not None:
821
+ self._values["global_confidence_level"] = global_confidence_level
822
+ if global_enforced_urls is not None:
823
+ self._values["global_enforced_urls"] = global_enforced_urls
824
+ if global_exempt_urls is not None:
825
+ self._values["global_exempt_urls"] = global_exempt_urls
826
+
827
+ @builtins.property
828
+ def inline_redaction_patterns(
829
+ self,
830
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDataProtectionSettings.InlineRedactionPatternProperty"]]]:
831
+ '''The inline redaction patterns to be enabled for the inline redaction configuration.
832
+
833
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-inlineredactionconfiguration.html#cfn-workspacesweb-dataprotectionsettings-inlineredactionconfiguration-inlineredactionpatterns
834
+ '''
835
+ result = self._values.get("inline_redaction_patterns")
836
+ assert result is not None, "Required property 'inline_redaction_patterns' is missing"
837
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDataProtectionSettings.InlineRedactionPatternProperty"]]], result)
838
+
839
+ @builtins.property
840
+ def global_confidence_level(self) -> typing.Optional[jsii.Number]:
841
+ '''The global confidence level for the inline redaction configuration.
842
+
843
+ This indicates the certainty of data type matches in the redaction process. Confidence level 3 means high confidence, and requires a formatted text pattern match in order for content to be redacted. Confidence level 2 means medium confidence, and redaction considers both formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1 means low confidence, and redaction is enforced for both formatted pattern + unformatted pattern without keyword. This is applied to patterns that do not have a pattern-level confidence level. Defaults to confidence level 2.
844
+
845
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-inlineredactionconfiguration.html#cfn-workspacesweb-dataprotectionsettings-inlineredactionconfiguration-globalconfidencelevel
846
+ '''
847
+ result = self._values.get("global_confidence_level")
848
+ return typing.cast(typing.Optional[jsii.Number], result)
849
+
850
+ @builtins.property
851
+ def global_enforced_urls(self) -> typing.Optional[typing.List[builtins.str]]:
852
+ '''The global enforced URL configuration for the inline redaction configuration.
853
+
854
+ This is applied to patterns that do not have a pattern-level enforced URL list.
855
+
856
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-inlineredactionconfiguration.html#cfn-workspacesweb-dataprotectionsettings-inlineredactionconfiguration-globalenforcedurls
857
+ '''
858
+ result = self._values.get("global_enforced_urls")
859
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
860
+
861
+ @builtins.property
862
+ def global_exempt_urls(self) -> typing.Optional[typing.List[builtins.str]]:
863
+ '''The global exempt URL configuration for the inline redaction configuration.
864
+
865
+ This is applied to patterns that do not have a pattern-level exempt URL list.
866
+
867
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-inlineredactionconfiguration.html#cfn-workspacesweb-dataprotectionsettings-inlineredactionconfiguration-globalexempturls
868
+ '''
869
+ result = self._values.get("global_exempt_urls")
870
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
871
+
872
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
873
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
874
+
875
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
876
+ return not (rhs == self)
877
+
878
+ def __repr__(self) -> str:
879
+ return "InlineRedactionConfigurationProperty(%s)" % ", ".join(
880
+ k + "=" + repr(v) for k, v in self._values.items()
881
+ )
882
+
883
+ @jsii.data_type(
884
+ jsii_type="aws-cdk-lib.aws_workspacesweb.CfnDataProtectionSettings.InlineRedactionPatternProperty",
885
+ jsii_struct_bases=[],
886
+ name_mapping={
887
+ "redaction_place_holder": "redactionPlaceHolder",
888
+ "built_in_pattern_id": "builtInPatternId",
889
+ "confidence_level": "confidenceLevel",
890
+ "custom_pattern": "customPattern",
891
+ "enforced_urls": "enforcedUrls",
892
+ "exempt_urls": "exemptUrls",
893
+ },
894
+ )
895
+ class InlineRedactionPatternProperty:
896
+ def __init__(
897
+ self,
898
+ *,
899
+ redaction_place_holder: typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataProtectionSettings.RedactionPlaceHolderProperty", typing.Dict[builtins.str, typing.Any]]],
900
+ built_in_pattern_id: typing.Optional[builtins.str] = None,
901
+ confidence_level: typing.Optional[jsii.Number] = None,
902
+ custom_pattern: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataProtectionSettings.CustomPatternProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
903
+ enforced_urls: typing.Optional[typing.Sequence[builtins.str]] = None,
904
+ exempt_urls: typing.Optional[typing.Sequence[builtins.str]] = None,
905
+ ) -> None:
906
+ '''The set of patterns that determine the data types redacted in session.
907
+
908
+ :param redaction_place_holder: The redaction placeholder that will replace the redacted text in session for the inline redaction pattern.
909
+ :param built_in_pattern_id: The built-in pattern from the list of preconfigured patterns. Either a customPattern or builtInPatternId is required. To view the entire list of data types and their corresponding built-in pattern IDs, see `Base inline redaction <https://docs.aws.amazon.com/workspaces-web/latest/adminguide/base-inline-redaction.html>`_ .
910
+ :param confidence_level: The confidence level for inline redaction pattern. This indicates the certainty of data type matches in the redaction process. Confidence level 3 means high confidence, and requires a formatted text pattern match in order for content to be redacted. Confidence level 2 means medium confidence, and redaction considers both formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1 means low confidence, and redaction is enforced for both formatted pattern + unformatted pattern without keyword. This overrides the global confidence level.
911
+ :param custom_pattern: The configuration for a custom pattern. Either a customPattern or builtInPatternId is required.
912
+ :param enforced_urls: The enforced URL configuration for the inline redaction pattern. This will override the global enforced URL configuration.
913
+ :param exempt_urls: The exempt URL configuration for the inline redaction pattern. This will override the global exempt URL configuration for the inline redaction pattern.
914
+
915
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-inlineredactionpattern.html
916
+ :exampleMetadata: fixture=_generated
917
+
918
+ Example::
919
+
920
+ # The code below shows an example of how to instantiate this type.
921
+ # The values are placeholders you should change.
922
+ from aws_cdk import aws_workspacesweb as workspacesweb
923
+
924
+ inline_redaction_pattern_property = workspacesweb.CfnDataProtectionSettings.InlineRedactionPatternProperty(
925
+ redaction_place_holder=workspacesweb.CfnDataProtectionSettings.RedactionPlaceHolderProperty(
926
+ redaction_place_holder_type="redactionPlaceHolderType",
927
+
928
+ # the properties below are optional
929
+ redaction_place_holder_text="redactionPlaceHolderText"
930
+ ),
931
+
932
+ # the properties below are optional
933
+ built_in_pattern_id="builtInPatternId",
934
+ confidence_level=123,
935
+ custom_pattern=workspacesweb.CfnDataProtectionSettings.CustomPatternProperty(
936
+ pattern_name="patternName",
937
+ pattern_regex="patternRegex",
938
+
939
+ # the properties below are optional
940
+ keyword_regex="keywordRegex",
941
+ pattern_description="patternDescription"
942
+ ),
943
+ enforced_urls=["enforcedUrls"],
944
+ exempt_urls=["exemptUrls"]
945
+ )
946
+ '''
947
+ if __debug__:
948
+ type_hints = typing.get_type_hints(_typecheckingstub__f28e305e326d3f4c9ac306ecac6e0d132c560d8cb368e6c1d255bce2256c5953)
949
+ check_type(argname="argument redaction_place_holder", value=redaction_place_holder, expected_type=type_hints["redaction_place_holder"])
950
+ check_type(argname="argument built_in_pattern_id", value=built_in_pattern_id, expected_type=type_hints["built_in_pattern_id"])
951
+ check_type(argname="argument confidence_level", value=confidence_level, expected_type=type_hints["confidence_level"])
952
+ check_type(argname="argument custom_pattern", value=custom_pattern, expected_type=type_hints["custom_pattern"])
953
+ check_type(argname="argument enforced_urls", value=enforced_urls, expected_type=type_hints["enforced_urls"])
954
+ check_type(argname="argument exempt_urls", value=exempt_urls, expected_type=type_hints["exempt_urls"])
955
+ self._values: typing.Dict[builtins.str, typing.Any] = {
956
+ "redaction_place_holder": redaction_place_holder,
957
+ }
958
+ if built_in_pattern_id is not None:
959
+ self._values["built_in_pattern_id"] = built_in_pattern_id
960
+ if confidence_level is not None:
961
+ self._values["confidence_level"] = confidence_level
962
+ if custom_pattern is not None:
963
+ self._values["custom_pattern"] = custom_pattern
964
+ if enforced_urls is not None:
965
+ self._values["enforced_urls"] = enforced_urls
966
+ if exempt_urls is not None:
967
+ self._values["exempt_urls"] = exempt_urls
968
+
969
+ @builtins.property
970
+ def redaction_place_holder(
971
+ self,
972
+ ) -> typing.Union[_IResolvable_da3f097b, "CfnDataProtectionSettings.RedactionPlaceHolderProperty"]:
973
+ '''The redaction placeholder that will replace the redacted text in session for the inline redaction pattern.
974
+
975
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-inlineredactionpattern.html#cfn-workspacesweb-dataprotectionsettings-inlineredactionpattern-redactionplaceholder
976
+ '''
977
+ result = self._values.get("redaction_place_holder")
978
+ assert result is not None, "Required property 'redaction_place_holder' is missing"
979
+ return typing.cast(typing.Union[_IResolvable_da3f097b, "CfnDataProtectionSettings.RedactionPlaceHolderProperty"], result)
980
+
981
+ @builtins.property
982
+ def built_in_pattern_id(self) -> typing.Optional[builtins.str]:
983
+ '''The built-in pattern from the list of preconfigured patterns.
984
+
985
+ Either a customPattern or builtInPatternId is required. To view the entire list of data types and their corresponding built-in pattern IDs, see `Base inline redaction <https://docs.aws.amazon.com/workspaces-web/latest/adminguide/base-inline-redaction.html>`_ .
986
+
987
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-inlineredactionpattern.html#cfn-workspacesweb-dataprotectionsettings-inlineredactionpattern-builtinpatternid
988
+ '''
989
+ result = self._values.get("built_in_pattern_id")
990
+ return typing.cast(typing.Optional[builtins.str], result)
991
+
992
+ @builtins.property
993
+ def confidence_level(self) -> typing.Optional[jsii.Number]:
994
+ '''The confidence level for inline redaction pattern.
995
+
996
+ This indicates the certainty of data type matches in the redaction process. Confidence level 3 means high confidence, and requires a formatted text pattern match in order for content to be redacted. Confidence level 2 means medium confidence, and redaction considers both formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1 means low confidence, and redaction is enforced for both formatted pattern + unformatted pattern without keyword. This overrides the global confidence level.
997
+
998
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-inlineredactionpattern.html#cfn-workspacesweb-dataprotectionsettings-inlineredactionpattern-confidencelevel
999
+ '''
1000
+ result = self._values.get("confidence_level")
1001
+ return typing.cast(typing.Optional[jsii.Number], result)
1002
+
1003
+ @builtins.property
1004
+ def custom_pattern(
1005
+ self,
1006
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProtectionSettings.CustomPatternProperty"]]:
1007
+ '''The configuration for a custom pattern.
1008
+
1009
+ Either a customPattern or builtInPatternId is required.
1010
+
1011
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-inlineredactionpattern.html#cfn-workspacesweb-dataprotectionsettings-inlineredactionpattern-custompattern
1012
+ '''
1013
+ result = self._values.get("custom_pattern")
1014
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProtectionSettings.CustomPatternProperty"]], result)
1015
+
1016
+ @builtins.property
1017
+ def enforced_urls(self) -> typing.Optional[typing.List[builtins.str]]:
1018
+ '''The enforced URL configuration for the inline redaction pattern.
1019
+
1020
+ This will override the global enforced URL configuration.
1021
+
1022
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-inlineredactionpattern.html#cfn-workspacesweb-dataprotectionsettings-inlineredactionpattern-enforcedurls
1023
+ '''
1024
+ result = self._values.get("enforced_urls")
1025
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
1026
+
1027
+ @builtins.property
1028
+ def exempt_urls(self) -> typing.Optional[typing.List[builtins.str]]:
1029
+ '''The exempt URL configuration for the inline redaction pattern.
1030
+
1031
+ This will override the global exempt URL configuration for the inline redaction pattern.
1032
+
1033
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-inlineredactionpattern.html#cfn-workspacesweb-dataprotectionsettings-inlineredactionpattern-exempturls
1034
+ '''
1035
+ result = self._values.get("exempt_urls")
1036
+ return typing.cast(typing.Optional[typing.List[builtins.str]], result)
1037
+
1038
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1039
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1040
+
1041
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1042
+ return not (rhs == self)
1043
+
1044
+ def __repr__(self) -> str:
1045
+ return "InlineRedactionPatternProperty(%s)" % ", ".join(
1046
+ k + "=" + repr(v) for k, v in self._values.items()
1047
+ )
1048
+
1049
+ @jsii.data_type(
1050
+ jsii_type="aws-cdk-lib.aws_workspacesweb.CfnDataProtectionSettings.RedactionPlaceHolderProperty",
1051
+ jsii_struct_bases=[],
1052
+ name_mapping={
1053
+ "redaction_place_holder_type": "redactionPlaceHolderType",
1054
+ "redaction_place_holder_text": "redactionPlaceHolderText",
1055
+ },
1056
+ )
1057
+ class RedactionPlaceHolderProperty:
1058
+ def __init__(
1059
+ self,
1060
+ *,
1061
+ redaction_place_holder_type: builtins.str,
1062
+ redaction_place_holder_text: typing.Optional[builtins.str] = None,
1063
+ ) -> None:
1064
+ '''The redaction placeholder that will replace the redacted text in session.
1065
+
1066
+ :param redaction_place_holder_type: The redaction placeholder type that will replace the redacted text in session.
1067
+ :param redaction_place_holder_text: The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.
1068
+
1069
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-redactionplaceholder.html
1070
+ :exampleMetadata: fixture=_generated
1071
+
1072
+ Example::
1073
+
1074
+ # The code below shows an example of how to instantiate this type.
1075
+ # The values are placeholders you should change.
1076
+ from aws_cdk import aws_workspacesweb as workspacesweb
1077
+
1078
+ redaction_place_holder_property = workspacesweb.CfnDataProtectionSettings.RedactionPlaceHolderProperty(
1079
+ redaction_place_holder_type="redactionPlaceHolderType",
1080
+
1081
+ # the properties below are optional
1082
+ redaction_place_holder_text="redactionPlaceHolderText"
1083
+ )
1084
+ '''
1085
+ if __debug__:
1086
+ type_hints = typing.get_type_hints(_typecheckingstub__93e3fa90dfeb5ed27de42632610186e3eec8e8ee42bce56d7f8dcb07d9c19f53)
1087
+ check_type(argname="argument redaction_place_holder_type", value=redaction_place_holder_type, expected_type=type_hints["redaction_place_holder_type"])
1088
+ check_type(argname="argument redaction_place_holder_text", value=redaction_place_holder_text, expected_type=type_hints["redaction_place_holder_text"])
1089
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1090
+ "redaction_place_holder_type": redaction_place_holder_type,
1091
+ }
1092
+ if redaction_place_holder_text is not None:
1093
+ self._values["redaction_place_holder_text"] = redaction_place_holder_text
1094
+
1095
+ @builtins.property
1096
+ def redaction_place_holder_type(self) -> builtins.str:
1097
+ '''The redaction placeholder type that will replace the redacted text in session.
1098
+
1099
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-redactionplaceholder.html#cfn-workspacesweb-dataprotectionsettings-redactionplaceholder-redactionplaceholdertype
1100
+ '''
1101
+ result = self._values.get("redaction_place_holder_type")
1102
+ assert result is not None, "Required property 'redaction_place_holder_type' is missing"
1103
+ return typing.cast(builtins.str, result)
1104
+
1105
+ @builtins.property
1106
+ def redaction_place_holder_text(self) -> typing.Optional[builtins.str]:
1107
+ '''The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.
1108
+
1109
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-dataprotectionsettings-redactionplaceholder.html#cfn-workspacesweb-dataprotectionsettings-redactionplaceholder-redactionplaceholdertext
1110
+ '''
1111
+ result = self._values.get("redaction_place_holder_text")
1112
+ return typing.cast(typing.Optional[builtins.str], result)
1113
+
1114
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1115
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1116
+
1117
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1118
+ return not (rhs == self)
1119
+
1120
+ def __repr__(self) -> str:
1121
+ return "RedactionPlaceHolderProperty(%s)" % ", ".join(
1122
+ k + "=" + repr(v) for k, v in self._values.items()
1123
+ )
1124
+
1125
+
1126
+ @jsii.data_type(
1127
+ jsii_type="aws-cdk-lib.aws_workspacesweb.CfnDataProtectionSettingsProps",
1128
+ jsii_struct_bases=[],
1129
+ name_mapping={
1130
+ "additional_encryption_context": "additionalEncryptionContext",
1131
+ "customer_managed_key": "customerManagedKey",
1132
+ "description": "description",
1133
+ "display_name": "displayName",
1134
+ "inline_redaction_configuration": "inlineRedactionConfiguration",
1135
+ "tags": "tags",
1136
+ },
1137
+ )
1138
+ class CfnDataProtectionSettingsProps:
1139
+ def __init__(
1140
+ self,
1141
+ *,
1142
+ additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
1143
+ customer_managed_key: typing.Optional[builtins.str] = None,
1144
+ description: typing.Optional[builtins.str] = None,
1145
+ display_name: typing.Optional[builtins.str] = None,
1146
+ inline_redaction_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataProtectionSettings.InlineRedactionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
1147
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
1148
+ ) -> None:
1149
+ '''Properties for defining a ``CfnDataProtectionSettings``.
1150
+
1151
+ :param additional_encryption_context: The additional encryption context of the data protection settings.
1152
+ :param customer_managed_key: The customer managed key used to encrypt sensitive information in the data protection settings.
1153
+ :param description: The description of the data protection settings.
1154
+ :param display_name: The display name of the data protection settings.
1155
+ :param inline_redaction_configuration: The inline redaction configuration for the data protection settings.
1156
+ :param tags: The tags of the data protection settings.
1157
+
1158
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html
1159
+ :exampleMetadata: fixture=_generated
1160
+
1161
+ Example::
1162
+
1163
+ # The code below shows an example of how to instantiate this type.
1164
+ # The values are placeholders you should change.
1165
+ from aws_cdk import aws_workspacesweb as workspacesweb
1166
+
1167
+ cfn_data_protection_settings_props = workspacesweb.CfnDataProtectionSettingsProps(
1168
+ additional_encryption_context={
1169
+ "additional_encryption_context_key": "additionalEncryptionContext"
1170
+ },
1171
+ customer_managed_key="customerManagedKey",
1172
+ description="description",
1173
+ display_name="displayName",
1174
+ inline_redaction_configuration=workspacesweb.CfnDataProtectionSettings.InlineRedactionConfigurationProperty(
1175
+ inline_redaction_patterns=[workspacesweb.CfnDataProtectionSettings.InlineRedactionPatternProperty(
1176
+ redaction_place_holder=workspacesweb.CfnDataProtectionSettings.RedactionPlaceHolderProperty(
1177
+ redaction_place_holder_type="redactionPlaceHolderType",
1178
+
1179
+ # the properties below are optional
1180
+ redaction_place_holder_text="redactionPlaceHolderText"
1181
+ ),
1182
+
1183
+ # the properties below are optional
1184
+ built_in_pattern_id="builtInPatternId",
1185
+ confidence_level=123,
1186
+ custom_pattern=workspacesweb.CfnDataProtectionSettings.CustomPatternProperty(
1187
+ pattern_name="patternName",
1188
+ pattern_regex="patternRegex",
1189
+
1190
+ # the properties below are optional
1191
+ keyword_regex="keywordRegex",
1192
+ pattern_description="patternDescription"
1193
+ ),
1194
+ enforced_urls=["enforcedUrls"],
1195
+ exempt_urls=["exemptUrls"]
1196
+ )],
1197
+
1198
+ # the properties below are optional
1199
+ global_confidence_level=123,
1200
+ global_enforced_urls=["globalEnforcedUrls"],
1201
+ global_exempt_urls=["globalExemptUrls"]
1202
+ ),
1203
+ tags=[CfnTag(
1204
+ key="key",
1205
+ value="value"
1206
+ )]
1207
+ )
1208
+ '''
1209
+ if __debug__:
1210
+ type_hints = typing.get_type_hints(_typecheckingstub__9bd186c92264d6b6332cc9ff86b6f530f1f3d30da79101020cac77924b86ea5a)
1211
+ check_type(argname="argument additional_encryption_context", value=additional_encryption_context, expected_type=type_hints["additional_encryption_context"])
1212
+ check_type(argname="argument customer_managed_key", value=customer_managed_key, expected_type=type_hints["customer_managed_key"])
1213
+ check_type(argname="argument description", value=description, expected_type=type_hints["description"])
1214
+ check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
1215
+ check_type(argname="argument inline_redaction_configuration", value=inline_redaction_configuration, expected_type=type_hints["inline_redaction_configuration"])
1216
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
1217
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1218
+ if additional_encryption_context is not None:
1219
+ self._values["additional_encryption_context"] = additional_encryption_context
1220
+ if customer_managed_key is not None:
1221
+ self._values["customer_managed_key"] = customer_managed_key
1222
+ if description is not None:
1223
+ self._values["description"] = description
1224
+ if display_name is not None:
1225
+ self._values["display_name"] = display_name
1226
+ if inline_redaction_configuration is not None:
1227
+ self._values["inline_redaction_configuration"] = inline_redaction_configuration
1228
+ if tags is not None:
1229
+ self._values["tags"] = tags
1230
+
1231
+ @builtins.property
1232
+ def additional_encryption_context(
1233
+ self,
1234
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]]:
1235
+ '''The additional encryption context of the data protection settings.
1236
+
1237
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html#cfn-workspacesweb-dataprotectionsettings-additionalencryptioncontext
1238
+ '''
1239
+ result = self._values.get("additional_encryption_context")
1240
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]], result)
1241
+
1242
+ @builtins.property
1243
+ def customer_managed_key(self) -> typing.Optional[builtins.str]:
1244
+ '''The customer managed key used to encrypt sensitive information in the data protection settings.
1245
+
1246
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html#cfn-workspacesweb-dataprotectionsettings-customermanagedkey
1247
+ '''
1248
+ result = self._values.get("customer_managed_key")
1249
+ return typing.cast(typing.Optional[builtins.str], result)
1250
+
1251
+ @builtins.property
1252
+ def description(self) -> typing.Optional[builtins.str]:
1253
+ '''The description of the data protection settings.
1254
+
1255
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html#cfn-workspacesweb-dataprotectionsettings-description
1256
+ '''
1257
+ result = self._values.get("description")
1258
+ return typing.cast(typing.Optional[builtins.str], result)
1259
+
1260
+ @builtins.property
1261
+ def display_name(self) -> typing.Optional[builtins.str]:
1262
+ '''The display name of the data protection settings.
1263
+
1264
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html#cfn-workspacesweb-dataprotectionsettings-displayname
1265
+ '''
1266
+ result = self._values.get("display_name")
1267
+ return typing.cast(typing.Optional[builtins.str], result)
1268
+
1269
+ @builtins.property
1270
+ def inline_redaction_configuration(
1271
+ self,
1272
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataProtectionSettings.InlineRedactionConfigurationProperty]]:
1273
+ '''The inline redaction configuration for the data protection settings.
1274
+
1275
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html#cfn-workspacesweb-dataprotectionsettings-inlineredactionconfiguration
1276
+ '''
1277
+ result = self._values.get("inline_redaction_configuration")
1278
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataProtectionSettings.InlineRedactionConfigurationProperty]], result)
1279
+
1280
+ @builtins.property
1281
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
1282
+ '''The tags of the data protection settings.
1283
+
1284
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-workspacesweb-dataprotectionsettings.html#cfn-workspacesweb-dataprotectionsettings-tags
1285
+ '''
1286
+ result = self._values.get("tags")
1287
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
1288
+
1289
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1290
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1291
+
1292
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1293
+ return not (rhs == self)
1294
+
1295
+ def __repr__(self) -> str:
1296
+ return "CfnDataProtectionSettingsProps(%s)" % ", ".join(
1297
+ k + "=" + repr(v) for k, v in self._values.items()
1298
+ )
1299
+
1300
+
380
1301
  @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
381
1302
  class CfnIdentityProvider(
382
1303
  _CfnResource_9df397a6,
@@ -1534,6 +2455,7 @@ class CfnPortal(
1534
2455
  authentication_type="authenticationType",
1535
2456
  browser_settings_arn="browserSettingsArn",
1536
2457
  customer_managed_key="customerManagedKey",
2458
+ data_protection_settings_arn="dataProtectionSettingsArn",
1537
2459
  display_name="displayName",
1538
2460
  instance_type="instanceType",
1539
2461
  ip_access_settings_arn="ipAccessSettingsArn",
@@ -1558,6 +2480,7 @@ class CfnPortal(
1558
2480
  authentication_type: typing.Optional[builtins.str] = None,
1559
2481
  browser_settings_arn: typing.Optional[builtins.str] = None,
1560
2482
  customer_managed_key: typing.Optional[builtins.str] = None,
2483
+ data_protection_settings_arn: typing.Optional[builtins.str] = None,
1561
2484
  display_name: typing.Optional[builtins.str] = None,
1562
2485
  instance_type: typing.Optional[builtins.str] = None,
1563
2486
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
@@ -1575,6 +2498,7 @@ class CfnPortal(
1575
2498
  :param authentication_type: The type of authentication integration points used when signing into the web portal. Defaults to ``Standard`` . ``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: 1. Create and deploy a CloudFormation template with a ``Standard`` portal with no ``IdentityProvider`` resource. 2. Retrieve the SP metadata using ``Fn:GetAtt`` , the WorkSpaces Secure Browser console, or by the calling the ``GetPortalServiceProviderMetadata`` API. 3. Submit the data to your IdP. 4. Add an ``IdentityProvider`` resource to your CloudFormation template. ``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.
1576
2499
  :param browser_settings_arn: The ARN of the browser settings that is associated with this web portal.
1577
2500
  :param customer_managed_key: The customer managed key of the web portal. *Pattern* : ``^arn:[\\w+=\\/,.@-]+:kms:[a-zA-Z0-9\\-]*:[a-zA-Z0-9]{1,12}:key\\/[a-zA-Z0-9-]+$``
2501
+ :param data_protection_settings_arn: The ARN of the data protection settings.
1578
2502
  :param display_name: The name of the web portal.
1579
2503
  :param instance_type: The type and resources of the underlying instance.
1580
2504
  :param ip_access_settings_arn: The ARN of the IP access settings that is associated with the web portal.
@@ -1594,6 +2518,7 @@ class CfnPortal(
1594
2518
  authentication_type=authentication_type,
1595
2519
  browser_settings_arn=browser_settings_arn,
1596
2520
  customer_managed_key=customer_managed_key,
2521
+ data_protection_settings_arn=data_protection_settings_arn,
1597
2522
  display_name=display_name,
1598
2523
  instance_type=instance_type,
1599
2524
  ip_access_settings_arn=ip_access_settings_arn,
@@ -1780,6 +2705,22 @@ class CfnPortal(
1780
2705
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
1781
2706
  jsii.set(self, "customerManagedKey", value) # pyright: ignore[reportArgumentType]
1782
2707
 
2708
+ @builtins.property
2709
+ @jsii.member(jsii_name="dataProtectionSettingsArn")
2710
+ def data_protection_settings_arn(self) -> typing.Optional[builtins.str]:
2711
+ '''The ARN of the data protection settings.'''
2712
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "dataProtectionSettingsArn"))
2713
+
2714
+ @data_protection_settings_arn.setter
2715
+ def data_protection_settings_arn(
2716
+ self,
2717
+ value: typing.Optional[builtins.str],
2718
+ ) -> None:
2719
+ if __debug__:
2720
+ type_hints = typing.get_type_hints(_typecheckingstub__dfde357dad34994249d2ece8cb99322e6a84a2af5763685459271a2545a12e6f)
2721
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2722
+ jsii.set(self, "dataProtectionSettingsArn", value) # pyright: ignore[reportArgumentType]
2723
+
1783
2724
  @builtins.property
1784
2725
  @jsii.member(jsii_name="displayName")
1785
2726
  def display_name(self) -> typing.Optional[builtins.str]:
@@ -1909,6 +2850,7 @@ class CfnPortal(
1909
2850
  "authentication_type": "authenticationType",
1910
2851
  "browser_settings_arn": "browserSettingsArn",
1911
2852
  "customer_managed_key": "customerManagedKey",
2853
+ "data_protection_settings_arn": "dataProtectionSettingsArn",
1912
2854
  "display_name": "displayName",
1913
2855
  "instance_type": "instanceType",
1914
2856
  "ip_access_settings_arn": "ipAccessSettingsArn",
@@ -1928,6 +2870,7 @@ class CfnPortalProps:
1928
2870
  authentication_type: typing.Optional[builtins.str] = None,
1929
2871
  browser_settings_arn: typing.Optional[builtins.str] = None,
1930
2872
  customer_managed_key: typing.Optional[builtins.str] = None,
2873
+ data_protection_settings_arn: typing.Optional[builtins.str] = None,
1931
2874
  display_name: typing.Optional[builtins.str] = None,
1932
2875
  instance_type: typing.Optional[builtins.str] = None,
1933
2876
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
@@ -1944,6 +2887,7 @@ class CfnPortalProps:
1944
2887
  :param authentication_type: The type of authentication integration points used when signing into the web portal. Defaults to ``Standard`` . ``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: 1. Create and deploy a CloudFormation template with a ``Standard`` portal with no ``IdentityProvider`` resource. 2. Retrieve the SP metadata using ``Fn:GetAtt`` , the WorkSpaces Secure Browser console, or by the calling the ``GetPortalServiceProviderMetadata`` API. 3. Submit the data to your IdP. 4. Add an ``IdentityProvider`` resource to your CloudFormation template. ``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.
1945
2888
  :param browser_settings_arn: The ARN of the browser settings that is associated with this web portal.
1946
2889
  :param customer_managed_key: The customer managed key of the web portal. *Pattern* : ``^arn:[\\w+=\\/,.@-]+:kms:[a-zA-Z0-9\\-]*:[a-zA-Z0-9]{1,12}:key\\/[a-zA-Z0-9-]+$``
2890
+ :param data_protection_settings_arn: The ARN of the data protection settings.
1947
2891
  :param display_name: The name of the web portal.
1948
2892
  :param instance_type: The type and resources of the underlying instance.
1949
2893
  :param ip_access_settings_arn: The ARN of the IP access settings that is associated with the web portal.
@@ -1970,6 +2914,7 @@ class CfnPortalProps:
1970
2914
  authentication_type="authenticationType",
1971
2915
  browser_settings_arn="browserSettingsArn",
1972
2916
  customer_managed_key="customerManagedKey",
2917
+ data_protection_settings_arn="dataProtectionSettingsArn",
1973
2918
  display_name="displayName",
1974
2919
  instance_type="instanceType",
1975
2920
  ip_access_settings_arn="ipAccessSettingsArn",
@@ -1990,6 +2935,7 @@ class CfnPortalProps:
1990
2935
  check_type(argname="argument authentication_type", value=authentication_type, expected_type=type_hints["authentication_type"])
1991
2936
  check_type(argname="argument browser_settings_arn", value=browser_settings_arn, expected_type=type_hints["browser_settings_arn"])
1992
2937
  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"])
1993
2939
  check_type(argname="argument display_name", value=display_name, expected_type=type_hints["display_name"])
1994
2940
  check_type(argname="argument instance_type", value=instance_type, expected_type=type_hints["instance_type"])
1995
2941
  check_type(argname="argument ip_access_settings_arn", value=ip_access_settings_arn, expected_type=type_hints["ip_access_settings_arn"])
@@ -2008,6 +2954,8 @@ class CfnPortalProps:
2008
2954
  self._values["browser_settings_arn"] = browser_settings_arn
2009
2955
  if customer_managed_key is not None:
2010
2956
  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
2011
2959
  if display_name is not None:
2012
2960
  self._values["display_name"] = display_name
2013
2961
  if instance_type is not None:
@@ -2076,6 +3024,15 @@ class CfnPortalProps:
2076
3024
  result = self._values.get("customer_managed_key")
2077
3025
  return typing.cast(typing.Optional[builtins.str], result)
2078
3026
 
3027
+ @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
3032
+ '''
3033
+ result = self._values.get("data_protection_settings_arn")
3034
+ return typing.cast(typing.Optional[builtins.str], result)
3035
+
2079
3036
  @builtins.property
2080
3037
  def display_name(self) -> typing.Optional[builtins.str]:
2081
3038
  '''The name of the web portal.
@@ -3405,6 +4362,8 @@ class CfnUserSettingsProps:
3405
4362
  __all__ = [
3406
4363
  "CfnBrowserSettings",
3407
4364
  "CfnBrowserSettingsProps",
4365
+ "CfnDataProtectionSettings",
4366
+ "CfnDataProtectionSettingsProps",
3408
4367
  "CfnIdentityProvider",
3409
4368
  "CfnIdentityProviderProps",
3410
4369
  "CfnIpAccessSettings",
@@ -3481,6 +4440,120 @@ def _typecheckingstub__f99c227d497f6d51d01cc19398b94784835fab55afca7c6488466bb1c
3481
4440
  """Type checking stubs"""
3482
4441
  pass
3483
4442
 
4443
+ def _typecheckingstub__851565cba0af7c67b6951a864a7d6671af0039654a56671ed86d28919552d73e(
4444
+ scope: _constructs_77d1e7e8.Construct,
4445
+ id: builtins.str,
4446
+ *,
4447
+ additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
4448
+ customer_managed_key: typing.Optional[builtins.str] = None,
4449
+ description: typing.Optional[builtins.str] = None,
4450
+ display_name: typing.Optional[builtins.str] = None,
4451
+ inline_redaction_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataProtectionSettings.InlineRedactionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4452
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4453
+ ) -> None:
4454
+ """Type checking stubs"""
4455
+ pass
4456
+
4457
+ def _typecheckingstub__3afc83d9e43528cc13b5abd50d4826acf870643c24640ed022e2bd621b1dec5f(
4458
+ inspector: _TreeInspector_488e0dd5,
4459
+ ) -> None:
4460
+ """Type checking stubs"""
4461
+ pass
4462
+
4463
+ def _typecheckingstub__029b8eb91b5f7341d86b33581460523348eedfa665657364ac1293ba7954ad5e(
4464
+ props: typing.Mapping[builtins.str, typing.Any],
4465
+ ) -> None:
4466
+ """Type checking stubs"""
4467
+ pass
4468
+
4469
+ def _typecheckingstub__3fb99479367371b2a6c52e976d47a87740ba2c6f65f4fcf0c11ef7787923a279(
4470
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]],
4471
+ ) -> None:
4472
+ """Type checking stubs"""
4473
+ pass
4474
+
4475
+ def _typecheckingstub__b8794b55f834ff23fceefb4949f1c9ca0f88d0253e16fe02de823fd78e704f6a(
4476
+ value: typing.Optional[builtins.str],
4477
+ ) -> None:
4478
+ """Type checking stubs"""
4479
+ pass
4480
+
4481
+ def _typecheckingstub__7e6f16d355910af3e0d25ae4869bb9019e44d7bb8454311659d9581fbff7ad5f(
4482
+ value: typing.Optional[builtins.str],
4483
+ ) -> None:
4484
+ """Type checking stubs"""
4485
+ pass
4486
+
4487
+ def _typecheckingstub__4bbbc104f6c3d94f0c1f63bd93d3ec5849325aa58b7e06f06e3c37f6b101823f(
4488
+ value: typing.Optional[builtins.str],
4489
+ ) -> None:
4490
+ """Type checking stubs"""
4491
+ pass
4492
+
4493
+ def _typecheckingstub__a80d3be6cd6ed07f4c7a5f51acbace505548a335789227fb3e70735f66c484f6(
4494
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataProtectionSettings.InlineRedactionConfigurationProperty]],
4495
+ ) -> None:
4496
+ """Type checking stubs"""
4497
+ pass
4498
+
4499
+ def _typecheckingstub__d82a664a0d9b6e2a4f59784e5f13b3f39994ef205d8513718b40fba2b6daf513(
4500
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
4501
+ ) -> None:
4502
+ """Type checking stubs"""
4503
+ pass
4504
+
4505
+ def _typecheckingstub__6114d751d2647346cb8b4fe7fc495c1b5e4ec1ffbe6904abf91d6b44adec7548(
4506
+ *,
4507
+ pattern_name: builtins.str,
4508
+ pattern_regex: builtins.str,
4509
+ keyword_regex: typing.Optional[builtins.str] = None,
4510
+ pattern_description: typing.Optional[builtins.str] = None,
4511
+ ) -> None:
4512
+ """Type checking stubs"""
4513
+ pass
4514
+
4515
+ def _typecheckingstub__552bfd927d431d6795b0b5add23e48f1a25b4db6addb149426e81afc6686dc63(
4516
+ *,
4517
+ inline_redaction_patterns: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataProtectionSettings.InlineRedactionPatternProperty, typing.Dict[builtins.str, typing.Any]]]]],
4518
+ global_confidence_level: typing.Optional[jsii.Number] = None,
4519
+ global_enforced_urls: typing.Optional[typing.Sequence[builtins.str]] = None,
4520
+ global_exempt_urls: typing.Optional[typing.Sequence[builtins.str]] = None,
4521
+ ) -> None:
4522
+ """Type checking stubs"""
4523
+ pass
4524
+
4525
+ def _typecheckingstub__f28e305e326d3f4c9ac306ecac6e0d132c560d8cb368e6c1d255bce2256c5953(
4526
+ *,
4527
+ redaction_place_holder: typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataProtectionSettings.RedactionPlaceHolderProperty, typing.Dict[builtins.str, typing.Any]]],
4528
+ built_in_pattern_id: typing.Optional[builtins.str] = None,
4529
+ confidence_level: typing.Optional[jsii.Number] = None,
4530
+ custom_pattern: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataProtectionSettings.CustomPatternProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4531
+ enforced_urls: typing.Optional[typing.Sequence[builtins.str]] = None,
4532
+ exempt_urls: typing.Optional[typing.Sequence[builtins.str]] = None,
4533
+ ) -> None:
4534
+ """Type checking stubs"""
4535
+ pass
4536
+
4537
+ def _typecheckingstub__93e3fa90dfeb5ed27de42632610186e3eec8e8ee42bce56d7f8dcb07d9c19f53(
4538
+ *,
4539
+ redaction_place_holder_type: builtins.str,
4540
+ redaction_place_holder_text: typing.Optional[builtins.str] = None,
4541
+ ) -> None:
4542
+ """Type checking stubs"""
4543
+ pass
4544
+
4545
+ def _typecheckingstub__9bd186c92264d6b6332cc9ff86b6f530f1f3d30da79101020cac77924b86ea5a(
4546
+ *,
4547
+ additional_encryption_context: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Mapping[builtins.str, builtins.str]]] = None,
4548
+ customer_managed_key: typing.Optional[builtins.str] = None,
4549
+ description: typing.Optional[builtins.str] = None,
4550
+ display_name: typing.Optional[builtins.str] = None,
4551
+ inline_redaction_configuration: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataProtectionSettings.InlineRedactionConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
4552
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4553
+ ) -> None:
4554
+ """Type checking stubs"""
4555
+ pass
4556
+
3484
4557
  def _typecheckingstub__439cd32d129b1f0a69c13fb5a494170084be122497b619a7175debec51c3635e(
3485
4558
  scope: _constructs_77d1e7e8.Construct,
3486
4559
  id: builtins.str,
@@ -3695,6 +4768,7 @@ def _typecheckingstub__239c61bc87a1a693f01a28198d2d3000f7ef790e9684279e807a890b0
3695
4768
  authentication_type: typing.Optional[builtins.str] = None,
3696
4769
  browser_settings_arn: typing.Optional[builtins.str] = None,
3697
4770
  customer_managed_key: typing.Optional[builtins.str] = None,
4771
+ data_protection_settings_arn: typing.Optional[builtins.str] = None,
3698
4772
  display_name: typing.Optional[builtins.str] = None,
3699
4773
  instance_type: typing.Optional[builtins.str] = None,
3700
4774
  ip_access_settings_arn: typing.Optional[builtins.str] = None,
@@ -3744,6 +4818,12 @@ def _typecheckingstub__319e821fe7e2a17153f7832a389ae0c48e1f0517453d29fa3e26fa732
3744
4818
  """Type checking stubs"""
3745
4819
  pass
3746
4820
 
4821
+ def _typecheckingstub__dfde357dad34994249d2ece8cb99322e6a84a2af5763685459271a2545a12e6f(
4822
+ value: typing.Optional[builtins.str],
4823
+ ) -> None:
4824
+ """Type checking stubs"""
4825
+ pass
4826
+
3747
4827
  def _typecheckingstub__cd1b9794e835c2ffeb3dc42a40224afa89d92cb7704c5a59dd75c1d3dd4ef495(
3748
4828
  value: typing.Optional[builtins.str],
3749
4829
  ) -> None:
@@ -3804,6 +4884,7 @@ def _typecheckingstub__aa147912cdfb0d9ea5356fccc59e7ae5b02c822d1e3f5ae2e4826ae39
3804
4884
  authentication_type: typing.Optional[builtins.str] = None,
3805
4885
  browser_settings_arn: typing.Optional[builtins.str] = None,
3806
4886
  customer_managed_key: typing.Optional[builtins.str] = None,
4887
+ data_protection_settings_arn: typing.Optional[builtins.str] = None,
3807
4888
  display_name: typing.Optional[builtins.str] = None,
3808
4889
  instance_type: typing.Optional[builtins.str] = None,
3809
4890
  ip_access_settings_arn: typing.Optional[builtins.str] = None,