

• AWS Systems Manager CloudWatch ダッシュボードは、2026 年 4 月 30 日以降は利用できなくなります。お客様は、これまでと同様に Amazon CloudWatch コンソールを使用して、Amazon CloudWatch ダッシュボードの表示、作成、管理を継続できます。詳細については、「[Amazon CloudWatch ダッシュボードのドキュメント](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Dashboards.html)」を参照してください。

# ステップ 2: Systems Manager Cloud Connector を作成する
<a name="cloud-connector-create-ssm-connector"></a>

Cloud Connector を設定したら、Systems Manager Cloud Connector を作成します。Systems Manager Cloud Connector は、Azure テナントとサブスクリプションの設定を保存し、それをコネクタにリンクさせます。

**Systems Manager Cloud Connector を作成するには**

1. 以下のコマンドを実行してください。プレースホルダーの値を、Azure テナント ID、Systems Manager アプリケーション (クライアント) ID、サブスクリプション ID、Systems Manager Azure フェデレーションロール ARN、およびステップ 1 のコネクタ ARN に置き換えます。

   ```
   aws ssm create-cloud-connector \
       --display-name "{{MyAzureConnector}}" \
       --configuration '{
           "AzureConfiguration": {
               "TenantId": "{{TENANT_ID}}",
               "ApplicationId": "{{SSM_APP_CLIENT_ID}}",
               "Targets": {
                   "Subscriptions": [
                       {"Id": "{{SUBSCRIPTION_ID}}"}
                   ]
               }
           }
       }' \
       --role-arn "arn:aws:iam::{{ACCOUNT_ID}}:role/service-role/SSM-AzureRole-{{CONNECTOR_NAME}}-{{ID8}}" \
       --config-connector-arn {{CONFIG_CONNECTOR_ARN}}
   ```

   テナント内のすべてのサブスクリプションをターゲットにするには (テナントレベルのセットアップ）、設定から `Targets` フィールドを省略します。

   レスポンスが `CloudConnectorId` と `CloudConnectorArn` を返します。今後の作業のためにこれらの値を書き留めておきます。

1. Cloud Connector が正常に作成されたことを確認します。

   ```
   aws ssm get-cloud-connector \
       --cloud-connector-id {{CLOUD_CONNECTOR_ID}}
   ```