CustomizationsConfig / AppConfigItem / ApplicationLoadBalancerConfig / ApplicationLoadBalancerListenerConfig / AlbListenerFixedResponseConfig

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

Constructors

Properties

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