Class: AWSCDK::QuickSight::CfnTemplate::ValidationStrategyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::ValidationStrategyProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects.
When you set this value to LENIENT , validation is skipped for specific errors.
Instance Attribute Summary collapse
-
#mode ⇒ String
readonly
The mode of validation for the asset to be created or updated.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(mode:) ⇒ ValidationStrategyProperty
constructor
A new instance of ValidationStrategyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(mode:) ⇒ ValidationStrategyProperty
Returns a new instance of ValidationStrategyProperty.
29146 29147 29148 29149 |
# File 'quick_sight/cfn_template.rb', line 29146 def initialize(mode:) @mode = mode Jsii::Type.check_type(@mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mode") end |
Instance Attribute Details
#mode ⇒ String (readonly)
The mode of validation for the asset to be created or updated.
When you set this value to STRICT , strict validation for every error is enforced. When you set this value to LENIENT , validation is skipped for specific UI errors.
29157 29158 29159 |
# File 'quick_sight/cfn_template.rb', line 29157 def mode @mode end |
Class Method Details
.jsii_properties ⇒ Object
29159 29160 29161 29162 29163 |
# File 'quick_sight/cfn_template.rb', line 29159 def self.jsii_properties { :mode => "mode", } end |
Instance Method Details
#to_jsii ⇒ Object
29165 29166 29167 29168 29169 29170 29171 |
# File 'quick_sight/cfn_template.rb', line 29165 def to_jsii result = {} result.merge!({ "mode" => @mode, }) result.compact end |