

# CreateFaceLivenessSessionRequestSettings
<a name="API_CreateFaceLivenessSessionRequestSettings"></a>

A session settings object. It contains settings for the operation to be performed. It accepts arguments for OutputConfig and AuditImagesLimit.

## Contents
<a name="API_CreateFaceLivenessSessionRequestSettings_Contents"></a>

 ** AuditImagesLimit **   <a name="rekognition-Type-CreateFaceLivenessSessionRequestSettings-AuditImagesLimit"></a>
Number of audit images to be returned back. Takes an integer between 0-4. Any integer less than 0 will return 0, any integer above 4 will return 4 images in the response. By default, it is set to 0. The limit is best effort and is based on the actual duration of the selfie-video.  
Type: Integer  
Valid Range: Minimum value of 0. Maximum value of 4.  
Required: No

 ** ChallengePreferences **   <a name="rekognition-Type-CreateFaceLivenessSessionRequestSettings-ChallengePreferences"></a>
Indicates preferred challenge types and versions for the Face Liveness session to be created.  
Type: Array of [ChallengePreference](API_ChallengePreference.md) objects  
Required: No

 ** OutputConfig **   <a name="rekognition-Type-CreateFaceLivenessSessionRequestSettings-OutputConfig"></a>
Can specify the location of an Amazon S3 bucket, where reference and audit images will be stored. Note that the Amazon S3 bucket must be located in the caller's AWS account and in the same region as the Face Liveness end-point. Additionally, the Amazon S3 object keys are auto-generated by the Face Liveness system. Requires that the caller has the `s3:PutObject` permission on the Amazon S3 bucket.  
Type: [LivenessOutputConfig](API_LivenessOutputConfig.md) object  
Required: No

## See Also
<a name="API_CreateFaceLivenessSessionRequestSettings_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/rekognition-2016-06-27/CreateFaceLivenessSessionRequestSettings) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/rekognition-2016-06-27/CreateFaceLivenessSessionRequestSettings) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/rekognition-2016-06-27/CreateFaceLivenessSessionRequestSettings) 