名前による ElastiCache パラメータグループの一覧表示 - Amazon ElastiCache

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

名前による ElastiCache パラメータグループの一覧表示

パラメータグループは、 ElastiCache コンソール、 AWS CLI、または ElastiCache を使用して一覧表示できますAPI。

パラメータグループを名前別に一覧表示する (コンソール)

次の手順は、ElastiCache コンソールを使用してパラメータグループのリストを表示する方法を示しています。

ElastiCache コンソールを使用してパラメータグループを一覧表示するには
  1. にサインイン AWS Management Console し、 https://console.aws.amazon.com/elasticache/で ElastiCache コンソールを開きます。

  2. 使用可能なすべてのパラメータグループのリストを表示するには、左側のナビゲーションペインで [パラメータグループ] を選択します。

名前による ElastiCache パラメータグループの一覧表示 (AWS CLI)

を使用してパラメータグループのリストを生成するには AWS CLI、 コマンド を使用しますdescribe-cache-parameter-groups。パラメータグループの名前を指定した場合は、そのパラメータグループのみが一覧表示されます。パラメータグループの名前を指定しない場合は、最大で --max-records のパラメータグループが一覧表示されます。いずれの場合も、パラメータグループの名前、ファミリー、および説明が表示されます。

次のサンプルコードは、パラメータグループ myMem14 を一覧表示します。

Linux、macOS、Unix の場合:

aws elasticache describe-cache-parameter-groups \ --cache-parameter-group-name myMem14

Windows の場合:

aws elasticache describe-cache-parameter-groups ^ --cache-parameter-group-name myMem14

このコマンドの出力は、名前の一覧、ファミリー、パラメータグループの説明となります。

{ "CacheParameterGroups": [ { "CacheParameterGroupName": "myMem14", "CacheParameterGroupFamily": "memcached1.4", "Description": "My first parameter group" } ] }

次のサンプルコードは、パラメータグループ myRed28 を一覧表示します。

Linux、macOS、Unix の場合:

aws elasticache describe-cache-parameter-groups \ --cache-parameter-group-name myRed28

Windows の場合:

aws elasticache describe-cache-parameter-groups ^ --cache-parameter-group-name myRed28

このコマンドの出力は、名前の一覧、ファミリー、パラメータグループの説明となります。

{ "CacheParameterGroups": [ { "CacheParameterGroupName": "myRed28", "CacheParameterGroupFamily": "redis2.8", "Description": "My first parameter group" } ] }

次のサンプルコードは、Redis OSS エンジンバージョン myRed5.0.6 以降で実行されているパラメータグループのパラメータグループ 56 を一覧表示します。パラメータグループがグローバルデータストアを使用した AWS リージョン間のレプリケーション の一部である場合、出力で返される IsGlobal プロパティ値は Yes になります。

Linux、macOS、Unix の場合:

aws elasticache describe-cache-parameter-groups \ --cache-parameter-group-name myRed56

Windows の場合:

aws elasticache describe-cache-parameter-groups ^ --cache-parameter-group-name myRed56

このコマンドの出力は、パラメータグループの名前、ファミリー、 isGlobal 説明を一覧表示して、次のようなようになります。

{ "CacheParameterGroups": [ { "CacheParameterGroupName": "myRed56", "CacheParameterGroupFamily": "redis5.0", "Description": "My first parameter group", "IsGlobal": "yes" } ] }

次のサンプルコードリストには、最大で 10 個のパラメータグループが一覧されています。

aws elasticache describe-cache-parameter-groups --max-records 10

このコマンドのJSON出力は、名前、ファミリー、説明、および redis5.6 の場合、パラメータグループがグローバルデータストア (isGlobal) の一部であるかどうかをパラメータグループごとに一覧表示して、次のように表示されます。

{ "CacheParameterGroups": [ { "CacheParameterGroupName": "custom-redis32", "CacheParameterGroupFamily": "redis3.2", "Description": "custom parameter group with reserved-memory > 0" }, { "CacheParameterGroupName": "default.memcached1.4", "CacheParameterGroupFamily": "memcached1.4", "Description": "Default parameter group for memcached1.4" }, { "CacheParameterGroupName": "default.redis2.6", "CacheParameterGroupFamily": "redis2.6", "Description": "Default parameter group for redis2.6" }, { "CacheParameterGroupName": "default.redis2.8", "CacheParameterGroupFamily": "redis2.8", "Description": "Default parameter group for redis2.8" }, { "CacheParameterGroupName": "default.redis3.2", "CacheParameterGroupFamily": "redis3.2", "Description": "Default parameter group for redis3.2" }, { "CacheParameterGroupName": "default.redis3.2.cluster.on", "CacheParameterGroupFamily": "redis3.2", "Description": "Customized default parameter group for redis3.2 with cluster mode on" }, { "CacheParameterGroupName": "default.redis5.6.cluster.on", "CacheParameterGroupFamily": "redis5.0", "Description": "Customized default parameter group for redis5.6 with cluster mode on", "isGlobal": "yes" }, ] }

詳細については、「describe-cache-parameter-groups」を参照してください。

名前による ElastiCache パラメータグループの一覧表示 (ElastiCache API)

を使用してパラメータグループのリストを生成するには ElastiCache API、 DescribeCacheParameterGroupsアクションを使用します。パラメータグループの名前を指定した場合は、そのパラメータグループのみが一覧表示されます。パラメータグループの名前を指定しない場合は、最大で MaxRecords のパラメータグループが一覧表示されます。いずれの場合も、パラメータグループの名前、ファミリー、および説明が表示されます。

