Class: AWSCDK::IoTAnalytics::CfnPipeline::RemoveAttributesProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTAnalytics::CfnPipeline::RemoveAttributesProperty
- Defined in:
- io_t_analytics/cfn_pipeline.rb
Overview
An activity that removes attributes from a message.
Instance Attribute Summary collapse
-
#_next ⇒ String?
readonly
The next activity in the pipeline.
-
#attributes ⇒ Array<String>
readonly
A list of 1-50 attributes to remove from the message.
-
#name ⇒ String
readonly
The name of the 'removeAttributes' activity.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes:, name:, _next: nil) ⇒ RemoveAttributesProperty
constructor
A new instance of RemoveAttributesProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(attributes:, name:, _next: nil) ⇒ RemoveAttributesProperty
Returns a new instance of RemoveAttributesProperty.
1159 1160 1161 1162 1163 1164 1165 1166 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1159 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.
1182 1183 1184 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1182 def _next @_next end |
#attributes ⇒ Array<String> (readonly)
A list of 1-50 attributes to remove from the message.
1172 1173 1174 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1172 def attributes @attributes end |
#name ⇒ String (readonly)
The name of the 'removeAttributes' activity.
1177 1178 1179 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1177 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
1184 1185 1186 1187 1188 1189 1190 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1184 def self.jsii_properties { :attributes => "attributes", :name => "name", :_next => "next", } end |
Instance Method Details
#to_jsii ⇒ Object
1192 1193 1194 1195 1196 1197 1198 1199 1200 |
# File 'io_t_analytics/cfn_pipeline.rb', line 1192 def to_jsii result = {} result.merge!({ "attributes" => @attributes, "name" => @name, "next" => @_next, }) result.compact end |