Home

envoy.config.route.v3.DirectResponseAction

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.envoy.config.route.v3.DirectResponseAction
.withBody(types.envoy.config.core.v3.DataSource)
.withStatus(1)
._validate()

Fields

Name Type One-of group Required Constraints
body envoy.config.core.v3.DataSource  
status uint32   {"Uint32":{"gte":200,"lt":600}}