You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ElasticLoadBalancingV2::Types::FixedResponseActionConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticLoadBalancingV2::Types::FixedResponseActionConfig
- Defined in:
- (unknown)
Overview
Note:
When passing FixedResponseActionConfig as input to an Aws::Client method, you can use a vanilla Hash:
{
message_body: "FixedResponseActionMessage",
status_code: "FixedResponseActionStatusCode", # required
content_type: "FixedResponseActionContentType",
}
Information about an action that returns a custom HTTP response.
Returned by:
Instance Attribute Summary collapse
-
#content_type ⇒ String
The content type.
-
#message_body ⇒ String
The message.
-
#status_code ⇒ String
The HTTP response code (2XX, 4XX, or 5XX).
Instance Attribute Details
#content_type ⇒ String
The content type.
Valid Values: text/plain | text/css | text/html | application/javascript | application/json
#message_body ⇒ String
The message.
#status_code ⇒ String
The HTTP response code (2XX, 4XX, or 5XX).