

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 什麼是 AWS Infrastructure Composer？
<a name="what-is-composer"></a>

 AWS Infrastructure Composer 可讓您以視覺化方式編寫現代應用程式 AWS。更具體地說，您可以使用 Infrastructure Composer 從 支援的所有 AWS 服務視覺化、建置和部署現代應用程式， AWS CloudFormation 而不需要成為 的專家 CloudFormation。

當您編寫 AWS CloudFormation 基礎設施時，透過令人滿意的drag-and-drop界面，基礎設施編寫器會將基礎設施建立為程式碼 (IaC) 範本，同時遵循 AWS 最佳實務。下圖顯示拖放、設定和連接 Infrastructure Composer 視覺化畫布上的資源有多容易。

![Infrastructure Composer 畫布與 API Gateway API、Lambda 函數和 DynamoDB 資料表連接在一起。](http://docs.aws.amazon.com/zh_tw/infrastructure-composer/latest/dg/images/aac_00.gif)


Infrastructure Composer 可以從 Infrastructure Composer 主控台、 AWS Toolkit for Visual Studio Code和 CloudFormation 主控台模式中使用。

**Topics**
+ [編寫您的應用程式架構](#what-is-composer-design)
+ [將基礎設施定義為程式碼 (IaC) 範本](#what-is-composer-define)
+ [與您現有的工作流程整合](#what-is-composer-integrate)
+ [存取 Infrastructure Composer 的方法](#what-is-composer-access)
+ [進一步了解](#what-is-composer-learn)
+ [後續步驟](#what-is-composer-next)
+ [的無伺服器概念 AWS Infrastructure Composer](what-is-concepts.md)

## 編寫您的應用程式架構
<a name="what-is-composer-design"></a>

**使用卡片建置**  <a name="what-is-composer-design-cards"></a>
將卡片放在 Infrastructure Composer 畫布上，以視覺化和建置您的應用程式架構。  

![具有未連線 API Gateway API、Lambda 函數和 DynamoDB 資料表的 Infrastructure Composer 畫布。](http://docs.aws.amazon.com/zh_tw/infrastructure-composer/latest/dg/images/aac_ref_05.gif)


**將卡片連接在一起**  <a name="what-is-composer-configure"></a>
透過視覺化方式將資源連接在一起，設定資源彼此互動的方式。透過精選屬性面板進一步指定其屬性。  

![具有 API Gateway API、Lambda 函數和 DynamoDB 資料表的 Infrastructure Composer 畫布。選取資料表來設定其屬性。](http://docs.aws.amazon.com/zh_tw/infrastructure-composer/latest/dg/images/aac_intro_02.gif)


**使用任何 AWS CloudFormation 資源**  <a name="what-is-composer-any"></a>
將任何 CloudFormation 資源拖曳到畫布上，以構成您的應用程式架構。Infrastructure Composer 提供啟動 IaC 範本，可用來指定資源的屬性。如需詳細資訊，請參閱 [在 Infrastructure Composer 中設定和修改卡片](using-composer-cards.md)。  

![顯示在 Infrastructure Composer 畫布上的匯入應用程式範本，顯示各種卡片類型。](http://docs.aws.amazon.com/zh_tw/infrastructure-composer/latest/dg/images/aac_intro_05.png)


**使用 功能存取其他功能 AWS 服務**  <a name="what-is-composer-design-featured"></a>
Infrastructure Composer 功能 AWS 服務 會在建置應用程式時共同使用或設定。如需詳細資訊，請參閱 [與 Amazon VPC 整合](using-composer-services-vpc.md)。  
以下是 AWS Step Functions 功能的範例，提供Workflow Studio直接在 Infrastructure Composer 畫布中啟動 Step Functions 的整合。  

![從 Infrastructure Composer 啟動 Step Functions Workflow Studio。](http://docs.aws.amazon.com/zh_tw/infrastructure-composer/latest/dg/images/aac_intro_06.gif)


## 將基礎設施定義為程式碼 (IaC) 範本
<a name="what-is-composer-define"></a>

**Infrastructure Composer 會建立您的基礎設施程式碼**  <a name="what-is-composer-define-create"></a>
當您編寫時， Infrastructure Composer 會自動建立您的 AWS CloudFormation 和 AWS Serverless Application Model (AWS SAM) 範本，並遵循 AWS 最佳實務。您可以直接從 Infrastructure Composer 中檢視和修改範本。Infrastructure Composer 會自動同步視覺化畫布和範本程式碼之間的變更。  

![API Gateway API、Lambda 函數和 DynamoDB 資料表的 Infrastructure Composer 範本檢視。](http://docs.aws.amazon.com/zh_tw/infrastructure-composer/latest/dg/images/aac_intro_03.png)


## 與您現有的工作流程整合
<a name="what-is-composer-integrate"></a>

**匯入現有的範本和專案**  <a name="what-is-composer-integrate-import"></a>
匯入現有 CloudFormation 和 AWS SAM 範本以將其視覺化，以便更好地了解和修改其設計。匯出您在 Infrastructure Composer 中建立的範本，並將其整合到您現有的工作流程中以進行部署。  

![Infrastructure Composer 畫布使用本機同步模式與本機機器同步。](http://docs.aws.amazon.com/zh_tw/infrastructure-composer/latest/dg/images/aac_other_ide_01.gif)


## 存取 Infrastructure Composer 的方法
<a name="what-is-composer-access"></a>

**從 Infrastructure Composer 主控台**  <a name="what-is-composer-access-console"></a>
透過 Infrastructure Composer 主控台存取 Infrastructure Composer 以快速入門。此外，您可以使用**本機同步**模式，自動同步並儲存 Infrastructure Composer 與您的本機電腦。  

![Infrastructure Composer 畫布使用本機同步模式與本機機器同步。](http://docs.aws.amazon.com/zh_tw/infrastructure-composer/latest/dg/images/aac_other_ide_01.gif)


**從 CloudFormation 主控台**  <a name="what-is-composer-from-cfn-console"></a>
Infrastructure Composer 主控台也支援 [CloudFormation 主控台模式](using-composer-console-cfn-mode.md)，這是 CloudFormation 設計工具與 CloudFormation 堆疊工作流程整合的改善項目。這個新工具現在是視覺化 CloudFormation 範本的建議工具。

**從 Lambda 主控台**  <a name="what-is-composer-from-lam-console"></a>
使用 Infrastructure Composer，您也可以從 Lambda 主控台匯入 Lambda 函數。如需詳細資訊，請參閱 [從 Lambda 主控台將函數匯入 Infrastructure Composer](other-services-lambda.md)。

**從 AWS Toolkit for Visual Studio Code**  <a name="what-is-composer-access-ide"></a>
透過 Toolkit for VS Code Extension 存取 Infrastructure Composer，將 Infrastructure Composer 帶入您的本機開發環境。  

![透過 存取的 Infrastructure Composer AWS Toolkit for Visual Studio Code。](http://docs.aws.amazon.com/zh_tw/infrastructure-composer/latest/dg/images/aac_intro_07.gif)


## 進一步了解
<a name="what-is-composer-learn"></a>

若要繼續了解 Infrastructure Composer，請參閱下列資源：
+ [Infrastructure Composer 卡](using-composer-cards-intro.md)
+ [視覺化編寫和建立無伺服器應用程式 \| 無伺服器辦公時間](https://www.youtube.com/watch?v=G7Gp2pzSMYY) – Infrastructure Composer 的概觀和示範。

## 後續步驟
<a name="what-is-composer-next"></a>

若要設定 Infrastructure Composer，請參閱 [Infrastructure Composer 主控台入門](getting-started.md)。