AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates a resource data sync configuration to a single bucket in Amazon S3. This is an asynchronous operation that returns immediately. After a successful initial sync is completed, the system continuously syncs data to the Amazon S3 bucket. To check the status of the sync, use the ListResourceDataSync operation.

By default, data is not encrypted in Amazon S3. We strongly recommend that you enable encryption in Amazon S3 to ensure secure data storage. We also recommend that you secure access to the Amazon S3 bucket by creating a restrictive bucket policy. To view an example of a restrictive Amazon S3 bucket policy for Resource Data Sync, see Configuring Resource Data Sync for Inventory.

Note:

For PCL this operation is only available in asynchronous form. Please refer to CreateResourceDataSyncAsync.

Namespace: Amazon.SimpleSystemsManagement
Assembly: AWSSDK.SimpleSystemsManagement.dll
Version: 3.x.y.z

Syntax

C#
public abstract CreateResourceDataSyncResponse CreateResourceDataSync(
         CreateResourceDataSyncRequest request
)
Parameters
request
Type: Amazon.SimpleSystemsManagement.Model.CreateResourceDataSyncRequest

Container for the necessary parameters to execute the CreateResourceDataSync service method.

Return Value
The response from the CreateResourceDataSync service method, as returned by SimpleSystemsManagement.

Exceptions

ExceptionCondition
InternalServerErrorException An error occurred on the server side.
ResourceDataSyncAlreadyExistsException A sync configuration with the same name already exists.
ResourceDataSyncCountExceededException You have exceeded the allowed maximum sync configurations.
ResourceDataSyncInvalidConfigurationException The specified sync configuration is invalid.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also