RuleGroupRuleActionBlockCustomResponse class

Constructors

RuleGroupRuleActionBlockCustomResponse({Input<String?>? customResponseBodyKey, required Input<int> responseCode, Input<List<RuleGroupRuleActionBlockCustomResponseResponseHeader>?>? responseHeaders})
Creates a new RuleGroupRuleActionBlockCustomResponse. customResponseBodyKey References the response body that you want AWS WAF to return to the web request client. This must reference a key defined in a customResponseBody block of this resource. responseCode The HTTP status code to return to the client. responseHeaders The responseHeader blocks used to define the HTTP response headers added to the response. See Custom HTTP Header below for details.
const
RuleGroupRuleActionBlockCustomResponse.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 key defined in a customResponseBody block 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<RuleGroupRuleActionBlockCustomResponseResponseHeader>?>?
The responseHeader blocks used to define the HTTP response headers added to the response. See Custom HTTP Header below 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