Class: AWSCDK::CleanRooms::CfnAnalysisTemplate::AnalysisParameterProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, type:, default_value: nil) ⇒ AnalysisParameterProperty

Returns a new instance of AnalysisParameterProperty.

Parameters:

  • name (String)

    The name of the parameter.

  • type (String)

    The type of parameter.

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

    Optional.



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_valueString? (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

#nameString (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

#typeString (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_propertiesObject



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_jsiiObject



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