GatewayResponseArgs

data class GatewayResponseArgs(val responseParameters: Output<Map<String, String>>? = null, val responseTemplates: Output<Map<String, String>>? = null, val responseType: Output<String>? = null, val restApiId: Output<String>? = null, val statusCode: Output<String>? = null) : ConvertibleToJava<GatewayResponseArgs>

The `AWS::ApiGateway::GatewayResponse` resource creates a gateway response for your API. For more information, see API Gateway Responses in the API Gateway Developer Guide.

Constructors

Link copied to clipboard
constructor(responseParameters: Output<Map<String, String>>? = null, responseTemplates: Output<Map<String, String>>? = null, responseType: Output<String>? = null, restApiId: Output<String>? = null, statusCode: Output<String>? = null)

Properties

Link copied to clipboard
val responseParameters: Output<Map<String, String>>? = null

Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.

Link copied to clipboard
val responseTemplates: Output<Map<String, String>>? = null

Response templates of the GatewayResponse as a string-to-string map of key-value pairs.

Link copied to clipboard
val responseType: Output<String>? = null

The response type of the associated GatewayResponse.

Link copied to clipboard
val restApiId: Output<String>? = null

The string identifier of the associated RestApi.

Link copied to clipboard
val statusCode: Output<String>? = null

The HTTP status code for this GatewayResponse.

Functions

Link copied to clipboard
open override fun toJava(): GatewayResponseArgs