Class: AWSCDK::QuickSight::CfnTemplate::ValidationStrategyProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(mode:) ⇒ ValidationStrategyProperty

Returns a new instance of ValidationStrategyProperty.

Parameters:

  • mode (String)

    The mode of validation for the asset to be created or updated.



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

#modeString (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_propertiesObject



29159
29160
29161
29162
29163
# File 'quick_sight/cfn_template.rb', line 29159

def self.jsii_properties
  {
    :mode => "mode",
  }
end

Instance Method Details

#to_jsiiObject



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