Class: AWSCDK::Rekognition::CfnStreamProcessor::KinesisVideoStreamProperty

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

Overview

The Kinesis video stream that provides the source of the streaming video for an Amazon Rekognition Video stream processor.

For more information, see KinesisVideoStream .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn:) ⇒ KinesisVideoStreamProperty

Returns a new instance of KinesisVideoStreamProperty.

Parameters:

  • arn (String)

    ARN of the Kinesis video stream stream that streams the source video.



945
946
947
948
# File 'rekognition/cfn_stream_processor.rb', line 945

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

Instance Attribute Details

#arnString (readonly)

ARN of the Kinesis video stream stream that streams the source video.



954
955
956
# File 'rekognition/cfn_stream_processor.rb', line 954

def arn
  @arn
end

Class Method Details

.jsii_propertiesObject



956
957
958
959
960
# File 'rekognition/cfn_stream_processor.rb', line 956

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

Instance Method Details

#to_jsiiObject



962
963
964
965
966
967
968
# File 'rekognition/cfn_stream_processor.rb', line 962

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