WebAclDefaultActionBlockCustomResponseResponseHeader constructor

const WebAclDefaultActionBlockCustomResponseResponseHeader({
  1. required Input<String> name,
  2. required Input<String> value,
})

Creates a new WebAclDefaultActionBlockCustomResponseResponseHeader. name Name of the custom header. For custom request header insertion, when AWS WAF inserts the header into the request, it prefixes this name x-amzn-waf-, to avoid confusion with the headers that are already in the request. For example, for the header name sample, AWS WAF inserts the header x-amzn-waf-sample. value Value of the custom header.

Implementation

const WebAclDefaultActionBlockCustomResponseResponseHeader({
  required this.name,
  required this.value,
});