@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:47.632Z") public class GatewayResponse extends Resource implements IGatewayResponse
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.*; ResponseType responseType; RestApi restApi; GatewayResponse gatewayResponse = GatewayResponse.Builder.create(this, "MyGatewayResponse") .restApi(restApi) .type(responseType) // the properties below are optional .responseHeaders(Map.of( "responseHeadersKey", "responseHeaders")) .statusCode("statusCode") .templates(Map.of( "templatesKey", "templates")) .build();
Modifier and Type | Class and Description |
---|---|
static class |
GatewayResponse.Builder
A fluent builder for
GatewayResponse . |
IGatewayResponse.Jsii$Default, IGatewayResponse.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
GatewayResponse(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GatewayResponse(software.amazon.jsii.JsiiObjectRef objRef) |
|
GatewayResponse(software.constructs.Construct scope,
java.lang.String id,
GatewayResponseProps props) |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected GatewayResponse(software.amazon.jsii.JsiiObjectRef objRef)
protected GatewayResponse(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public GatewayResponse(software.constructs.Construct scope, java.lang.String id, GatewayResponseProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.