Class: AWSCDK::Rekognition::CfnStreamProcessor::S3DestinationProperty

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

Overview

The Amazon S3 bucket location to which Amazon Rekognition publishes the detailed inference results of a video analysis operation.

These results include the name of the stream processor resource, the session ID of the stream processing session, and labeled timestamps and bounding boxes for detected labels. For more information, see S3Destination .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bucket_name:, object_key_prefix: nil) ⇒ S3DestinationProperty

Returns a new instance of S3DestinationProperty.

Parameters:

  • bucket_name (String)

    Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name of a stream processor's exports.

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

    Describes the destination Amazon Simple Storage Service (Amazon S3) object keys of a stream processor's exports.



1063
1064
1065
1066
1067
1068
# File 'rekognition/cfn_stream_processor.rb', line 1063

def initialize(bucket_name:, object_key_prefix: nil)
  @bucket_name = bucket_name
  Jsii::Type.check_type(@bucket_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketName")
  @object_key_prefix = object_key_prefix
  Jsii::Type.check_type(@object_key_prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "objectKeyPrefix") unless @object_key_prefix.nil?
end

Instance Attribute Details

#bucket_nameString (readonly)

Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name of a stream processor's exports.



1074
1075
1076
# File 'rekognition/cfn_stream_processor.rb', line 1074

def bucket_name
  @bucket_name
end

#object_key_prefixString? (readonly)

Describes the destination Amazon Simple Storage Service (Amazon S3) object keys of a stream processor's exports.



1079
1080
1081
# File 'rekognition/cfn_stream_processor.rb', line 1079

def object_key_prefix
  @object_key_prefix
end

Class Method Details

.jsii_propertiesObject



1081
1082
1083
1084
1085
1086
# File 'rekognition/cfn_stream_processor.rb', line 1081

def self.jsii_properties
  {
    :bucket_name => "bucketName",
    :object_key_prefix => "objectKeyPrefix",
  }
end

Instance Method Details

#to_jsiiObject



1088
1089
1090
1091
1092
1093
1094
1095
# File 'rekognition/cfn_stream_processor.rb', line 1088

def to_jsii
  result = {}
  result.merge!({
    "bucketName" => @bucket_name,
    "objectKeyPrefix" => @object_key_prefix,
  })
  result.compact
end