Create Replication Configuration
efs_create_replication_configuration | R Documentation |
Creates a replication configuration to either a new or existing EFS file system¶
Description¶
Creates a replication configuration to either a new or existing EFS file system. For more information, see Amazon EFS replication in the Amazon EFS User Guide. The replication configuration specifies the following:
-
Source file system – The EFS file system that you want to replicate.
-
Destination file system – The destination file system to which the source file system is replicated. There can only be one destination file system in a replication configuration.
A file system can be part of only one replication configuration.
The destination parameters for the replication configuration depend on whether you are replicating to a new file system or to an existing file system, and if you are replicating across Amazon Web Services accounts. See DestinationToCreate for more information.
This operation requires permissions for the
elasticfilesystem:CreateReplicationConfiguration
action. Additionally,
other permissions are required depending on how you are replicating file
systems. For more information, see Required permissions for
replication
in the Amazon EFS User Guide.
Usage¶
Arguments¶
SourceFileSystemId
[required] Specifies the Amazon EFS file system that you want to replicate. This file system cannot already be a source or destination file system in another replication configuration.
Destinations
[required] An array of destination configuration objects. Only one destination configuration object is supported.
Value¶
A list with the following syntax:
list(
SourceFileSystemId = "string",
SourceFileSystemRegion = "string",
SourceFileSystemArn = "string",
OriginalSourceFileSystemArn = "string",
CreationTime = as.POSIXct(
"2015-01-01"
),
Destinations = list(
list(
Status = "ENABLED"|"ENABLING"|"DELETING"|"ERROR"|"PAUSED"|"PAUSING",
FileSystemId = "string",
Region = "string",
LastReplicatedTimestamp = as.POSIXct(
"2015-01-01"
),
OwnerId = "string",
StatusMessage = "string",
RoleArn = "string"
)
),
SourceFileSystemOwnerId = "string"
)