import { AwsResource } from '../../cloudformation/resources/AwsResource';
/**
  The <code>AWS::ApiGateway::RestApi</code> resource creates a REST API. For more information, see <a href="https://docs.aws.amazon.com/apigateway/latest/api/API_CreateRestApi.html">restapi:create</a> in the <em>Amazon API Gateway REST API Reference</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html">the AWS Docs</a>
*/
export function restApi(restApiProps = {}) {
    return new AwsResource('AWS::ApiGateway::RestApi', restApiProps, { RootResourceId: 'RootResourceId', RestApiId: 'RestApiId' });
}
