Interface CfnMethod.IntegrationProperty

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

@Stability(Stable) public static interface CfnMethod.IntegrationProperty extends software.amazon.jsii.JsiiSerializable
Integration is a property of the AWS::ApiGateway::Method resource that specifies information about the target backend that a method calls.

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.*;
 IntegrationProperty integrationProperty = IntegrationProperty.builder()
         .type("type")
         // the properties below are optional
         .cacheKeyParameters(List.of("cacheKeyParameters"))
         .cacheNamespace("cacheNamespace")
         .connectionId("connectionId")
         .connectionType("connectionType")
         .contentHandling("contentHandling")
         .credentials("credentials")
         .integrationHttpMethod("integrationHttpMethod")
         .integrationResponses(List.of(IntegrationResponseProperty.builder()
                 .statusCode("statusCode")
                 // the properties below are optional
                 .contentHandling("contentHandling")
                 .responseParameters(Map.of(
                         "responseParametersKey", "responseParameters"))
                 .responseTemplates(Map.of(
                         "responseTemplatesKey", "responseTemplates"))
                 .selectionPattern("selectionPattern")
                 .build()))
         .passthroughBehavior("passthroughBehavior")
         .requestParameters(Map.of(
                 "requestParametersKey", "requestParameters"))
         .requestTemplates(Map.of(
                 "requestTemplatesKey", "requestTemplates"))
         .timeoutInMillis(123)
         .uri("uri")
         .build();
 

See Also: