aws-native.rekognition.StreamProcessor
The AWS::Rekognition::StreamProcessor type is used to create an Amazon Rekognition StreamProcessor that you can use to analyze streaming videos.
Create StreamProcessor Resource
new StreamProcessor(name: string, args: StreamProcessorArgs, opts?: CustomResourceOptions);
@overload
def StreamProcessor(resource_name: str,
opts: Optional[ResourceOptions] = None,
bounding_box_regions_of_interest: Optional[Sequence[StreamProcessorBoundingBoxArgs]] = None,
connected_home_settings: Optional[StreamProcessorConnectedHomeSettingsArgs] = None,
data_sharing_preference: Optional[StreamProcessorDataSharingPreferenceArgs] = None,
face_search_settings: Optional[StreamProcessorFaceSearchSettingsArgs] = None,
kinesis_data_stream: Optional[StreamProcessorKinesisDataStreamArgs] = None,
kinesis_video_stream: Optional[StreamProcessorKinesisVideoStreamArgs] = None,
kms_key_id: Optional[str] = None,
name: Optional[str] = None,
notification_channel: Optional[StreamProcessorNotificationChannelArgs] = None,
polygon_regions_of_interest: Optional[Sequence[Sequence[StreamProcessorPointArgs]]] = None,
role_arn: Optional[str] = None,
s3_destination: Optional[StreamProcessorS3DestinationArgs] = None,
tags: Optional[Sequence[StreamProcessorTagArgs]] = None)
@overload
def StreamProcessor(resource_name: str,
args: StreamProcessorArgs,
opts: Optional[ResourceOptions] = None)
func NewStreamProcessor(ctx *Context, name string, args StreamProcessorArgs, opts ...ResourceOption) (*StreamProcessor, error)
public StreamProcessor(string name, StreamProcessorArgs args, CustomResourceOptions? opts = null)
public StreamProcessor(String name, StreamProcessorArgs args)
public StreamProcessor(String name, StreamProcessorArgs args, CustomResourceOptions options)
type: aws-native:rekognition:StreamProcessor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StreamProcessorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args StreamProcessorArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StreamProcessorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StreamProcessorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StreamProcessorArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
StreamProcessor Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The StreamProcessor resource accepts the following input properties:
- Kinesis
Video Pulumi.Stream Aws Native. Rekognition. Inputs. Stream Processor Kinesis Video Stream Args - Role
Arn string ARN of the IAM role that allows access to the stream processor, and provides Rekognition read permissions for KVS stream and write permissions to S3 bucket and SNS topic.
- Bounding
Box List<Pulumi.Regions Of Interest Aws Native. Rekognition. Inputs. Stream Processor Bounding Box Args> The BoundingBoxRegionsOfInterest specifies an array of bounding boxes of interest in the video frames to analyze, as part of connected home feature. If an object is partially in a region of interest, Rekognition will tag it as detected if the overlap of the object with the region-of-interest is greater than 20%.
- Connected
Home Pulumi.Settings Aws Native. Rekognition. Inputs. Stream Processor Connected Home Settings Args - Data
Sharing Pulumi.Preference Aws Native. Rekognition. Inputs. Stream Processor Data Sharing Preference Args - Face
Search Pulumi.Settings Aws Native. Rekognition. Inputs. Stream Processor Face Search Settings Args - Kinesis
Data Pulumi.Stream Aws Native. Rekognition. Inputs. Stream Processor Kinesis Data Stream Args - Kms
Key stringId The KMS key that is used by Rekognition to encrypt any intermediate customer metadata and store in the customer's S3 bucket.
- Name string
Name of the stream processor. It's an identifier you assign to the stream processor. You can use it to manage the stream processor.
- Notification
Channel Pulumi.Aws Native. Rekognition. Inputs. Stream Processor Notification Channel Args - Polygon
Regions List<ImmutableOf Interest Array<Pulumi. Aws Native. Rekognition. Inputs. Stream Processor Point Args>> The PolygonRegionsOfInterest specifies a set of polygon areas of interest in the video frames to analyze, as part of connected home feature. Each polygon is in turn, an ordered list of Point
- S3Destination
Pulumi.
Aws Native. Rekognition. Inputs. Stream Processor S3Destination Args - List<Pulumi.
Aws Native. Rekognition. Inputs. Stream Processor Tag Args> An array of key-value pairs to apply to this resource.
- Kinesis
Video StreamStream Processor Kinesis Video Stream Args - Role
Arn string ARN of the IAM role that allows access to the stream processor, and provides Rekognition read permissions for KVS stream and write permissions to S3 bucket and SNS topic.
- Bounding
Box []StreamRegions Of Interest Processor Bounding Box Args The BoundingBoxRegionsOfInterest specifies an array of bounding boxes of interest in the video frames to analyze, as part of connected home feature. If an object is partially in a region of interest, Rekognition will tag it as detected if the overlap of the object with the region-of-interest is greater than 20%.
- Connected
Home StreamSettings Processor Connected Home Settings Args - Data
Sharing StreamPreference Processor Data Sharing Preference Args - Face
Search StreamSettings Processor Face Search Settings Args - Kinesis
Data StreamStream Processor Kinesis Data Stream Args - Kms
Key stringId The KMS key that is used by Rekognition to encrypt any intermediate customer metadata and store in the customer's S3 bucket.
- Name string
Name of the stream processor. It's an identifier you assign to the stream processor. You can use it to manage the stream processor.
- Notification
Channel StreamProcessor Notification Channel Args - Polygon
Regions [][]StreamOf Interest Processor Point Args The PolygonRegionsOfInterest specifies a set of polygon areas of interest in the video frames to analyze, as part of connected home feature. Each polygon is in turn, an ordered list of Point
- S3Destination
Stream
Processor S3Destination Args - []Stream
Processor Tag Args An array of key-value pairs to apply to this resource.
- kinesis
Video StreamStream Processor Kinesis Video Stream Args - role
Arn String ARN of the IAM role that allows access to the stream processor, and provides Rekognition read permissions for KVS stream and write permissions to S3 bucket and SNS topic.
- bounding
Box List<StreamRegions Of Interest Processor Bounding Box Args> The BoundingBoxRegionsOfInterest specifies an array of bounding boxes of interest in the video frames to analyze, as part of connected home feature. If an object is partially in a region of interest, Rekognition will tag it as detected if the overlap of the object with the region-of-interest is greater than 20%.
- connected
Home StreamSettings Processor Connected Home Settings Args - data
Sharing StreamPreference Processor Data Sharing Preference Args - face
Search StreamSettings Processor Face Search Settings Args - kinesis
Data StreamStream Processor Kinesis Data Stream Args - kms
Key StringId The KMS key that is used by Rekognition to encrypt any intermediate customer metadata and store in the customer's S3 bucket.
- name String
Name of the stream processor. It's an identifier you assign to the stream processor. You can use it to manage the stream processor.
- notification
Channel StreamProcessor Notification Channel Args - polygon
Regions List<List<StreamOf Interest Processor Point Args>> The PolygonRegionsOfInterest specifies a set of polygon areas of interest in the video frames to analyze, as part of connected home feature. Each polygon is in turn, an ordered list of Point
- s3Destination
Stream
Processor S3Destination Args - List<Stream
Processor Tag Args> An array of key-value pairs to apply to this resource.
- kinesis
Video StreamStream Processor Kinesis Video Stream Args - role
Arn string ARN of the IAM role that allows access to the stream processor, and provides Rekognition read permissions for KVS stream and write permissions to S3 bucket and SNS topic.
- bounding
Box StreamRegions Of Interest Processor Bounding Box Args[] The BoundingBoxRegionsOfInterest specifies an array of bounding boxes of interest in the video frames to analyze, as part of connected home feature. If an object is partially in a region of interest, Rekognition will tag it as detected if the overlap of the object with the region-of-interest is greater than 20%.
- connected
Home StreamSettings Processor Connected Home Settings Args - data
Sharing StreamPreference Processor Data Sharing Preference Args - face
Search StreamSettings Processor Face Search Settings Args - kinesis
Data StreamStream Processor Kinesis Data Stream Args - kms
Key stringId The KMS key that is used by Rekognition to encrypt any intermediate customer metadata and store in the customer's S3 bucket.
- name string
Name of the stream processor. It's an identifier you assign to the stream processor. You can use it to manage the stream processor.
- notification
Channel StreamProcessor Notification Channel Args - polygon
Regions StreamOf Interest Processor Point Args[][] The PolygonRegionsOfInterest specifies a set of polygon areas of interest in the video frames to analyze, as part of connected home feature. Each polygon is in turn, an ordered list of Point
- s3Destination
Stream
Processor S3Destination Args - Stream
Processor Tag Args[] An array of key-value pairs to apply to this resource.
- kinesis_
video_ Streamstream Processor Kinesis Video Stream Args - role_
arn str ARN of the IAM role that allows access to the stream processor, and provides Rekognition read permissions for KVS stream and write permissions to S3 bucket and SNS topic.
- bounding_
box_ Sequence[Streamregions_ of_ interest Processor Bounding Box Args] The BoundingBoxRegionsOfInterest specifies an array of bounding boxes of interest in the video frames to analyze, as part of connected home feature. If an object is partially in a region of interest, Rekognition will tag it as detected if the overlap of the object with the region-of-interest is greater than 20%.
- connected_
home_ Streamsettings Processor Connected Home Settings Args - data_
sharing_ Streampreference Processor Data Sharing Preference Args - face_
search_ Streamsettings Processor Face Search Settings Args - kinesis_
data_ Streamstream Processor Kinesis Data Stream Args - kms_
key_ strid The KMS key that is used by Rekognition to encrypt any intermediate customer metadata and store in the customer's S3 bucket.
- name str
Name of the stream processor. It's an identifier you assign to the stream processor. You can use it to manage the stream processor.
- notification_
channel StreamProcessor Notification Channel Args - polygon_
regions_ Sequence[Sequence[Streamof_ interest Processor Point Args]] The PolygonRegionsOfInterest specifies a set of polygon areas of interest in the video frames to analyze, as part of connected home feature. Each polygon is in turn, an ordered list of Point
- s3_
destination StreamProcessor S3Destination Args - Sequence[Stream
Processor Tag Args] An array of key-value pairs to apply to this resource.
- kinesis
Video Property MapStream - role
Arn String ARN of the IAM role that allows access to the stream processor, and provides Rekognition read permissions for KVS stream and write permissions to S3 bucket and SNS topic.
- bounding
Box List<Property Map>Regions Of Interest The BoundingBoxRegionsOfInterest specifies an array of bounding boxes of interest in the video frames to analyze, as part of connected home feature. If an object is partially in a region of interest, Rekognition will tag it as detected if the overlap of the object with the region-of-interest is greater than 20%.
- connected
Home Property MapSettings - data
Sharing Property MapPreference - face
Search Property MapSettings - kinesis
Data Property MapStream - kms
Key StringId The KMS key that is used by Rekognition to encrypt any intermediate customer metadata and store in the customer's S3 bucket.
- name String
Name of the stream processor. It's an identifier you assign to the stream processor. You can use it to manage the stream processor.
- notification
Channel Property Map - polygon
Regions List<List<Property Map>>Of Interest The PolygonRegionsOfInterest specifies a set of polygon areas of interest in the video frames to analyze, as part of connected home feature. Each polygon is in turn, an ordered list of Point
- s3Destination Property Map
- List<Property Map>
An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the StreamProcessor resource produces the following output properties:
- Arn string
- Id string
The provider-assigned unique ID for this managed resource.
- Status string
Current status of the stream processor.
- Status
Message string Detailed status message about the stream processor.
- Arn string
- Id string
The provider-assigned unique ID for this managed resource.
- Status string
Current status of the stream processor.
- Status
Message string Detailed status message about the stream processor.
- arn String
- id String
The provider-assigned unique ID for this managed resource.
- status String
Current status of the stream processor.
- status
Message String Detailed status message about the stream processor.
- arn string
- id string
The provider-assigned unique ID for this managed resource.
- status string
Current status of the stream processor.
- status
Message string Detailed status message about the stream processor.
- arn str
- id str
The provider-assigned unique ID for this managed resource.
- status str
Current status of the stream processor.
- status_
message str Detailed status message about the stream processor.
- arn String
- id String
The provider-assigned unique ID for this managed resource.
- status String
Current status of the stream processor.
- status
Message String Detailed status message about the stream processor.
Supporting Types
StreamProcessorBoundingBox
StreamProcessorConnectedHomeSettings
- Labels List<string>
- Min
Confidence double Minimum object class match confidence score that must be met to return a result for a recognized object.
- Labels []string
- Min
Confidence float64 Minimum object class match confidence score that must be met to return a result for a recognized object.
- labels List<String>
- min
Confidence Double Minimum object class match confidence score that must be met to return a result for a recognized object.
- labels string[]
- min
Confidence number Minimum object class match confidence score that must be met to return a result for a recognized object.
- labels Sequence[str]
- min_
confidence float Minimum object class match confidence score that must be met to return a result for a recognized object.
- labels List<String>
- min
Confidence Number Minimum object class match confidence score that must be met to return a result for a recognized object.
StreamProcessorDataSharingPreference
- Opt
In bool Flag to enable data-sharing
- Opt
In bool Flag to enable data-sharing
- opt
In Boolean Flag to enable data-sharing
- opt
In boolean Flag to enable data-sharing
- opt_
in bool Flag to enable data-sharing
- opt
In Boolean Flag to enable data-sharing
StreamProcessorFaceSearchSettings
- Collection
Id string The ID of a collection that contains faces that you want to search for.
- Face
Match doubleThreshold Minimum face match confidence score percentage that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted.
- Collection
Id string The ID of a collection that contains faces that you want to search for.
- Face
Match float64Threshold Minimum face match confidence score percentage that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted.
- collection
Id String The ID of a collection that contains faces that you want to search for.
- face
Match DoubleThreshold Minimum face match confidence score percentage that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted.
- collection
Id string The ID of a collection that contains faces that you want to search for.
- face
Match numberThreshold Minimum face match confidence score percentage that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted.
- collection_
id str The ID of a collection that contains faces that you want to search for.
- face_
match_ floatthreshold Minimum face match confidence score percentage that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted.
- collection
Id String The ID of a collection that contains faces that you want to search for.
- face
Match NumberThreshold Minimum face match confidence score percentage that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted.
StreamProcessorKinesisDataStream
- Arn string
ARN of the Kinesis Data Stream stream.
- Arn string
ARN of the Kinesis Data Stream stream.
- arn String
ARN of the Kinesis Data Stream stream.
- arn string
ARN of the Kinesis Data Stream stream.
- arn str
ARN of the Kinesis Data Stream stream.
- arn String
ARN of the Kinesis Data Stream stream.
StreamProcessorKinesisVideoStream
- Arn string
ARN of the Kinesis Video Stream that streams the source video.
- Arn string
ARN of the Kinesis Video Stream that streams the source video.
- arn String
ARN of the Kinesis Video Stream that streams the source video.
- arn string
ARN of the Kinesis Video Stream that streams the source video.
- arn str
ARN of the Kinesis Video Stream that streams the source video.
- arn String
ARN of the Kinesis Video Stream that streams the source video.
StreamProcessorNotificationChannel
- Arn string
ARN of the SNS topic.
- Arn string
ARN of the SNS topic.
- arn String
ARN of the SNS topic.
- arn string
ARN of the SNS topic.
- arn str
ARN of the SNS topic.
- arn String
ARN of the SNS topic.
StreamProcessorPoint
StreamProcessorS3Destination
- Bucket
Name string Name of the S3 bucket.
- Object
Key stringPrefix The object key prefix path where the results will be stored. Default is no prefix path
- Bucket
Name string Name of the S3 bucket.
- Object
Key stringPrefix The object key prefix path where the results will be stored. Default is no prefix path
- bucket
Name String Name of the S3 bucket.
- object
Key StringPrefix The object key prefix path where the results will be stored. Default is no prefix path
- bucket
Name string Name of the S3 bucket.
- object
Key stringPrefix The object key prefix path where the results will be stored. Default is no prefix path
- bucket_
name str Name of the S3 bucket.
- object_
key_ strprefix The object key prefix path where the results will be stored. Default is no prefix path
- bucket
Name String Name of the S3 bucket.
- object
Key StringPrefix The object key prefix path where the results will be stored. Default is no prefix path
StreamProcessorTag
- Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0