@altostra/core
Version:
Core library for shared types and logic
18 lines (17 loc) • 798 B
TypeScript
import type { NonEmptyString } from "../../../common/CustomTypes/NonEmptyString";
import type { AwsResourceCommon } from "../common";
import type { CloudFormationValue } from "../IntrinsicFunctions";
export declare type IntegrationResponseType = 'AWS::ApiGatewayV2::IntegrationResponse';
export interface IntegrationResponse extends AwsResourceCommon {
Type: IntegrationResponseType;
Properties: IntegrationResponseProperties;
}
export interface IntegrationResponseProperties {
ApiId: CloudFormationValue;
IntegrationId: CloudFormationValue;
IntegrationResponseKey: NonEmptyString;
ResponseParameters?: object;
ResponseTemplates?: Record<string, string>;
TemplateSelectionExpression?: string;
ContentHandlingStrategy?: 'CONVERT_TO_BINARY' | 'CONVERT_TO_TEXT';
}