Class: AWSCDK::WorkspacesWeb::CfnDataProtectionSettings::RedactionPlaceHolderProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WorkspacesWeb::CfnDataProtectionSettings::RedactionPlaceHolderProperty
- Defined in:
- workspaces_web/cfn_data_protection_settings.rb
Overview
The redaction placeholder that will replace the redacted text in session.
Instance Attribute Summary collapse
-
#redaction_place_holder_text ⇒ String?
readonly
The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.
-
#redaction_place_holder_type ⇒ String
readonly
The redaction placeholder type that will replace the redacted text in session.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(redaction_place_holder_type:, redaction_place_holder_text: nil) ⇒ RedactionPlaceHolderProperty
constructor
A new instance of RedactionPlaceHolderProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(redaction_place_holder_type:, redaction_place_holder_text: nil) ⇒ RedactionPlaceHolderProperty
Returns a new instance of RedactionPlaceHolderProperty.
829 830 831 832 833 834 |
# File 'workspaces_web/cfn_data_protection_settings.rb', line 829 def initialize(redaction_place_holder_type:, redaction_place_holder_text: nil) @redaction_place_holder_type = redaction_place_holder_type Jsii::Type.check_type(@redaction_place_holder_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "redactionPlaceHolderType") @redaction_place_holder_text = redaction_place_holder_text Jsii::Type.check_type(@redaction_place_holder_text, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "redactionPlaceHolderText") unless @redaction_place_holder_text.nil? end |
Instance Attribute Details
#redaction_place_holder_text ⇒ String? (readonly)
The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.
845 846 847 |
# File 'workspaces_web/cfn_data_protection_settings.rb', line 845 def redaction_place_holder_text @redaction_place_holder_text end |
#redaction_place_holder_type ⇒ String (readonly)
The redaction placeholder type that will replace the redacted text in session.
840 841 842 |
# File 'workspaces_web/cfn_data_protection_settings.rb', line 840 def redaction_place_holder_type @redaction_place_holder_type end |
Class Method Details
.jsii_properties ⇒ Object
847 848 849 850 851 852 |
# File 'workspaces_web/cfn_data_protection_settings.rb', line 847 def self.jsii_properties { :redaction_place_holder_type => "redactionPlaceHolderType", :redaction_place_holder_text => "redactionPlaceHolderText", } end |
Instance Method Details
#to_jsii ⇒ Object
854 855 856 857 858 859 860 861 |
# File 'workspaces_web/cfn_data_protection_settings.rb', line 854 def to_jsii result = {} result.merge!({ "redactionPlaceHolderType" => @redaction_place_holder_type, "redactionPlaceHolderText" => @redaction_place_holder_text, }) result.compact end |