WebAclCustomResponseBody constructor

const WebAclCustomResponseBody({
  1. required Input<String> content,
  2. required Input<String> contentType,
  3. required Input<String> key,
})

Creates a new WebAclCustomResponseBody. content Payload of the custom response. contentType Type of content in the payload that you are defining in the content argument. Valid values are TEXT_PLAIN, TEXT_HTML, or APPLICATION_JSON. key Unique key identifying the custom response body. This is referenced by the customResponseBodyKey argument in the customResponse block.

Implementation

const WebAclCustomResponseBody({
  required this.content,
  required this.contentType,
  required this.key,
});