Class: AWSCDK::IoTAnalytics::CfnPipeline::SelectAttributesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTAnalytics::CfnPipeline::SelectAttributesProperty
- Defined in:
- io_t_analytics/cfn_pipeline.rb
Overview
Creates a new message using only the specified attributes from the original message.
Instance Attribute Summary collapse
-
#_next ⇒ String?
readonly
The next activity in the pipeline.
-
#attributes ⇒ Array<String>
readonly
A list of the attributes to select from the message.
-
#name ⇒ String
readonly
The name of the 'selectAttributes' activity.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes:, name:, _next: nil) ⇒ SelectAttributesProperty
constructor
A new instance of SelectAttributesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(attributes:, name:, _next: nil) ⇒ SelectAttributesProperty
Returns a new instance of SelectAttributesProperty.
1212 1213 1214 1215 1216 1217 1218 1219 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1212 def initialize(attributes:, name:, _next: nil) @attributes = attributes Jsii::Type.check_type(@attributes, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "attributes") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @_next = _next Jsii::Type.check_type(@_next, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "next") unless @_next.nil? end |
Instance Attribute Details
#_next ⇒ String? (readonly)
The next activity in the pipeline.
1235 1236 1237 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1235 def _next @_next end |
#attributes ⇒ Array<String> (readonly)
A list of the attributes to select from the message.
1225 1226 1227 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1225 def attributes @attributes end |
#name ⇒ String (readonly)
The name of the 'selectAttributes' activity.
1230 1231 1232 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1230 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
1237 1238 1239 1240 1241 1242 1243 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1237 def self.jsii_properties { :attributes => "attributes", :name => "name", :_next => "next", } end |
Instance Method Details
#to_jsii ⇒ Object
1245 1246 1247 1248 1249 1250 1251 1252 1253 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1245 def to_jsii result = {} result.merge!({ "attributes" => @attributes, "name" => @name, "next" => @_next, }) result.compact end |