콘텐츠로 이동

연결

이 생성기는 웹사이트가 API를 호출하는 것과 같이 프로젝트들을 서로 연결하는 데 사용됩니다. 소스 프로젝트(예: API를 호출할 프로젝트)와 타겟 프로젝트(예: API 프로젝트)를 선택하기만 하면 이 생성기가 두 프로젝트의 통합을 처리합니다.

  1. 설치 Nx Console VSCode Plugin 아직 설치하지 않았다면
  2. VSCode에서 Nx 콘솔 열기
  3. 클릭 Generate (UI) "Common Nx Commands" 섹션에서
  4. 검색 @aws/nx-plugin - connection
  5. 필수 매개변수 입력
    • 클릭 Generate
    매개변수타입기본값설명
    sourceProject 필수string-소스 프로젝트
    targetProject 필수string-연결할 대상 프로젝트
    sourceComponent string-연결을 시작할 소스 컴포넌트 (컴포넌트 이름, 소스 프로젝트 루트 기준 상대 경로, 또는 generator id). 프로젝트를 소스로 명시적으로 선택하려면 '.'을 사용하세요.
    targetComponent string-연결할 대상 컴포넌트 (컴포넌트 이름, 대상 프로젝트 루트 기준 상대 경로, 또는 generator id). 프로젝트를 대상으로 명시적으로 선택하려면 '.'을 사용하세요.
    preferInstallDependencies booleantrue생성기 실행 후 의존성 설치를 선호할지 여부입니다. 여러 생성기를 일괄 처리할 때 설치를 연기하려면 false로 설정하세요 (후속 생성기가 Nx 프로젝트 그래프를 계산할 수 있도록 필요한 경우 설치는 여전히 실행됩니다); 마지막에 한 번만 설치합니다.

    연결 생성기는 다음 연결을 지원합니다:

    tRPC
    React to tRPCReact 웹사이트에서 tRPC API 호출하기
    FastAPI
    React to FastAPIReact 웹사이트에서 Python FastAPI 호출하기
    Smithy
    React to Smithy APIReact 웹사이트에서 Smithy API 호출하기
    Strands AgentsPython
    React to Python AgentReact 웹사이트에서 Python Agent 호출하기
    Strands AgentsTypeScript
    React to TypeScript AgentReact 웹사이트에서 TypeScript Agent 호출하기
    CopilotKit
    React to AG-UI AgentCopilotKit를 통해 React 웹사이트에서 AG-UI 프로토콜을 노출하는 Agent 호출하기
    Strands AgentsPythonModel Context Protocol
    Python Agent to MCPPython Agent를 MCP 서버에 연결하기
    Strands AgentsTypeScriptModel Context Protocol
    TypeScript Agent to MCPTypeScript Agent를 MCP 서버에 연결하기
    Strands AgentsPythonAgent2Agent
    Python Agent to A2A AgentPython Agent를 원격 A2A 에이전트에 연결하기
    Strands AgentsTypeScriptAgent2Agent
    TypeScript Agent to A2A AgentTypeScript Agent를 원격 A2A 에이전트에 연결하기
    tRPCAmazon Aurora
    tRPC API to Relational DatabasetRPC API를 Aurora 관계형 데이터베이스에 연결하기
    SmithyAmazon Aurora
    Smithy API to Relational DatabaseSmithy API를 Aurora 관계형 데이터베이스에 연결하기
    Strands AgentsTypeScriptAmazon Aurora
    TypeScript Agent to Relational DatabaseTypeScript Agent를 Aurora 관계형 데이터베이스에 연결하기
    Model Context ProtocolTypeScriptAmazon Aurora
    TypeScript MCP Server to Relational DatabaseTypeScript MCP Server를 Aurora 관계형 데이터베이스에 연결하기
    FastAPIAmazon AuroraPython
    FastAPI to Python Relational DatabaseFastAPI를 Python Aurora 관계형 데이터베이스에 연결하기
    Strands AgentsPythonAmazon AuroraPython
    Python Agent to Python Relational DatabasePython Agent를 Python Aurora 관계형 데이터베이스에 연결하기
    Model Context ProtocolPythonAmazon AuroraPython
    Python MCP Server to Python Relational DatabasePython MCP Server를 Python Aurora 관계형 데이터베이스에 연결하기
    tRPCAmazon DynamoDB
    tRPC API to TypeScript DynamoDBtRPC API를 DynamoDB 테이블에 연결하기
    SmithyAmazon DynamoDB
    Smithy API to TypeScript DynamoDBSmithy API를 DynamoDB 테이블에 연결하기
    Strands AgentsTypeScriptAmazon DynamoDB
    TypeScript Agent to TypeScript DynamoDBTypeScript Agent를 DynamoDB 테이블에 연결하기
    Model Context ProtocolAmazon DynamoDB
    MCP Server to TypeScript DynamoDBTypeScript MCP Server를 DynamoDB 테이블에 연결하기
    FastAPIAmazon DynamoDBPython
    FastAPI to Python DynamoDBFastAPI를 DynamoDB 테이블에 연결하기
    Strands AgentsPythonAmazon DynamoDBPython
    Python Agent to Python DynamoDBPython Agent를 DynamoDB 테이블에 연결하기
    Model Context ProtocolPythonAmazon DynamoDBPython
    Python MCP Server to Python DynamoDBPython MCP Server를 DynamoDB 테이블에 연결하기
    Amazon Bedrock AgentCore GatewayModel Context Protocol
    AgentCore Gateway to MCP ServerAgentCore Gateway 뒤에 MCP 서버 집계하기
    Amazon Bedrock AgentCore GatewayAmazon Bedrock AgentCore Gateway
    AgentCore Gateway to AgentCore Gateway다른 AgentCore Gateway 뒤에 AgentCore Gateway 집계하기
    Strands AgentsTypeScriptAmazon Bedrock AgentCore Gateway
    TypeScript Agent to AgentCore GatewayTypeScript Agent를 AgentCore Gateway에 연결하기
    Strands AgentsPythonAmazon Bedrock AgentCore Gateway
    Python Agent to AgentCore GatewayPython Agent를 AgentCore Gateway에 연결하기