interface DataSharingPreferenceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Rekognition.Mixins.CfnStreamProcessorPropsMixin.DataSharingPreferenceProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsrekognition/mixins#CfnStreamProcessorPropsMixin_DataSharingPreferenceProperty |
Java | software.amazon.awscdk.mixins.preview.services.rekognition.mixins.CfnStreamProcessorPropsMixin.DataSharingPreferenceProperty |
Python | aws_cdk.mixins_preview.aws_rekognition.mixins.CfnStreamProcessorPropsMixin.DataSharingPreferenceProperty |
TypeScript | @aws-cdk/mixins-preview » aws_rekognition » mixins » CfnStreamProcessorPropsMixin » DataSharingPreferenceProperty |
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 { mixins as rekognition_mixins } from '@aws-cdk/mixins-preview/aws-rekognition';
const dataSharingPreferenceProperty: rekognition_mixins.CfnStreamProcessorPropsMixin.DataSharingPreferenceProperty = {
optIn: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| opt | boolean | IResolvable | Describes the opt-in status applied to a stream processor's data sharing policy. |
optIn?
Type:
boolean | IResolvable
(optional)
Describes the opt-in status applied to a stream processor's data sharing policy.

.NET
Go
Java
Python
TypeScript