UNPKG

@chinchillaenterprises/mcp-amplify

Version:

AWS Amplify MCP server with intelligent deployment automation, specialized logging suite, and recursive resource discovery

61 lines 1.76 kB
interface AmplifyIdentifiers { apiId: string | null; appName: string | null; username: string | null; userPoolId: string | null; region: string; stackName: string | null; sandboxId: string | null; s3BucketName: string | null; } export declare class AmplifyResourceDiscovery { private config; private identifiers; constructor(); private loadAmplifyOutputs; private extractIdentifiers; getIdentifiers(): AmplifyIdentifiers; hasValidConfig(): boolean; /** * Get the physical DynamoDB table name from logical model name * Pattern: {ModelName}-{AppSyncApiId}-{environment} */ getDynamoTableName(modelName: string, environment?: string): string; /** * Get Lambda function name pattern for discovery * Pattern: amplify-{appName}-{username}-{functionName}-{hash} */ getLambdaFunctionPattern(functionName: string): string; /** * Get CloudFormation stack name pattern * Pattern: amplify-{appName}-{username}-sandbox-{hash} */ getStackNamePattern(): string; /** * Get CloudWatch log group name for a Lambda function * Pattern: /aws/lambda/{functionName} */ getLogGroupName(functionName: string): string; /** * Check if a resource belongs to the current sandbox */ isCurrentSandboxResource(resourceName: string): boolean; /** * Get S3 bucket name from config */ getS3BucketName(): string | null; /** * Get Cognito User Pool ID */ getUserPoolId(): string | null; /** * Get AppSync API URL */ getAppSyncApiUrl(): string | null; /** * Get region */ getRegion(): string; } export {}; //# sourceMappingURL=AmplifyResourceDiscovery.d.ts.map