Class: AWSCDK::QuickSight::CfnDashboard::AnchorDateConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::AnchorDateConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.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.
991 992 993 994 995 996 |
# File 'quick_sight/cfn_dashboard.rb', line 991 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
1004 1005 1006 |
# File 'quick_sight/cfn_dashboard.rb', line 1004 def anchor_option @anchor_option end |
#parameter_name ⇒ String? (readonly)
The name of the parameter that is used for the anchor date configuration.
1009 1010 1011 |
# File 'quick_sight/cfn_dashboard.rb', line 1009 def parameter_name @parameter_name end |
Class Method Details
.jsii_properties ⇒ Object
1011 1012 1013 1014 1015 1016 |
# File 'quick_sight/cfn_dashboard.rb', line 1011 def self.jsii_properties { :anchor_option => "anchorOption", :parameter_name => "parameterName", } end |
Instance Method Details
#to_jsii ⇒ Object
1018 1019 1020 1021 1022 1023 1024 1025 |
# File 'quick_sight/cfn_dashboard.rb', line 1018 def to_jsii result = {} result.merge!({ "anchorOption" => @anchor_option, "parameterName" => @parameter_name, }) result.compact end |