Class: AWSCDK::QuickSight::CfnAnalysis::ValidationStrategyProperty

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



30864
30865
30866
30867
# File 'quick_sight/cfn_analysis.rb', line 30864

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.



30875
30876
30877
# File 'quick_sight/cfn_analysis.rb', line 30875

def mode
  @mode
end

Class Method Details

.jsii_propertiesObject



30877
30878
30879
30880
30881
# File 'quick_sight/cfn_analysis.rb', line 30877

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

Instance Method Details

#to_jsiiObject



30883
30884
30885
30886
30887
30888
30889
# File 'quick_sight/cfn_analysis.rb', line 30883

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