CfnGatewayResponseProps

class aws_cdk.aws_apigateway.CfnGatewayResponseProps(*, response_type, rest_api_id, response_parameters=None, response_templates=None, status_code=None)

Bases: object

__init__(*, response_type, rest_api_id, response_parameters=None, response_templates=None, status_code=None)

Properties for defining a AWS::ApiGateway::GatewayResponse.

Parameters
  • response_type (str) – AWS::ApiGateway::GatewayResponse.ResponseType.

  • rest_api_id (str) – AWS::ApiGateway::GatewayResponse.RestApiId.

  • response_parameters (Union[IResolvable, None, Mapping[str, str]]) – AWS::ApiGateway::GatewayResponse.ResponseParameters.

  • response_templates (Union[IResolvable, None, Mapping[str, str]]) – AWS::ApiGateway::GatewayResponse.ResponseTemplates.

  • status_code (Optional[str]) – AWS::ApiGateway::GatewayResponse.StatusCode.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html

Attributes

response_parameters

AWS::ApiGateway::GatewayResponse.ResponseParameters.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-responseparameters

Return type

Union[IResolvable, None, Mapping[str, str]]

response_templates

AWS::ApiGateway::GatewayResponse.ResponseTemplates.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-responsetemplates

Return type

Union[IResolvable, None, Mapping[str, str]]

response_type

AWS::ApiGateway::GatewayResponse.ResponseType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-responsetype

Return type

str

rest_api_id

AWS::ApiGateway::GatewayResponse.RestApiId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-restapiid

Return type

str

status_code

AWS::ApiGateway::GatewayResponse.StatusCode.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-statuscode

Return type

Optional[str]