**To get the current state of a resource** The following ``get-resource`` example returns the current state of the AWS::Kinesis::Stream resource named ResourceExample. :: aws cloudcontrol get-resource \ --type-name AWS::Kinesis::Stream \ --identifier ResourceExample Output:: { "TypeName": "AWS::Kinesis::Stream", "ResourceDescription": { "Identifier": "ResourceExample", "Properties": "{\"Arn\":\"arn:aws:kinesis:us-west-2:099908667365:stream/ResourceExample\",\"RetentionPeriodHours\":168,\"Name\":\"ResourceExample\",\"ShardCount\":3}" } } For more information, see `Reading a resource's current state <https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-read.html>`__ in the *Cloud Control API User Guide*.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
create-resource.rst | File | 933 B | 0644 |
|
delete-resource.rst | File | 827 B | 0644 |
|
get-resource-request-status.rst | File | 995 B | 0644 |
|
get-resource.rst | File | 834 B | 0644 |
|
list-resource-requests.rst | File | 1.08 KB | 0644 |
|
list-resources.rst | File | 829 B | 0644 |
|
update-resource.rst | File | 966 B | 0644 |
|