Class: AWSCDK::Rekognition::CfnStreamProcessor::NotificationChannelProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Rekognition::CfnStreamProcessor::NotificationChannelProperty
- 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
-
#arn ⇒ String
readonly
The ARN of the SNS topic that receives notifications.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn:) ⇒ NotificationChannelProperty
constructor
A new instance of NotificationChannelProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn:) ⇒ NotificationChannelProperty
Returns a new instance of NotificationChannelProperty.
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
#arn ⇒ String (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_properties ⇒ Object
991 992 993 994 995 |
# File 'rekognition/cfn_stream_processor.rb', line 991 def self.jsii_properties { :arn => "arn", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |