@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.161Z") @Stability(value=Stable) 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. |
software.amazon.jsii.JsiiObject.InitializationModeIGatewayResponse.Jsii$Default, IGatewayResponse.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
GatewayResponse(software.constructs.Construct scope,
String id,
GatewayResponseProps props) |
protected |
GatewayResponse(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GatewayResponse(software.amazon.jsii.JsiiObjectRef objRef) |
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected GatewayResponse(software.amazon.jsii.JsiiObjectRef objRef)
protected GatewayResponse(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public GatewayResponse(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
GatewayResponseProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.Copyright © 2022. All rights reserved.