Class: AWSCDK::QuickSight::CfnAnalysis::AnchorDateConfigurationProperty

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



1145
1146
1147
1148
1149
1150
# File 'quick_sight/cfn_analysis.rb', line 1145

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


1158
1159
1160
# File 'quick_sight/cfn_analysis.rb', line 1158

def anchor_option
  @anchor_option
end

#parameter_nameString? (readonly)

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



1163
1164
1165
# File 'quick_sight/cfn_analysis.rb', line 1163

def parameter_name
  @parameter_name
end

Class Method Details

.jsii_propertiesObject



1165
1166
1167
1168
1169
1170
# File 'quick_sight/cfn_analysis.rb', line 1165

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

Instance Method Details

#to_jsiiObject



1172
1173
1174
1175
1176
1177
1178
1179
# File 'quick_sight/cfn_analysis.rb', line 1172

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