Options
All
  • Public
  • Public/Protected
  • All
Menu

Application load balancer listener fixed response config It returns a custom HTTP response. Applicable only when type under listener is fixed-response.

see

https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_FixedResponseActionConfig.html

example
fixedResponseConfig:
statusCode: '200'
contentType: text/plain
messageBody: 'Hello World'

Hierarchy

  • AlbListenerFixedResponseConfig

Implements

Index

Constructors

Properties

contentType: undefined | string = undefined

The message to send back.

messageBody: undefined | string = undefined

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

statusCode: string = ''

The content type. Valid Values: text/plain | text/css | text/html | application/javascript | application/json

Generated using TypeDoc