Class: AWSCDK::IoTAnalytics::CfnDatastore::ColumnProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTAnalytics::CfnDatastore::ColumnProperty
- Defined in:
- io_t_analytics/cfn_datastore.rb
Overview
Contains information about a column that stores your data.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
The name of the column.
-
#type ⇒ String
readonly
The type of data.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, type:) ⇒ ColumnProperty
constructor
A new instance of ColumnProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, type:) ⇒ ColumnProperty
Returns a new instance of ColumnProperty.
602 603 604 605 606 607 |
# File 'io_t_analytics/cfn_datastore.rb', line 602 def initialize(name:, type:) @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") end |
Instance Attribute Details
#name ⇒ String (readonly)
The name of the column.
613 614 615 |
# File 'io_t_analytics/cfn_datastore.rb', line 613 def name @name end |
#type ⇒ String (readonly)
The type of data.
For more information about the supported data types, see Common data types in the AWS Glue Developer Guide .
620 621 622 |
# File 'io_t_analytics/cfn_datastore.rb', line 620 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
622 623 624 625 626 627 |
# File 'io_t_analytics/cfn_datastore.rb', line 622 def self.jsii_properties { :name => "name", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
629 630 631 632 633 634 635 636 |
# File 'io_t_analytics/cfn_datastore.rb', line 629 def to_jsii result = {} result.merge!({ "name" => @name, "type" => @type, }) result.compact end |