Interface CfnGatewayResponseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayResponseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:24:51.542Z")
@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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGatewayResponseProps
static final class
An implementation forCfnGatewayResponseProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.default Object
Response 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 String
The 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.- See Also:
-
getRestApiId
The string identifier of the associated RestApi.- See Also:
-
getResponseParameters
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.- See Also:
-
getResponseTemplates
Response templates of the GatewayResponse as a string-to-string map of key-value pairs.- See Also:
-
getStatusCode
The HTTP status code for this GatewayResponse.- See Also:
-
builder
- Returns:
- a
CfnGatewayResponseProps.Builder
ofCfnGatewayResponseProps
-