Source code for troposphere.rekognition

# Copyright (c) 2012-2024, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***


from . import AWSObject, AWSProperty, PropsDictType, Tags
from .validators import boolean, double
from .validators.rekognition import validate_PolygonRegionsOfInterest


[docs]class Collection(AWSObject): """ `Collection <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rekognition-collection.html>`__ """ resource_type = "AWS::Rekognition::Collection" props: PropsDictType = { "CollectionId": (str, True), "Tags": (Tags, False), }
[docs]class Project(AWSObject): """ `Project <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rekognition-project.html>`__ """ resource_type = "AWS::Rekognition::Project" props: PropsDictType = { "ProjectName": (str, True), }
[docs]class BoundingBox(AWSProperty): """ `BoundingBox <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rekognition-streamprocessor-boundingbox.html>`__ """ props: PropsDictType = { "Height": (double, True), "Left": (double, True), "Top": (double, True), "Width": (double, True), }
[docs]class ConnectedHomeSettings(AWSProperty): """ `ConnectedHomeSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rekognition-streamprocessor-connectedhomesettings.html>`__ """ props: PropsDictType = { "Labels": ([str], True), "MinConfidence": (double, False), }
[docs]class DataSharingPreference(AWSProperty): """ `DataSharingPreference <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rekognition-streamprocessor-datasharingpreference.html>`__ """ props: PropsDictType = { "OptIn": (boolean, True), }
[docs]class FaceSearchSettings(AWSProperty): """ `FaceSearchSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rekognition-streamprocessor-facesearchsettings.html>`__ """ props: PropsDictType = { "CollectionId": (str, True), "FaceMatchThreshold": (double, False), }
[docs]class KinesisDataStream(AWSProperty): """ `KinesisDataStream <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rekognition-streamprocessor-kinesisdatastream.html>`__ """ props: PropsDictType = { "Arn": (str, True), }
[docs]class KinesisVideoStream(AWSProperty): """ `KinesisVideoStream <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rekognition-streamprocessor-kinesisvideostream.html>`__ """ props: PropsDictType = { "Arn": (str, True), }
[docs]class NotificationChannel(AWSProperty): """ `NotificationChannel <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rekognition-streamprocessor-notificationchannel.html>`__ """ props: PropsDictType = { "Arn": (str, True), }
[docs]class S3Destination(AWSProperty): """ `S3Destination <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rekognition-streamprocessor-s3destination.html>`__ """ props: PropsDictType = { "BucketName": (str, True), "ObjectKeyPrefix": (str, False), }
[docs]class StreamProcessor(AWSObject): """ `StreamProcessor <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rekognition-streamprocessor.html>`__ """ resource_type = "AWS::Rekognition::StreamProcessor" props: PropsDictType = { "BoundingBoxRegionsOfInterest": ([BoundingBox], False), "ConnectedHomeSettings": (ConnectedHomeSettings, False), "DataSharingPreference": (DataSharingPreference, False), "FaceSearchSettings": (FaceSearchSettings, False), "KinesisDataStream": (KinesisDataStream, False), "KinesisVideoStream": (KinesisVideoStream, True), "KmsKeyId": (str, False), "Name": (str, False), "NotificationChannel": (NotificationChannel, False), "PolygonRegionsOfInterest": (validate_PolygonRegionsOfInterest, False), "RoleArn": (str, True), "S3Destination": (S3Destination, False), "Tags": (Tags, False), }