Class: Aws::ElasticLoadBalancingV2::Types::FixedResponseActionConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElasticLoadBalancingV2::Types::FixedResponseActionConfig
- Defined in:
- gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb
Overview
Note:
When making an API call, you may pass FixedResponseActionConfig data as a hash:
{
message_body: "FixedResponseActionMessage",
status_code: "FixedResponseActionStatusCode", # required
content_type: "FixedResponseActionContentType",
}
Information about an action that returns a custom HTTP response.
Constant Summary collapse
- SENSITIVE =
[]
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
1918 1919 1920 1921 1922 1923 1924 |
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1918 class FixedResponseActionConfig < Struct.new( :message_body, :status_code, :content_type) SENSITIVE = [] include Aws::Structure end |
#message_body ⇒ String
The message.
1918 1919 1920 1921 1922 1923 1924 |
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1918 class FixedResponseActionConfig < Struct.new( :message_body, :status_code, :content_type) SENSITIVE = [] include Aws::Structure end |
#status_code ⇒ String
The HTTP response code (2XX, 4XX, or 5XX).
1918 1919 1920 1921 1922 1923 1924 |
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1918 class FixedResponseActionConfig < Struct.new( :message_body, :status_code, :content_type) SENSITIVE = [] include Aws::Structure end |