Interface CfnStreamProcessor.DataSharingPreferenceProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnStreamProcessor.DataSharingPreferenceProperty.Jsii$Proxy
Enclosing class:
CfnStreamProcessor

@Stability(Stable) public static interface CfnStreamProcessor.DataSharingPreferenceProperty extends software.amazon.jsii.JsiiSerializable
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 StreamProcessorDataSharingPreference .

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.*;
 DataSharingPreferenceProperty dataSharingPreferenceProperty = DataSharingPreferenceProperty.builder()
         .optIn(false)
         .build();