Class: AWSCDK::Rekognition::CfnStreamProcessor::NotificationChannelProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
rekognition/cfn_stream_processor.rb

Overview

The Amazon Simple Notification Service topic to which Amazon Rekognition publishes the object detection results and completion status of a video analysis operation.

Amazon Rekognition publishes a notification the first time an object of interest or a person is detected in the video stream. Amazon Rekognition also publishes an an end-of-session notification with a summary when the stream processing session is complete. For more information, see StreamProcessorNotificationChannel .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn:) ⇒ NotificationChannelProperty

Returns a new instance of NotificationChannelProperty.

Parameters:

  • arn (String)

    The ARN of the SNS topic that receives notifications.



980
981
982
983
# File 'rekognition/cfn_stream_processor.rb', line 980

def initialize(arn:)
  @arn = arn
  Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn")
end

Instance Attribute Details

#arnString (readonly)

The ARN of the SNS topic that receives notifications.



989
990
991
# File 'rekognition/cfn_stream_processor.rb', line 989

def arn
  @arn
end

Class Method Details

.jsii_propertiesObject



991
992
993
994
995
# File 'rekognition/cfn_stream_processor.rb', line 991

def self.jsii_properties
  {
    :arn => "arn",
  }
end

Instance Method Details

#to_jsiiObject



997
998
999
1000
1001
1002
1003
# File 'rekognition/cfn_stream_processor.rb', line 997

def to_jsii
  result = {}
  result.merge!({
    "arn" => @arn,
  })
  result.compact
end