Class CfnStreamProcessor.DataSharingPreferenceProperty
Allows you to opt in or opt out to share data with Rekognition to improve model performance.
Inheritance
System.Object
CfnStreamProcessor.DataSharingPreferenceProperty
Namespace: Amazon.CDK.AWS.Rekognition
Assembly: Amazon.CDK.AWS.Rekognition.dll
Syntax (csharp)
public class DataSharingPreferenceProperty : Object, CfnStreamProcessor.IDataSharingPreferenceProperty
Syntax (vb)
Public Class DataSharingPreferenceProperty
Inherits Object
Implements CfnStreamProcessor.IDataSharingPreferenceProperty
Remarks
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 .
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.AWS.Rekognition;
var dataSharingPreferenceProperty = new DataSharingPreferenceProperty {
OptIn = false
};
Synopsis
Constructors
DataSharingPreferenceProperty() |
Properties
OptIn | Describes the opt-in status applied to a stream processor's data sharing policy. |
Constructors
DataSharingPreferenceProperty()
public DataSharingPreferenceProperty()
Properties
OptIn
Describes the opt-in status applied to a stream processor's data sharing policy.
public object OptIn { get; set; }
Property Value
System.Object