import { S3DestinationProps } from './streamprocessor/S3DestinationProps';
import { DataSharingPreferenceProps } from './streamprocessor/DataSharingPreferenceProps';
import { Value } from '../../cloudformation/Value';
import { FaceSearchSettingsProps } from './streamprocessor/FaceSearchSettingsProps';
import { ConnectedHomeSettingsProps } from './streamprocessor/ConnectedHomeSettingsProps';
import { NotificationChannelProps } from './streamprocessor/NotificationChannelProps';
import { KinesisVideoStreamProps } from './streamprocessor/KinesisVideoStreamProps';
import { BoundingBoxProps } from './streamprocessor/BoundingBoxProps';
import { KinesisDataStreamProps } from './streamprocessor/KinesisDataStreamProps';
import { Tag } from '../Tag';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type StreamProcessorAttributes = {
    Status: Attribute<string>;
    Arn: Attribute<string>;
    StatusMessage: Attribute<string>;
};
export type StreamProcessor = AwsResource<'AWS::Rekognition::StreamProcessor', StreamProcessorProperties, StreamProcessorAttributes>;
/**
  The <code>AWS::Rekognition::StreamProcessor</code> type creates a stream processor used to detect and recognize faces or to detect connected home labels in a streaming video. Amazon Rekognition Video is a consumer of live video from Amazon Kinesis Video Streams. There are two different settings for stream processors in Amazon Rekognition, one for detecting faces and one for connected home features.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rekognition-streamprocessor.html">the AWS Docs</a>
*/
export declare function streamProcessor(streamProcessorProps: StreamProcessorProperties): StreamProcessor;
/**
  The <code>AWS::Rekognition::StreamProcessor</code> type creates a stream processor used to detect and recognize faces or to detect connected home labels in a streaming video. Amazon Rekognition Video is a consumer of live video from Amazon Kinesis Video Streams. There are two different settings for stream processors in Amazon Rekognition, one for detecting faces and one for connected home features.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rekognition-streamprocessor.html">the AWS Docs</a>
*/
export interface StreamProcessorProperties {
    /** <code>S3Destination</code>  <a name="cfn-rekognition-streamprocessor-s3destination"></a>
  The Amazon S3 bucket location to which Amazon Rekognition publishes the detailed inference results of a video analysis operation. For more information, see the S3Destination section of <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StreamProcessorOutput">StreamProcessorOutput</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    s3Destination?: S3DestinationProps;
    /** <code>DataSharingPreference</code>  <a name="cfn-rekognition-streamprocessor-datasharingpreference"></a>
  Allows you to opt in or opt out to share data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams. For more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StreamProcessorDataSharingPreference">StreamProcessorDataSharingPreference</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    dataSharingPreference?: DataSharingPreferenceProps;
    /** <code>KmsKeyId</code>  <a name="cfn-rekognition-streamprocessor-kmskeyid"></a>
  The identifier for your Amazon Key Management Service key (Amazon KMS key). Optional parameter for connected home stream processors used to encrypt results and data published to your Amazon S3 bucket. For more information, see the KMSKeyId section of <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateStreamProcessor">CreateStreamProcessor</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    kmsKeyId?: Value<string>;
    /** <code>FaceSearchSettings</code>  <a name="cfn-rekognition-streamprocessor-facesearchsettings"></a>
  The input parameters used to recognize faces in a streaming video analyzed by an Amazon Rekognition stream processor. For more information regarding the contents of the parameters, see <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_FaceSearchSettings">FaceSearchSettings</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    faceSearchSettings?: FaceSearchSettingsProps;
    /** <code>PolygonRegionsOfInterest</code>  <a name="cfn-rekognition-streamprocessor-polygonregionsofinterest"></a>
  A set of ordered lists of <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_Point">Point</a> objects. Each entry of the set contains a polygon denoting a region of interest on the screen. Each polygon is an ordered list of <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_Point">Point</a> objects. For more information, see the Polygon field of <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_RegionOfInterest">RegionOfInterest</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    polygonRegionsOfInterest?: Value<any>;
    /** <code>RoleArn</code>  <a name="cfn-rekognition-streamprocessor-rolearn"></a>
  The ARN of the IAM role that allows access to the stream processor. The IAM role provides Rekognition read permissions to the Kinesis stream. It also provides write permissions to an Amazon S3 bucket and Amazon Simple Notification Service topic for a connected home stream processor. This is required for both face search and connected home stream processors. For information about constraints, see the RoleArn section of <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateStreamProcessor">CreateStreamProcessor</a>.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    roleArn: Value<string>;
    /** <code>Name</code>  <a name="cfn-rekognition-streamprocessor-name"></a>
  The Name attribute specifies the name of the stream processor and it must be within the constraints described in the Name section of <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StreamProcessor">StreamProcessor</a>. If you don’t specify a name, Amazon CloudFormation generates a unique ID and uses that ID for the stream processor name.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>128</code><br />
  
  Pattern: <code>[a-zA-Z0-9_.\-]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    name?: Value<string>;
    /** <code>ConnectedHomeSettings</code>  <a name="cfn-rekognition-streamprocessor-connectedhomesettings"></a>
  Connected home settings to use on a streaming video. You can use a stream processor for connected home features and select what you want the stream processor to detect, such as people or pets. When the stream processor has started, one notification is sent for each object class specified. For more information, see the ConnectedHome section of <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StreamProcessorSettings">StreamProcessorSettings</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    connectedHomeSettings?: ConnectedHomeSettingsProps;
    /** <code>NotificationChannel</code>  <a name="cfn-rekognition-streamprocessor-notificationchannel"></a>
  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 end-of-session notification with a summary when the stream processing session is complete. For more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StreamProcessorNotificationChannel">StreamProcessorNotificationChannel</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    notificationChannel?: NotificationChannelProps;
    /** <code>KinesisVideoStream</code>  <a name="cfn-rekognition-streamprocessor-kinesisvideostream"></a>
  The Kinesis video stream that provides the source of the streaming video for an Amazon Rekognition Video stream processor. For more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_KinesisVideoStream">KinesisVideoStream</a>.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    kinesisVideoStream: KinesisVideoStreamProps;
    /** <code>BoundingBoxRegionsOfInterest</code>  <a name="cfn-rekognition-streamprocessor-boundingboxregionsofinterest"></a>
  List of BoundingBox objects, each of which denotes a region of interest on screen. For more information, see the BoundingBox field of <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_RegionOfInterest">RegionOfInterest</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    boundingBoxRegionsOfInterest?: BoundingBoxProps[];
    /** <code>KinesisDataStream</code>  <a name="cfn-rekognition-streamprocessor-kinesisdatastream"></a>
  Amazon Rekognition’s Video Stream Processor takes a Kinesis video stream as input. This is the Amazon Kinesis Data Streams instance to which the Amazon Rekognition stream processor streams the analysis results. This must be created within the constraints specified at <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_KinesisDataStream">KinesisDataStream</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    kinesisDataStream?: KinesisDataStreamProps;
    /** <code>Tags</code>  <a name="cfn-rekognition-streamprocessor-tags"></a>
  A set of tags (key-value pairs) that you want to attach to the stream processor. For more information, see the Tags section of <a href="https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateStreamProcessor">CreateStreamProcessor</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    tags?: Tag[];
}
