Class: AWSCDK::QuickSight::CfnTemplate::AnchorDateConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::AnchorDateConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The date configuration of the filter.
Instance Attribute Summary collapse
-
#anchor_option ⇒ String?
readonly
The options for the date configuration.
-
#parameter_name ⇒ String?
readonly
The name of the parameter that is used for the anchor date configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(anchor_option: nil, parameter_name: nil) ⇒ AnchorDateConfigurationProperty
constructor
A new instance of AnchorDateConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(anchor_option: nil, parameter_name: nil) ⇒ AnchorDateConfigurationProperty
Returns a new instance of AnchorDateConfigurationProperty.
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_option ⇒ String? (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_name ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |