Class: AWSCDK::IoTAnalytics::CfnPipeline::ChannelProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_analytics/cfn_pipeline.rb

Overview

Determines the source of the messages to be processed.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channel_name:, name:, _next: nil) ⇒ ChannelProperty

Returns a new instance of ChannelProperty.

Parameters:

  • channel_name (String)

    The name of the channel from which the messages are processed.

  • name (String)

    The name of the 'channel' activity.

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

    The next activity in the pipeline.



736
737
738
739
740
741
742
743
# File 'io_t_analytics/cfn_pipeline.rb', line 736

def initialize(channel_name:, name:, _next: nil)
  @channel_name = channel_name
  Jsii::Type.check_type(@channel_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "channelName")
  @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

#_nextString? (readonly)

The next activity in the pipeline.



759
760
761
# File 'io_t_analytics/cfn_pipeline.rb', line 759

def _next
  @_next
end

#channel_nameString (readonly)

The name of the channel from which the messages are processed.



749
750
751
# File 'io_t_analytics/cfn_pipeline.rb', line 749

def channel_name
  @channel_name
end

#nameString (readonly)

The name of the 'channel' activity.



754
755
756
# File 'io_t_analytics/cfn_pipeline.rb', line 754

def name
  @name
end

Class Method Details

.jsii_propertiesObject



761
762
763
764
765
766
767
# File 'io_t_analytics/cfn_pipeline.rb', line 761

def self.jsii_properties
  {
    :channel_name => "channelName",
    :name => "name",
    :_next => "next",
  }
end

Instance Method Details

#to_jsiiObject



769
770
771
772
773
774
775
776
777
# File 'io_t_analytics/cfn_pipeline.rb', line 769

def to_jsii
  result = {}
  result.merge!({
    "channelName" => @channel_name,
    "name" => @name,
    "next" => @_next,
  })
  result.compact
end