Interface CfnGatewayResponseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayResponseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.813Z")
@Stability(Stable)
public interface CfnGatewayResponseProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnGatewayResponse.
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.*;
CfnGatewayResponseProps cfnGatewayResponseProps = CfnGatewayResponseProps.builder()
.responseType("responseType")
.restApiId("restApiId")
// the properties below are optional
.responseParameters(Map.of(
"responseParametersKey", "responseParameters"))
.responseTemplates(Map.of(
"responseTemplatesKey", "responseTemplates"))
.statusCode("statusCode")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayResponsePropsstatic final classAn implementation forCfnGatewayResponseProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectResponse parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.default ObjectResponse templates of the GatewayResponse as a string-to-string map of key-value pairs.The response type of the associated GatewayResponse.The string identifier of the associated RestApi.default StringThe HTTP status code for this GatewayResponse.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getResponseType
The response type of the associated GatewayResponse. -
getRestApiId
The string identifier of the associated RestApi. -
getResponseParameters
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. -
getResponseTemplates
Response templates of the GatewayResponse as a string-to-string map of key-value pairs. -
getStatusCode
The HTTP status code for this GatewayResponse. -
builder
- Returns:
- a
CfnGatewayResponseProps.BuilderofCfnGatewayResponseProps
-