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.
Container for the parameters to the StartExportTask operation. Starts an export of DB snapshot or DB cluster data to Amazon S3. The provided IAM role must have access to the S3 bucket.
You can't export snapshot data from RDS Custom DB instances. For more information, see Supported Regions and DB engines for exporting snapshots to S3 in Amazon RDS.
For more information on exporting DB snapshot data, see Exporting DB snapshot data to Amazon S3 in the Amazon RDS User Guide or Exporting DB cluster snapshot data to Amazon S3 in the Amazon Aurora User Guide.
For more information on exporting DB cluster data, see Exporting DB cluster data to Amazon S3 in the Amazon Aurora User Guide.
Namespace: Amazon.RDS.Model
Assembly: AWSSDK.RDS.dll
Version: 3.x.y.z
public class StartExportTaskRequest : AmazonRDSRequest IAmazonWebServiceRequest
The StartExportTaskRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
StartExportTaskRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ExportOnly | System.Collections.Generic.List<System.String> |
Gets and sets the property ExportOnly. The data to be exported from the snapshot or cluster. If this parameter isn't provided, all of the data is exported. Valid Values:
|
![]() |
ExportTaskIdentifier | System.String |
Gets and sets the property ExportTaskIdentifier. A unique identifier for the export task. This ID isn't an identifier for the Amazon S3 bucket where the data is to be exported. |
![]() |
IamRoleArn | System.String |
Gets and sets the property IamRoleArn. The name of the IAM role to use for writing to the Amazon S3 bucket when exporting a snapshot or cluster. In the IAM policy attached to your IAM role, include the following required actions to allow the transfer of files from Amazon RDS or Amazon Aurora to an S3 bucket:
In the policy, include the resources to identify the S3 bucket and objects in the bucket. The following list of resources shows the Amazon Resource Name (ARN) format for accessing S3:
|
![]() |
KmsKeyId | System.String |
Gets and sets the property KmsKeyId. The ID of the Amazon Web Services KMS key to use to encrypt the data exported to Amazon S3. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. The caller of this operation must be authorized to run the following operations. These can be set in the Amazon Web Services KMS key policy:
|
![]() |
S3BucketName | System.String |
Gets and sets the property S3BucketName. The name of the Amazon S3 bucket to export the snapshot or cluster data to. |
![]() |
S3Prefix | System.String |
Gets and sets the property S3Prefix. The Amazon S3 bucket prefix to use as the file name and path of the exported data. |
![]() |
SourceArn | System.String |
Gets and sets the property SourceArn. The Amazon Resource Name (ARN) of the snapshot or cluster to export to Amazon S3. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5