typed-aws
Version:
Helps you write AWS CloudFormation in TypeScript
45 lines (44 loc) • 2 kB
TypeScript
import { CfnResource, Resolvable } from '../../base';
export declare type GatewayResponse_Type = 'AWS::ApiGateway::GatewayResponse';
export declare const GatewayResponse_Type = "AWS::ApiGateway::GatewayResponse";
/**
* Resource Type definition for AWS::ApiGateway::GatewayResponse {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html}
*/
export default function GatewayResponse(props: GatewayResponse_Properties): CfnResource<GatewayResponse_Properties>;
/**
* Resource Type definition for AWS::ApiGateway::GatewayResponse {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html}
*/
export declare type GatewayResponse_Properties = {
Id?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-restapiid}
*/
RestApiId: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-responsetype}
*/
ResponseType: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-statuscode}
*/
StatusCode?: Resolvable<string>;
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-responseparameters}
*/
ResponseParameters?: {
[k: string]: Resolvable<string>;
};
/**
* {@link
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html#cfn-apigateway-gatewayresponse-responsetemplates}
*/
ResponseTemplates?: {
[k: string]: Resolvable<string>;
};
};