パッケージの表示 - AWS Systems Manager

パッケージの表示

インストール可能なパッケージを表示するには、AWS Systems Manager コンソールまたは任意の AWS コマンドラインツールを使用します。Distributor は AWS Systems Manager の一機能です。Distributor にアクセスするには、AWS Systems Manager コンソールを開き、左側のナビゲーションペインで [Distributor] を選択します。利用可能なパッケージがすべて表示されます。

次のセクションでは、任意のコマンドラインツールを使用して Distributor パッケージを表示する方法について説明します。

パッケージの表示 (コマンドライン)

このセクションでは、任意のコマンドラインツールを使用して、提供されたコマンドを使用して Distributor パッケージを表示する方法について説明します。

Linux & macOS
Linux で AWS CLI を使用してパッケージを表示するには
  • 共有パッケージを除くすべてのパッケージを表示するには、次のコマンドを実行します。

    aws ssm list-documents \ --filters Key=DocumentType,Values=Package
  • Amazon が所有するすべてのパッケージを表示するには、次のコマンドを実行します。

    aws ssm list-documents \ --filters Key=DocumentType,Values=Package Key=Owner,Values=Amazon
  • サードパーティーが所有するすべてのパッケージを表示するには、次のコマンドを実行します。

    aws ssm list-documents \ --filters Key=DocumentType,Values=Package Key=Owner,Values=ThirdParty
Windows
Windows で AWS CLI を使用してパッケージを表示するには
  • 共有パッケージを除くすべてのパッケージを表示するには、次のコマンドを実行します。

    aws ssm list-documents ^ --filters Key=DocumentType,Values=Package
  • Amazon が所有するすべてのパッケージを表示するには、次のコマンドを実行します。

    aws ssm list-documents ^ --filters Key=DocumentType,Values=Package Key=Owner,Values=Amazon
  • サードパーティーが所有するすべてのパッケージを表示するには、次のコマンドを実行します。

    aws ssm list-documents ^ --filters Key=DocumentType,Values=Package Key=Owner,Values=ThirdParty
PowerShell
Tools for PowerShell を使用してパッケージを表示するには
  • 共有パッケージを除くすべてのパッケージを表示するには、次のコマンドを実行します。

    $filter = New-Object Amazon.SimpleSystemsManagement.Model.DocumentKeyValuesFilter $filter.Key = "DocumentType" $filter.Values = "Package" Get-SSMDocumentList ` -Filters @($filter)
  • Amazon が所有するすべてのパッケージを表示するには、次のコマンドを実行します。

    $typeFilter = New-Object Amazon.SimpleSystemsManagement.Model.DocumentKeyValuesFilter $typeFilter.Key = "DocumentType" $typeFilter.Values = "Package" $ownerFilter = New-Object Amazon.SimpleSystemsManagement.Model.DocumentKeyValuesFilter $ownerFilter.Key = "Owner" $ownerFilter.Values = "Amazon" Get-SSMDocumentList ` -Filters @($typeFilter,$ownerFilter)
  • サードパーティーが所有するすべてのパッケージを表示するには、次のコマンドを実行します。

    $typeFilter = New-Object Amazon.SimpleSystemsManagement.Model.DocumentKeyValuesFilter $typeFilter.Key = "DocumentType" $typeFilter.Values = "Package" $ownerFilter = New-Object Amazon.SimpleSystemsManagement.Model.DocumentKeyValuesFilter $ownerFilter.Key = "Owner" $ownerFilter.Values = "ThirdParty" Get-SSMDocumentList ` -Filters @($typeFilter,$ownerFilter)