CmdID

CmdID / aws / aws cloudcontrol

aws cloudcontrol list-resources

Returns information about the specified resources. AWS CLI reference

1 example 6 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 list the resources of a given type

The following list-resources example lists the AWS::Kinesis::Stream resources provisioned in your AWS account.

aws cloudcontrol list-resources --type-name AWS::Kinesis::StreamIdentify
--type-nameThe name of the resource type.
Its output
{
    "TypeName": "AWS::Kinesis::Stream",
    "ResourceDescriptions": [
        {
            "Identifier": "MyKinesisStream",
            "Properties": "{\"Name\":\"MyKinesisStream\"}"
        },
        {
            "Identifier": "AnotherStream",
            "Properties": "{\"Name\":\"AnotherStream\"}"
        }
    ]
}

For more information, see Discovering resources in the Cloud Control API User Guide.

Options

6 in the AWS CLI reference
--max-resultsReserved.
--next-tokenIf the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token.
--resource-modelThe resource model to use to select the resources to return.
--role-arnThe Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role for Cloud Control API to use when performing this resource operation.
--type-nameThe name of the resource type.
--type-version-idFor private resource types, the type version to use in this resource operation.