CmdID

CmdID / aws / aws ssm

aws ssm describe-document-permission

Describes the permissions for a Amazon Web Services Systems Manager document (SSM document). AWS CLI reference

1 example 4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To describe document permissions

The following describe-document-permission example displays permission details about a Systems Manager document that is shared publicly.

aws ssm describe-document-permission --name "Example" --permission-type "Share"Identify
--nameThe name of the document for which you are the owner.
--permission-typeThe permission type for the document.
Its output
{
    "AccountIds": [
        "all"
    ],
    "AccountSharingInfoList": [
        {
            "AccountId": "all",
            "SharedDocumentVersion": "$DEFAULT"
        }
    ]
}

For more information, see Share a Systems Manager Document in the AWS Systems Manager User Guide.

Options

4 in the AWS CLI reference
--max-resultsThe maximum number of items to return for this call.
--nameThe name of the document for which you are the owner.
--next-tokenThe token for the next set of items to return.
--permission-typeThe permission type for the document.