Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 829 Bytes

File metadata and controls

24 lines (19 loc) · 829 Bytes

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::Stream

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.