次のサンプルコードは、パラメータグループ myMem14 を一覧表示します。

https://elasticache.us-west-2.amazonaws.com/ ?Action=DescribeCacheParameterGroups &CacheParameterGroupName=myMem14 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &Version=2015-02-02 &X-Amz-Credential=<credential>

このアクションからの応答は、各グループパラメータの名前の一覧、ファミリー、説明となります。

<DescribeCacheParameterGroupsResponse xmlns="http://elasticache.amazonaws.com/doc/2013-06-15/"> <DescribeCacheParameterGroupsResult> <CacheParameterGroups> <CacheParameterGroup> <CacheParameterGroupName>myMem14</CacheParameterGroupName> <CacheParameterGroupFamily>memcached1.4</CacheParameterGroupFamily> <Description>My custom Memcached 1.4 parameter group</Description> </CacheParameterGroup> </CacheParameterGroups> </DescribeCacheParameterGroupsResult> <ResponseMetadata> <RequestId>3540cc3d-af48-11e0-97f9-279771c4477e</RequestId> </ResponseMetadata> </DescribeCacheParameterGroupsResponse>

次のサンプルコードリストには、最大で 10 個のパラメータグループが一覧されています。

https://elasticache.us-west-2.amazonaws.com/ ?Action=DescribeCacheParameterGroups &MaxRecords=10 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &Version=2015-02-02 &X-Amz-Credential=<credential>

このアクションからのレスポンスは、名前、ファミリー、説明、およびパラメータグループがグローバルデータストア (isGlobal) に属する場合は redis5.6 の場合、パラメータグループごとにリストされます。

<DescribeCacheParameterGroupsResponse xmlns="http://elasticache.amazonaws.com/doc/2013-06-15/"> <DescribeCacheParameterGroupsResult> <CacheParameterGroups> <CacheParameterGroup> <CacheParameterGroupName>myRedis28</CacheParameterGroupName> <CacheParameterGroupFamily>redis2.8</CacheParameterGroupFamily> <Description>My custom Redis 2.8 parameter group</Description> </CacheParameterGroup> <CacheParameterGroup> <CacheParameterGroupName>myMem14</CacheParameterGroupName> <CacheParameterGroupFamily>memcached1.4</CacheParameterGroupFamily> <Description>My custom Memcached 1.4 parameter group</Description> </CacheParameterGroup> <CacheParameterGroup> <CacheParameterGroupName>myRedis56</CacheParameterGroupName> <CacheParameterGroupFamily>redis5.0</CacheParameterGroupFamily> <Description>My custom redis 5.6 parameter group</Description> <isGlobal>yes</isGlobal> </CacheParameterGroup> </CacheParameterGroups> </DescribeCacheParameterGroupsResult> <ResponseMetadata> <RequestId>3540cc3d-af48-11e0-97f9-279771c4477e</RequestId> </ResponseMetadata> </DescribeCacheParameterGroupsResponse>

次のサンプルコードは、パラメータグループ myRed28 を一覧表示します。

https://elasticache.us-west-2.amazonaws.com/ ?Action=DescribeCacheParameterGroups &CacheParameterGroupName=myRed28 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &Version=2015-02-02 &X-Amz-Credential=<credential>

このアクションからの応答は、名前、ファミリー、説明となります。

<DescribeCacheParameterGroupsResponse xmlns="http://elasticache.amazonaws.com/doc/2013-06-15/"> <DescribeCacheParameterGroupsResult> <CacheParameterGroups> <CacheParameterGroup> <CacheParameterGroupName>myRed28</CacheParameterGroupName> <CacheParameterGroupFamily>redis2.8</CacheParameterGroupFamily> <Description>My custom Redis 2.8 parameter group</Description> </CacheParameterGroup> </CacheParameterGroups> </DescribeCacheParameterGroupsResult> <ResponseMetadata> <RequestId>3540cc3d-af48-11e0-97f9-279771c4477e</RequestId> </ResponseMetadata> </DescribeCacheParameterGroupsResponse>

次のサンプルコードは、パラメータグループ myRed56 を一覧表示します。

https://elasticache.us-west-2.amazonaws.com/ ?Action=DescribeCacheParameterGroups &CacheParameterGroupName=myRed56 &SignatureVersion=4 &SignatureMethod=HmacSHA256 &Timestamp=20150202T192317Z &Version=2015-02-02 &X-Amz-Credential=<credential>

このアクションからのレスポンスは、名前、ファミリー、説明、およびパラメータグループがグローバルデータストア () の一部であるかどうかを一覧表示して、次のように表示されますisGlobal。

<DescribeCacheParameterGroupsResponse xmlns="http://elasticache.amazonaws.com/doc/2013-06-15/"> <DescribeCacheParameterGroupsResult> <CacheParameterGroups> <CacheParameterGroup> <CacheParameterGroupName>myRed56</CacheParameterGroupName> <CacheParameterGroupFamily>redis5.0</CacheParameterGroupFamily> <Description>My custom Redis 5.6 parameter group</Description> <isGlobal>yes</isGlobal> </CacheParameterGroup> </CacheParameterGroups> </DescribeCacheParameterGroupsResult> <ResponseMetadata> <RequestId>3540cc3d-af48-11e0-97f9-279771c4477e</RequestId> </ResponseMetadata> </DescribeCacheParameterGroupsResponse>

詳細については、「DescribeCacheParameterGroups」を参照してください。