interface DataSharingPreferenceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Rekognition.CfnStreamProcessorPropsMixin.DataSharingPreferenceProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsrekognition#CfnStreamProcessorPropsMixin_DataSharingPreferenceProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.rekognition.CfnStreamProcessorPropsMixin.DataSharingPreferenceProperty |
Python | aws_cdk.cfn_property_mixins.aws_rekognition.CfnStreamProcessorPropsMixin.DataSharingPreferenceProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_rekognition » 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 { aws_rekognition as rekognition } from '@aws-cdk/cfn-property-mixins';
const dataSharingPreferenceProperty: rekognition.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