Interface CfnStreamProcessor.ConnectedHomeSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStreamProcessor.ConnectedHomeSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnStreamProcessor
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 .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.rekognition.*; ConnectedHomeSettingsProperty connectedHomeSettingsProperty = ConnectedHomeSettingsProperty.builder() .labels(List.of("labels")) // the properties below are optional .minConfidence(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnStreamProcessor.ConnectedHomeSettingsProperty
static final class
An implementation forCfnStreamProcessor.ConnectedHomeSettingsProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLabels
Specifies what you want to detect in the video, such as people, packages, or pets.The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".
- See Also:
-
getMinConfidence
The minimum confidence required to label an object in the video.- See Also:
-
builder
-