aws ssm list-resource-data-sync
Lists your resource data sync configurations. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To list your resource data sync configurations
The following list-resource-data-sync example retrieves information about your resource data sync configurations.
aws ssm list-resource-data-syncIdentifyIts output
{
"ResourceDataSyncItems": [
{
"SyncName": "MyResourceDataSync",
"S3Destination": {
"BucketName": "amzn-s3-demo-bucket",
"SyncFormat": "JsonSerDe",
"Region": "us-west-2"
},
"LastSyncTime": 1550261472.003,
"LastSuccessfulSyncTime": 1550261472.003,
"LastStatus": "Successful",
"SyncCreatedTime": 1543235736.72,
"LastSyncStatusMessage": "The sync was successfully completed"
}
]
}For more information, see Creating a resource data sync for Inventory in the AWS Systems Manager User Guide.
Options
--max-resultsThe maximum number of items to return for this call.--next-tokenA token to start the list.--sync-typeView a list of resource data syncs according to the sync type.