

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# Amazon OpenSearch Service Serverless
<a name="datasources-opensearch-serverless"></a>

**注記**  
OpenSearch Service Serverless は、Grafana バージョン 9.4 以降を実行している Grafana ワークスペースでのみ使用することができます。

Amazon Managed Grafana では、OpenSearch Service データソースを使用して、Amazon OpenSearch Service Serverless のデータにアクセスできます。データへのアクセス権は、データアクセスポリシーによって制御されます。以下に、ユーザーが特定のコレクションとインデックスをクエリできるようにするポリシーの例を紹介します。{{`collection_name`}}、{{`index_name`}}、{{`principal_arn`}} を実際の使用に合わせた値に置き換えてください。

```
[
  {
    "Rules": [
      {
        "Resource": ["collection/{{{collection_name}}}"],
        "Permission": ["aoss:DescribeCollectionItems"],
        "ResourceType": "collection"
      },
      {
        "Resource": ["index/{{{collection_name}}}/{{{index_name}}}"],
        "Permission": ["aoss:DescribeIndex", "aoss:ReadDocument"],
        "ResourceType": "index"
      }
    ],
    "Principal": ["{{principal_arn}}"],
    "Description": "read-access"
  }
]
```