envoy.extensions.http.custom_response.local_response_policy.v3.LocalResponsePolicy
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.extensions.http.custom_response.local_response_policy.v3.LocalResponsePolicy
.withBody(types.envoy.config.core.v3.DataSource)
.withBodyFormat(types.envoy.config.core.v3.SubstitutionFormatString)
.withResponseHeadersToAdd([ types.envoy.config.core.v3.HeaderValueOption ])
.withStatusCode(1)
._validate()
Fields