Class: AWSCDK::QuickSight::CfnTemplate::AnchorDateConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_template.rb

Overview

The date configuration of the filter.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(anchor_option: nil, parameter_name: nil) ⇒ AnchorDateConfigurationProperty

Returns a new instance of AnchorDateConfigurationProperty.

Parameters:

  • anchor_option (String, nil) (defaults to: nil)

    The options for the date configuration. Choose one of the options below:.

  • parameter_name (String, nil) (defaults to: nil)

    The name of the parameter that is used for the anchor date configuration.



867
868
869
870
871
872
# File 'quick_sight/cfn_template.rb', line 867

def initialize(anchor_option: nil, parameter_name: nil)
  @anchor_option = anchor_option
  Jsii::Type.check_type(@anchor_option, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "anchorOption") unless @anchor_option.nil?
  @parameter_name = parameter_name
  Jsii::Type.check_type(@parameter_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameterName") unless @parameter_name.nil?
end

Instance Attribute Details

#anchor_optionString? (readonly)

The options for the date configuration. Choose one of the options below:.

  • NOW


880
881
882
# File 'quick_sight/cfn_template.rb', line 880

def anchor_option
  @anchor_option
end

#parameter_nameString? (readonly)

The name of the parameter that is used for the anchor date configuration.



885
886
887
# File 'quick_sight/cfn_template.rb', line 885

def parameter_name
  @parameter_name
end

Class Method Details

.jsii_propertiesObject



887
888
889
890
891
892
# File 'quick_sight/cfn_template.rb', line 887

def self.jsii_properties
  {
    :anchor_option => "anchorOption",
    :parameter_name => "parameterName",
  }
end

Instance Method Details

#to_jsiiObject



894
895
896
897
898
899
900
901
# File 'quick_sight/cfn_template.rb', line 894

def to_jsii
  result = {}
  result.merge!({
    "anchorOption" => @anchor_option,
    "parameterName" => @parameter_name,
  })
  result.compact
end