Class: AWSCDK::QuickSight::CfnDashboard::ValidationStrategyProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.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.



31902
31903
31904
31905
# File 'quick_sight/cfn_dashboard.rb', line 31902

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.



31913
31914
31915
# File 'quick_sight/cfn_dashboard.rb', line 31913

def mode
  @mode
end

Class Method Details

.jsii_propertiesObject



31915
31916
31917
31918
31919
# File 'quick_sight/cfn_dashboard.rb', line 31915

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

Instance Method Details

#to_jsiiObject



31921
31922
31923
31924
31925
31926
31927
# File 'quick_sight/cfn_dashboard.rb', line 31921

def to_jsii
  result = {}
  result.merge!({
    "mode" => @mode,
  })
  result.compact
end