Class: AWSCDK::CleanRooms::CfnAnalysisTemplate::AnalysisParameterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CleanRooms::CfnAnalysisTemplate::AnalysisParameterProperty
- Defined in:
- clean_rooms/cfn_analysis_template.rb
Overview
Optional.
The member who can query can provide this placeholder for a literal data value in an analysis template.
Instance Attribute Summary collapse
-
#default_value ⇒ String?
readonly
Optional.
-
#name ⇒ String
readonly
The name of the parameter.
-
#type ⇒ String
readonly
The type of parameter.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, type:, default_value: nil) ⇒ AnalysisParameterProperty
constructor
A new instance of AnalysisParameterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, type:, default_value: nil) ⇒ AnalysisParameterProperty
Returns a new instance of AnalysisParameterProperty.
710 711 712 713 714 715 716 717 |
# File 'clean_rooms/cfn_analysis_template.rb', line 710 def initialize(name:, type:, default_value: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @default_value = default_value Jsii::Type.check_type(@default_value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "defaultValue") unless @default_value.nil? end |
Instance Attribute Details
#default_value ⇒ String? (readonly)
Optional.
The default value that is applied in the analysis template. The member who can query can override this value in the query editor.
737 738 739 |
# File 'clean_rooms/cfn_analysis_template.rb', line 737 def default_value @default_value end |
#name ⇒ String (readonly)
The name of the parameter.
The name must use only alphanumeric, underscore (_), or hyphen (-) characters but cannot start or end with a hyphen.
725 726 727 |
# File 'clean_rooms/cfn_analysis_template.rb', line 725 def name @name end |
#type ⇒ String (readonly)
The type of parameter.
730 731 732 |
# File 'clean_rooms/cfn_analysis_template.rb', line 730 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
739 740 741 742 743 744 745 |
# File 'clean_rooms/cfn_analysis_template.rb', line 739 def self.jsii_properties { :name => "name", :type => "type", :default_value => "defaultValue", } end |
Instance Method Details
#to_jsii ⇒ Object
747 748 749 750 751 752 753 754 755 |
# File 'clean_rooms/cfn_analysis_template.rb', line 747 def to_jsii result = {} result.merge!({ "name" => @name, "type" => @type, "defaultValue" => @default_value, }) result.compact end |