bodyEncoding property

CloudFrontBodyEncoding bodyEncoding
final

The encoding for the value that you specified in the body. The only valid encodings are text and base64. If you include body in the response object but omit bodyEncoding, CloudFront treats the body as text. If you specify bodyEncoding as base64 but the body is not valid base64, CloudFront returns an error.

Implementation

final CloudFrontBodyEncoding bodyEncoding;