UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

34 lines (33 loc) 855 B
import { IResource, Resource } from '../../core'; import { IApiRef, ApiReference } from '../../interfaces/generated/aws-appsync-interfaces.generated'; /** * Interface for an API */ export interface IApi extends IResource, IApiRef { /** * The unique identifier for the AWS AppSync Api generated by the service. * * @attribute */ readonly apiId: string; /** * The ARN of the AWS AppSync Api. * * @attribute */ readonly apiArn: string; } /** * Base Class for API */ export declare abstract class ApiBase extends Resource implements IApi { /** * The unique identifier for the AWS AppSync Api generated by the service. */ abstract readonly apiId: string; /** * The ARN of the AWS AppSync Api. */ abstract readonly apiArn: string; get apiRef(): ApiReference; }