Class: Aws::ElasticLoadBalancingV2::Types::FixedResponseActionConfig

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-elasticloadbalancingv2/types.rb

Overview

Information about an action that returns a custom HTTP response.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_typeString

The content type.

Valid Values: text/plain | text/css | text/html | application/javascript | application/json

Returns:

  • (String)


1750
1751
1752
1753
1754
1755
1756
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1750

class FixedResponseActionConfig < Struct.new(
  :message_body,
  :status_code,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end

#message_bodyString

The message.

Returns:

  • (String)


1750
1751
1752
1753
1754
1755
1756
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1750

class FixedResponseActionConfig < Struct.new(
  :message_body,
  :status_code,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end

#status_codeString

The HTTP response code (2XX, 4XX, or 5XX).

Returns:

  • (String)


1750
1751
1752
1753
1754
1755
1756
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1750

class FixedResponseActionConfig < Struct.new(
  :message_body,
  :status_code,
  :content_type)
  SENSITIVE = []
  include Aws::Structure
end