Interface GatewayResponseProps

All Superinterfaces:
GatewayResponseOptions, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
GatewayResponseProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-03-01T20:58:18.269Z") @Stability(Stable) public interface GatewayResponseProps extends software.amazon.jsii.JsiiSerializable, GatewayResponseOptions
Properties for a new gateway response.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.apigateway.*;
 ResponseType responseType;
 RestApi restApi;
 GatewayResponseProps gatewayResponseProps = GatewayResponseProps.builder()
         .restApi(restApi)
         .type(responseType)
         // the properties below are optional
         .responseHeaders(Map.of(
                 "responseHeadersKey", "responseHeaders"))
         .statusCode("statusCode")
         .templates(Map.of(
                 "templatesKey", "templates"))
         .build();