aws-cdk-lib.aws_rekognition.CfnStreamProcessor.DataSharingPreferenceProperty

interface DataSharingPreferenceProperty

LanguageType name
.NETAmazon.CDK.AWS.Rekognition.CfnStreamProcessor.DataSharingPreferenceProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsrekognition#CfnStreamProcessor_DataSharingPreferenceProperty
Javasoftware.amazon.awscdk.services.rekognition.CfnStreamProcessor.DataSharingPreferenceProperty
Pythonaws_cdk.aws_rekognition.CfnStreamProcessor.DataSharingPreferenceProperty
TypeScript aws-cdk-lib » aws_rekognition » CfnStreamProcessor » 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-lib';
const dataSharingPreferenceProperty: rekognition.CfnStreamProcessor.DataSharingPreferenceProperty = {
  optIn: false,
};

Properties

NameTypeDescription
optInboolean | IResolvableDescribes the opt-in status applied to a stream processor's data sharing policy.

optIn

Type: boolean | IResolvable

Describes the opt-in status applied to a stream processor's data sharing policy.