Class: AWSCDK::WorkspacesWeb::CfnDataProtectionSettings::InlineRedactionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WorkspacesWeb::CfnDataProtectionSettings::InlineRedactionConfigurationProperty
- Defined in:
- workspaces_web/cfn_data_protection_settings.rb
Overview
The configuration for in-session inline redaction.
Instance Attribute Summary collapse
-
#global_confidence_level ⇒ Numeric?
readonly
The global confidence level for the inline redaction configuration.
-
#global_enforced_urls ⇒ Array<String>?
readonly
The global enforced URL configuration for the inline redaction configuration.
-
#global_exempt_urls ⇒ Array<String>?
readonly
The global exempt URL configuration for the inline redaction configuration.
-
#inline_redaction_patterns ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::WorkspacesWeb::CfnDataProtectionSettings::InlineRedactionPatternProperty>
readonly
The inline redaction patterns to be enabled for the inline redaction configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(inline_redaction_patterns:, global_confidence_level: nil, global_enforced_urls: nil, global_exempt_urls: nil) ⇒ InlineRedactionConfigurationProperty
constructor
A new instance of InlineRedactionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(inline_redaction_patterns:, global_confidence_level: nil, global_enforced_urls: nil, global_exempt_urls: nil) ⇒ InlineRedactionConfigurationProperty
Returns a new instance of InlineRedactionConfigurationProperty.
669 670 671 672 673 674 675 676 677 678 |
# File 'workspaces_web/cfn_data_protection_settings.rb', line 669 def initialize(inline_redaction_patterns:, global_confidence_level: nil, global_enforced_urls: nil, global_exempt_urls: nil) @inline_redaction_patterns = inline_redaction_patterns Jsii::Type.check_type(@inline_redaction_patterns, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfd29ya3NwYWNlc3dlYi5DZm5EYXRhUHJvdGVjdGlvblNldHRpbmdzLklubGluZVJlZGFjdGlvblBhdHRlcm5Qcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "inlineRedactionPatterns") @global_confidence_level = global_confidence_level Jsii::Type.check_type(@global_confidence_level, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "globalConfidenceLevel") unless @global_confidence_level.nil? @global_enforced_urls = global_enforced_urls Jsii::Type.check_type(@global_enforced_urls, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "globalEnforcedUrls") unless @global_enforced_urls.nil? @global_exempt_urls = global_exempt_urls Jsii::Type.check_type(@global_exempt_urls, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "globalExemptUrls") unless @global_exempt_urls.nil? end |
Instance Attribute Details
#global_confidence_level ⇒ Numeric? (readonly)
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.
691 692 693 |
# File 'workspaces_web/cfn_data_protection_settings.rb', line 691 def global_confidence_level @global_confidence_level end |
#global_enforced_urls ⇒ Array<String>? (readonly)
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.
698 699 700 |
# File 'workspaces_web/cfn_data_protection_settings.rb', line 698 def global_enforced_urls @global_enforced_urls end |
#global_exempt_urls ⇒ Array<String>? (readonly)
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.
705 706 707 |
# File 'workspaces_web/cfn_data_protection_settings.rb', line 705 def global_exempt_urls @global_exempt_urls end |
#inline_redaction_patterns ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::WorkspacesWeb::CfnDataProtectionSettings::InlineRedactionPatternProperty> (readonly)
The inline redaction patterns to be enabled for the inline redaction configuration.
684 685 686 |
# File 'workspaces_web/cfn_data_protection_settings.rb', line 684 def inline_redaction_patterns @inline_redaction_patterns end |
Class Method Details
.jsii_properties ⇒ Object
707 708 709 710 711 712 713 714 |
# File 'workspaces_web/cfn_data_protection_settings.rb', line 707 def self.jsii_properties { :inline_redaction_patterns => "inlineRedactionPatterns", :global_confidence_level => "globalConfidenceLevel", :global_enforced_urls => "globalEnforcedUrls", :global_exempt_urls => "globalExemptUrls", } end |
Instance Method Details
#to_jsii ⇒ Object
716 717 718 719 720 721 722 723 724 725 |
# File 'workspaces_web/cfn_data_protection_settings.rb', line 716 def to_jsii result = {} result.merge!({ "inlineRedactionPatterns" => @inline_redaction_patterns, "globalConfidenceLevel" => @global_confidence_level, "globalEnforcedUrls" => @global_enforced_urls, "globalExemptUrls" => @global_exempt_urls, }) result.compact end |