Class CfnStreamProcessorPropsMixin.ConnectedHomeSettingsProperty
Connected home settings to use on a streaming video.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Rekognition
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnStreamProcessorPropsMixin.ConnectedHomeSettingsProperty : CfnStreamProcessorPropsMixin.IConnectedHomeSettingsProperty
Syntax (vb)
Public Class CfnStreamProcessorPropsMixin.ConnectedHomeSettingsProperty Implements CfnStreamProcessorPropsMixin.IConnectedHomeSettingsProperty
Remarks
Defining the settings is required in the request parameter for CreateStreamProcessor . Including this setting in the CreateStreamProcessor request lets you use the stream processor for connected home features. You can then 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 example, if packages and pets are selected, one SNS notification is published the first time a package is detected and one SNS notification is published the first time a pet is detected. An end-of-session summary is also published. For more information, see the ConnectedHome section of StreamProcessorSettings .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Rekognition;
var connectedHomeSettingsProperty = new ConnectedHomeSettingsProperty {
Labels = new [] { "labels" },
MinConfidence = 123
};
Synopsis
Constructors
| ConnectedHomeSettingsProperty() | Connected home settings to use on a streaming video. |
Properties
| Labels | Specifies what you want to detect in the video, such as people, packages, or pets. |
| MinConfidence | The minimum confidence required to label an object in the video. |
Constructors
ConnectedHomeSettingsProperty()
Connected home settings to use on a streaming video.
public ConnectedHomeSettingsProperty()
Remarks
Defining the settings is required in the request parameter for CreateStreamProcessor . Including this setting in the CreateStreamProcessor request lets you use the stream processor for connected home features. You can then 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 example, if packages and pets are selected, one SNS notification is published the first time a package is detected and one SNS notification is published the first time a pet is detected. An end-of-session summary is also published. For more information, see the ConnectedHome section of StreamProcessorSettings .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Rekognition;
var connectedHomeSettingsProperty = new ConnectedHomeSettingsProperty {
Labels = new [] { "labels" },
MinConfidence = 123
};
Properties
Labels
Specifies what you want to detect in the video, such as people, packages, or pets.
public string[]? Labels { get; set; }
Property Value
string[]
Remarks
The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".
MinConfidence
The minimum confidence required to label an object in the video.
public double? MinConfidence { get; set; }