interface CfnGatewayResponseMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ApiGateway.Mixins.CfnGatewayResponseMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsapigateway/mixins#CfnGatewayResponseMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.apigateway.mixins.CfnGatewayResponseMixinProps |
Python | aws_cdk.mixins_preview.aws_apigateway.mixins.CfnGatewayResponseMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_apigateway » mixins » CfnGatewayResponseMixinProps |
Properties for CfnGatewayResponsePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as apigateway_mixins } from '@aws-cdk/mixins-preview/aws-apigateway';
const cfnGatewayResponseMixinProps: apigateway_mixins.CfnGatewayResponseMixinProps = {
responseParameters: {
responseParametersKey: 'responseParameters',
},
responseTemplates: {
responseTemplatesKey: 'responseTemplates',
},
responseType: 'responseType',
restApiId: 'restApiId',
statusCode: 'statusCode',
};
Properties
| Name | Type | Description |
|---|---|---|
| response | { [string]: string } | IResolvable | Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs. |
| response | { [string]: string } | IResolvable | Response templates of the GatewayResponse as a string-to-string map of key-value pairs. |
| response | string | The response type of the associated GatewayResponse. |
| rest | string | The string identifier of the associated RestApi. |
| status | string | The HTTP status code for this GatewayResponse. |
responseParameters?
Type:
{ [string]: string } | IResolvable
(optional)
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
responseTemplates?
Type:
{ [string]: string } | IResolvable
(optional)
Response templates of the GatewayResponse as a string-to-string map of key-value pairs.
responseType?
Type:
string
(optional)
The response type of the associated GatewayResponse.
restApiId?
Type:
string
(optional)
The string identifier of the associated RestApi.
statusCode?
Type:
string
(optional)
The HTTP status code for this GatewayResponse.

.NET
Go
Java
Python
TypeScript