Interface CfnMethod.IntegrationResponseProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnMethod.IntegrationResponseProperty.Jsii$Proxy
Enclosing class:
CfnMethod

@Stability(Stable) public static interface CfnMethod.IntegrationResponseProperty extends software.amazon.jsii.JsiiSerializable
IntegrationResponse is a property of the Amazon API Gateway Method Integration property type that specifies the response that API Gateway sends after a method's backend finishes processing a request.

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.*;
 IntegrationResponseProperty integrationResponseProperty = IntegrationResponseProperty.builder()
         .statusCode("statusCode")
         // the properties below are optional
         .contentHandling("contentHandling")
         .responseParameters(Map.of(
                 "responseParametersKey", "responseParameters"))
         .responseTemplates(Map.of(
                 "responseTemplatesKey", "responseTemplates"))
         .selectionPattern("selectionPattern")
         .build();
 

See Also: