Interface CfnGatewayResponseProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayResponseProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:33.325Z")
@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 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.- 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.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getResponseTemplates
Response templates of the GatewayResponse as a string-to-string map of key-value pairs.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getStatusCode
The HTTP status code for this GatewayResponse.- See Also:
-
builder
- Returns:
- a
CfnGatewayResponseProps.BuilderofCfnGatewayResponseProps
-