WebAclDefaultActionBlockCustomResponse class
Constructors
-
WebAclDefaultActionBlockCustomResponse({Input<
String?> ? customResponseBodyKey, required Input<int> responseCode, Input<List< ? responseHeaders})WebAclDefaultActionBlockCustomResponseResponseHeader> ?> -
Creates a new WebAclDefaultActionBlockCustomResponse.
customResponseBodyKeyReferences the response body that you want AWS WAF to return to the web request client. This must reference akeydefined in acustomResponseBodyblock of this resource.responseCodeThe HTTP status code to return to the client.responseHeadersTheresponseHeaderblocks used to define the HTTP response headers added to the response. SeeresponseHeaderbelow for details.const -
WebAclDefaultActionBlockCustomResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
customResponseBodyKey
→ Input<
String?> ? -
References the response body that you want AWS WAF to return to the web request client. This must reference a
keydefined in acustomResponseBodyblock of this resource.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
responseCode
→ Input<
int> -
The HTTP status code to return to the client.
final
-
responseHeaders
→ Input<
List< ?WebAclDefaultActionBlockCustomResponseResponseHeader> ?> -
The
responseHeaderblocks used to define the HTTP response headers added to the response. SeeresponseHeaderbelow for details.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited