Class: AWSCDK::QuickSight::CfnTemplate::ColumnSchemaProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_template.rb

Overview

The column schema.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data_type: nil, geographic_role: nil, name: nil) ⇒ ColumnSchemaProperty

Returns a new instance of ColumnSchemaProperty.

Parameters:

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

    The data type of the column schema.

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

    The geographic role of the column schema.

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

    The name of the column schema.



3960
3961
3962
3963
3964
3965
3966
3967
# File 'quick_sight/cfn_template.rb', line 3960

def initialize(data_type: nil, geographic_role: nil, name: nil)
  @data_type = data_type
  Jsii::Type.check_type(@data_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "dataType") unless @data_type.nil?
  @geographic_role = geographic_role
  Jsii::Type.check_type(@geographic_role, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "geographicRole") unless @geographic_role.nil?
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil?
end

Instance Attribute Details

#data_typeString? (readonly)

The data type of the column schema.



3973
3974
3975
# File 'quick_sight/cfn_template.rb', line 3973

def data_type
  @data_type
end

#geographic_roleString? (readonly)

The geographic role of the column schema.



3978
3979
3980
# File 'quick_sight/cfn_template.rb', line 3978

def geographic_role
  @geographic_role
end

#nameString? (readonly)

The name of the column schema.



3983
3984
3985
# File 'quick_sight/cfn_template.rb', line 3983

def name
  @name
end

Class Method Details

.jsii_propertiesObject



3985
3986
3987
3988
3989
3990
3991
# File 'quick_sight/cfn_template.rb', line 3985

def self.jsii_properties
  {
    :data_type => "dataType",
    :geographic_role => "geographicRole",
    :name => "name",
  }
end

Instance Method Details

#to_jsiiObject



3993
3994
3995
3996
3997
3998
3999
4000
4001
# File 'quick_sight/cfn_template.rb', line 3993

def to_jsii
  result = {}
  result.merge!({
    "dataType" => @data_type,
    "geographicRole" => @geographic_role,
    "name" => @name,
  })
  result.compact
end