1. Packages
  2. AWS
  3. API Docs
  4. efs
  5. ReplicationConfiguration
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.efs.ReplicationConfiguration

Explore with Pulumi AI

Creates a replica of an existing EFS file system in the same or another region. Creating this resource causes the source EFS file system to be replicated to a new read-only destination EFS file system (unless using the destination.file_system_id attribute). Deleting this resource will cause the replication from source to destination to stop and the destination file system will no longer be read only.

NOTE: Deleting this resource does not delete the destination file system that was created.

Example Usage

Will create a replica using regional storage in us-west-2 that will be encrypted by the default EFS KMS key /aws/elasticfilesystem.

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.efs.FileSystem("example", {});
const exampleReplicationConfiguration = new aws.efs.ReplicationConfiguration("example", {
    sourceFileSystemId: example.id,
    destination: {
        region: "us-west-2",
    },
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.efs.FileSystem("example")
example_replication_configuration = aws.efs.ReplicationConfiguration("example",
    source_file_system_id=example.id,
    destination={
        "region": "us-west-2",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := efs.NewFileSystem(ctx, "example", nil)
		if err != nil {
			return err
		}
		_, err = efs.NewReplicationConfiguration(ctx, "example", &efs.ReplicationConfigurationArgs{
			SourceFileSystemId: example.ID(),
			Destination: &efs.ReplicationConfigurationDestinationArgs{
				Region: pulumi.String("us-west-2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Efs.FileSystem("example");

    var exampleReplicationConfiguration = new Aws.Efs.ReplicationConfiguration("example", new()
    {
        SourceFileSystemId = example.Id,
        Destination = new Aws.Efs.Inputs.ReplicationConfigurationDestinationArgs
        {
            Region = "us-west-2",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.efs.FileSystem;
import com.pulumi.aws.efs.ReplicationConfiguration;
import com.pulumi.aws.efs.ReplicationConfigurationArgs;
import com.pulumi.aws.efs.inputs.ReplicationConfigurationDestinationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new FileSystem("example");

        var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()
            .sourceFileSystemId(example.id())
            .destination(ReplicationConfigurationDestinationArgs.builder()
                .region("us-west-2")
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: aws:efs:FileSystem
  exampleReplicationConfiguration:
    type: aws:efs:ReplicationConfiguration
    name: example
    properties:
      sourceFileSystemId: ${example.id}
      destination:
        region: us-west-2
Copy

Replica will be created as One Zone storage in the us-west-2b Availability Zone and encrypted with the specified KMS key.

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.efs.FileSystem("example", {});
const exampleReplicationConfiguration = new aws.efs.ReplicationConfiguration("example", {
    sourceFileSystemId: example.id,
    destination: {
        availabilityZoneName: "us-west-2b",
        kmsKeyId: "1234abcd-12ab-34cd-56ef-1234567890ab",
    },
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.efs.FileSystem("example")
example_replication_configuration = aws.efs.ReplicationConfiguration("example",
    source_file_system_id=example.id,
    destination={
        "availability_zone_name": "us-west-2b",
        "kms_key_id": "1234abcd-12ab-34cd-56ef-1234567890ab",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := efs.NewFileSystem(ctx, "example", nil)
		if err != nil {
			return err
		}
		_, err = efs.NewReplicationConfiguration(ctx, "example", &efs.ReplicationConfigurationArgs{
			SourceFileSystemId: example.ID(),
			Destination: &efs.ReplicationConfigurationDestinationArgs{
				AvailabilityZoneName: pulumi.String("us-west-2b"),
				KmsKeyId:             pulumi.String("1234abcd-12ab-34cd-56ef-1234567890ab"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Efs.FileSystem("example");

    var exampleReplicationConfiguration = new Aws.Efs.ReplicationConfiguration("example", new()
    {
        SourceFileSystemId = example.Id,
        Destination = new Aws.Efs.Inputs.ReplicationConfigurationDestinationArgs
        {
            AvailabilityZoneName = "us-west-2b",
            KmsKeyId = "1234abcd-12ab-34cd-56ef-1234567890ab",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.efs.FileSystem;
import com.pulumi.aws.efs.ReplicationConfiguration;
import com.pulumi.aws.efs.ReplicationConfigurationArgs;
import com.pulumi.aws.efs.inputs.ReplicationConfigurationDestinationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new FileSystem("example");

        var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()
            .sourceFileSystemId(example.id())
            .destination(ReplicationConfigurationDestinationArgs.builder()
                .availabilityZoneName("us-west-2b")
                .kmsKeyId("1234abcd-12ab-34cd-56ef-1234567890ab")
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: aws:efs:FileSystem
  exampleReplicationConfiguration:
    type: aws:efs:ReplicationConfiguration
    name: example
    properties:
      sourceFileSystemId: ${example.id}
      destination:
        availabilityZoneName: us-west-2b
        kmsKeyId: 1234abcd-12ab-34cd-56ef-1234567890ab
Copy

Will create a replica and set the existing file system with id fs-1234567890 in us-west-2 as destination.

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.efs.FileSystem("example", {});
const exampleReplicationConfiguration = new aws.efs.ReplicationConfiguration("example", {
    sourceFileSystemId: example.id,
    destination: {
        fileSystemId: "fs-1234567890",
        region: "us-west-2",
    },
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.efs.FileSystem("example")
example_replication_configuration = aws.efs.ReplicationConfiguration("example",
    source_file_system_id=example.id,
    destination={
        "file_system_id": "fs-1234567890",
        "region": "us-west-2",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := efs.NewFileSystem(ctx, "example", nil)
		if err != nil {
			return err
		}
		_, err = efs.NewReplicationConfiguration(ctx, "example", &efs.ReplicationConfigurationArgs{
			SourceFileSystemId: example.ID(),
			Destination: &efs.ReplicationConfigurationDestinationArgs{
				FileSystemId: pulumi.String("fs-1234567890"),
				Region:       pulumi.String("us-west-2"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Efs.FileSystem("example");

    var exampleReplicationConfiguration = new Aws.Efs.ReplicationConfiguration("example", new()
    {
        SourceFileSystemId = example.Id,
        Destination = new Aws.Efs.Inputs.ReplicationConfigurationDestinationArgs
        {
            FileSystemId = "fs-1234567890",
            Region = "us-west-2",
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.efs.FileSystem;
import com.pulumi.aws.efs.ReplicationConfiguration;
import com.pulumi.aws.efs.ReplicationConfigurationArgs;
import com.pulumi.aws.efs.inputs.ReplicationConfigurationDestinationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new FileSystem("example");

        var exampleReplicationConfiguration = new ReplicationConfiguration("exampleReplicationConfiguration", ReplicationConfigurationArgs.builder()
            .sourceFileSystemId(example.id())
            .destination(ReplicationConfigurationDestinationArgs.builder()
                .fileSystemId("fs-1234567890")
                .region("us-west-2")
                .build())
            .build());

    }
}
Copy
resources:
  example:
    type: aws:efs:FileSystem
  exampleReplicationConfiguration:
    type: aws:efs:ReplicationConfiguration
    name: example
    properties:
      sourceFileSystemId: ${example.id}
      destination:
        fileSystemId: fs-1234567890
        region: us-west-2
Copy

Create ReplicationConfiguration Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ReplicationConfiguration(name: string, args: ReplicationConfigurationArgs, opts?: CustomResourceOptions);
@overload
def ReplicationConfiguration(resource_name: str,
                             args: ReplicationConfigurationArgs,
                             opts: Optional[ResourceOptions] = None)

@overload
def ReplicationConfiguration(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             destination: Optional[ReplicationConfigurationDestinationArgs] = None,
                             source_file_system_id: Optional[str] = None)
func NewReplicationConfiguration(ctx *Context, name string, args ReplicationConfigurationArgs, opts ...ResourceOption) (*ReplicationConfiguration, error)
public ReplicationConfiguration(string name, ReplicationConfigurationArgs args, CustomResourceOptions? opts = null)
public ReplicationConfiguration(String name, ReplicationConfigurationArgs args)
public ReplicationConfiguration(String name, ReplicationConfigurationArgs args, CustomResourceOptions options)
type: aws:efs:ReplicationConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ReplicationConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ReplicationConfigurationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ReplicationConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ReplicationConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ReplicationConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var awsReplicationConfigurationResource = new Aws.Efs.ReplicationConfiguration("awsReplicationConfigurationResource", new()
{
    Destination = new Aws.Efs.Inputs.ReplicationConfigurationDestinationArgs
    {
        AvailabilityZoneName = "string",
        FileSystemId = "string",
        KmsKeyId = "string",
        Region = "string",
        Status = "string",
    },
    SourceFileSystemId = "string",
});
Copy
example, err := efs.NewReplicationConfiguration(ctx, "awsReplicationConfigurationResource", &efs.ReplicationConfigurationArgs{
	Destination: &efs.ReplicationConfigurationDestinationArgs{
		AvailabilityZoneName: pulumi.String("string"),
		FileSystemId:         pulumi.String("string"),
		KmsKeyId:             pulumi.String("string"),
		Region:               pulumi.String("string"),
		Status:               pulumi.String("string"),
	},
	SourceFileSystemId: pulumi.String("string"),
})
Copy
var awsReplicationConfigurationResource = new ReplicationConfiguration("awsReplicationConfigurationResource", ReplicationConfigurationArgs.builder()
    .destination(ReplicationConfigurationDestinationArgs.builder()
        .availabilityZoneName("string")
        .fileSystemId("string")
        .kmsKeyId("string")
        .region("string")
        .status("string")
        .build())
    .sourceFileSystemId("string")
    .build());
Copy
aws_replication_configuration_resource = aws.efs.ReplicationConfiguration("awsReplicationConfigurationResource",
    destination={
        "availability_zone_name": "string",
        "file_system_id": "string",
        "kms_key_id": "string",
        "region": "string",
        "status": "string",
    },
    source_file_system_id="string")
Copy
const awsReplicationConfigurationResource = new aws.efs.ReplicationConfiguration("awsReplicationConfigurationResource", {
    destination: {
        availabilityZoneName: "string",
        fileSystemId: "string",
        kmsKeyId: "string",
        region: "string",
        status: "string",
    },
    sourceFileSystemId: "string",
});
Copy
type: aws:efs:ReplicationConfiguration
properties:
    destination:
        availabilityZoneName: string
        fileSystemId: string
        kmsKeyId: string
        region: string
        status: string
    sourceFileSystemId: string
Copy

ReplicationConfiguration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ReplicationConfiguration resource accepts the following input properties:

Destination
This property is required.
Changes to this property will trigger replacement.
ReplicationConfigurationDestination
A destination configuration block (documented below).
SourceFileSystemId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the file system that is to be replicated.
Destination
This property is required.
Changes to this property will trigger replacement.
ReplicationConfigurationDestinationArgs
A destination configuration block (documented below).
SourceFileSystemId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the file system that is to be replicated.
destination
This property is required.
Changes to this property will trigger replacement.
ReplicationConfigurationDestination
A destination configuration block (documented below).
sourceFileSystemId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the file system that is to be replicated.
destination
This property is required.
Changes to this property will trigger replacement.
ReplicationConfigurationDestination
A destination configuration block (documented below).
sourceFileSystemId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the file system that is to be replicated.
destination
This property is required.
Changes to this property will trigger replacement.
ReplicationConfigurationDestinationArgs
A destination configuration block (documented below).
source_file_system_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the file system that is to be replicated.
destination
This property is required.
Changes to this property will trigger replacement.
Property Map
A destination configuration block (documented below).
sourceFileSystemId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the file system that is to be replicated.

Outputs

All input properties are implicitly available as output properties. Additionally, the ReplicationConfiguration resource produces the following output properties:

CreationTime string
When the replication configuration was created.

  • destination[0].file_system_id - The fs ID of the replica.
  • destination[0].status - The status of the replication.
Id string
The provider-assigned unique ID for this managed resource.
OriginalSourceFileSystemArn string
The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.
SourceFileSystemArn string
The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
SourceFileSystemRegion string
The AWS Region in which the source Amazon EFS file system is located.
CreationTime string
When the replication configuration was created.

  • destination[0].file_system_id - The fs ID of the replica.
  • destination[0].status - The status of the replication.
Id string
The provider-assigned unique ID for this managed resource.
OriginalSourceFileSystemArn string
The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.
SourceFileSystemArn string
The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
SourceFileSystemRegion string
The AWS Region in which the source Amazon EFS file system is located.
creationTime String
When the replication configuration was created.

  • destination[0].file_system_id - The fs ID of the replica.
  • destination[0].status - The status of the replication.
id String
The provider-assigned unique ID for this managed resource.
originalSourceFileSystemArn String
The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.
sourceFileSystemArn String
The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
sourceFileSystemRegion String
The AWS Region in which the source Amazon EFS file system is located.
creationTime string
When the replication configuration was created.

  • destination[0].file_system_id - The fs ID of the replica.
  • destination[0].status - The status of the replication.
id string
The provider-assigned unique ID for this managed resource.
originalSourceFileSystemArn string
The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.
sourceFileSystemArn string
The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
sourceFileSystemRegion string
The AWS Region in which the source Amazon EFS file system is located.
creation_time str
When the replication configuration was created.

  • destination[0].file_system_id - The fs ID of the replica.
  • destination[0].status - The status of the replication.
id str
The provider-assigned unique ID for this managed resource.
original_source_file_system_arn str
The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.
source_file_system_arn str
The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
source_file_system_region str
The AWS Region in which the source Amazon EFS file system is located.
creationTime String
When the replication configuration was created.

  • destination[0].file_system_id - The fs ID of the replica.
  • destination[0].status - The status of the replication.
id String
The provider-assigned unique ID for this managed resource.
originalSourceFileSystemArn String
The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.
sourceFileSystemArn String
The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
sourceFileSystemRegion String
The AWS Region in which the source Amazon EFS file system is located.

Look up Existing ReplicationConfiguration Resource

Get an existing ReplicationConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ReplicationConfigurationState, opts?: CustomResourceOptions): ReplicationConfiguration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        creation_time: Optional[str] = None,
        destination: Optional[ReplicationConfigurationDestinationArgs] = None,
        original_source_file_system_arn: Optional[str] = None,
        source_file_system_arn: Optional[str] = None,
        source_file_system_id: Optional[str] = None,
        source_file_system_region: Optional[str] = None) -> ReplicationConfiguration
func GetReplicationConfiguration(ctx *Context, name string, id IDInput, state *ReplicationConfigurationState, opts ...ResourceOption) (*ReplicationConfiguration, error)
public static ReplicationConfiguration Get(string name, Input<string> id, ReplicationConfigurationState? state, CustomResourceOptions? opts = null)
public static ReplicationConfiguration get(String name, Output<String> id, ReplicationConfigurationState state, CustomResourceOptions options)
resources:  _:    type: aws:efs:ReplicationConfiguration    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CreationTime string
When the replication configuration was created.

  • destination[0].file_system_id - The fs ID of the replica.
  • destination[0].status - The status of the replication.
Destination Changes to this property will trigger replacement. ReplicationConfigurationDestination
A destination configuration block (documented below).
OriginalSourceFileSystemArn string
The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.
SourceFileSystemArn string
The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
SourceFileSystemId Changes to this property will trigger replacement. string
The ID of the file system that is to be replicated.
SourceFileSystemRegion string
The AWS Region in which the source Amazon EFS file system is located.
CreationTime string
When the replication configuration was created.

  • destination[0].file_system_id - The fs ID of the replica.
  • destination[0].status - The status of the replication.
Destination Changes to this property will trigger replacement. ReplicationConfigurationDestinationArgs
A destination configuration block (documented below).
OriginalSourceFileSystemArn string
The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.
SourceFileSystemArn string
The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
SourceFileSystemId Changes to this property will trigger replacement. string
The ID of the file system that is to be replicated.
SourceFileSystemRegion string
The AWS Region in which the source Amazon EFS file system is located.
creationTime String
When the replication configuration was created.

  • destination[0].file_system_id - The fs ID of the replica.
  • destination[0].status - The status of the replication.
destination Changes to this property will trigger replacement. ReplicationConfigurationDestination
A destination configuration block (documented below).
originalSourceFileSystemArn String
The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.
sourceFileSystemArn String
The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
sourceFileSystemId Changes to this property will trigger replacement. String
The ID of the file system that is to be replicated.
sourceFileSystemRegion String
The AWS Region in which the source Amazon EFS file system is located.
creationTime string
When the replication configuration was created.

  • destination[0].file_system_id - The fs ID of the replica.
  • destination[0].status - The status of the replication.
destination Changes to this property will trigger replacement. ReplicationConfigurationDestination
A destination configuration block (documented below).
originalSourceFileSystemArn string
The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.
sourceFileSystemArn string
The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
sourceFileSystemId Changes to this property will trigger replacement. string
The ID of the file system that is to be replicated.
sourceFileSystemRegion string
The AWS Region in which the source Amazon EFS file system is located.
creation_time str
When the replication configuration was created.

  • destination[0].file_system_id - The fs ID of the replica.
  • destination[0].status - The status of the replication.
destination Changes to this property will trigger replacement. ReplicationConfigurationDestinationArgs
A destination configuration block (documented below).
original_source_file_system_arn str
The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.
source_file_system_arn str
The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
source_file_system_id Changes to this property will trigger replacement. str
The ID of the file system that is to be replicated.
source_file_system_region str
The AWS Region in which the source Amazon EFS file system is located.
creationTime String
When the replication configuration was created.

  • destination[0].file_system_id - The fs ID of the replica.
  • destination[0].status - The status of the replication.
destination Changes to this property will trigger replacement. Property Map
A destination configuration block (documented below).
originalSourceFileSystemArn String
The Amazon Resource Name (ARN) of the original source Amazon EFS file system in the replication configuration.
sourceFileSystemArn String
The Amazon Resource Name (ARN) of the current source file system in the replication configuration.
sourceFileSystemId Changes to this property will trigger replacement. String
The ID of the file system that is to be replicated.
sourceFileSystemRegion String
The AWS Region in which the source Amazon EFS file system is located.

Supporting Types

ReplicationConfigurationDestination
, ReplicationConfigurationDestinationArgs

AvailabilityZoneName Changes to this property will trigger replacement. string
The availability zone in which the replica should be created. If specified, the replica will be created with One Zone storage. If omitted, regional storage will be used.
FileSystemId Changes to this property will trigger replacement. string
The ID of the destination file system for the replication. If no ID is provided, then EFS creates a new file system with the default settings.
KmsKeyId Changes to this property will trigger replacement. string
The Key ID, ARN, alias, or alias ARN of the KMS key that should be used to encrypt the replica file system. If omitted, the default KMS key for EFS /aws/elasticfilesystem will be used.
Region Changes to this property will trigger replacement. string
The region in which the replica should be created.
Status string
AvailabilityZoneName Changes to this property will trigger replacement. string
The availability zone in which the replica should be created. If specified, the replica will be created with One Zone storage. If omitted, regional storage will be used.
FileSystemId Changes to this property will trigger replacement. string
The ID of the destination file system for the replication. If no ID is provided, then EFS creates a new file system with the default settings.
KmsKeyId Changes to this property will trigger replacement. string
The Key ID, ARN, alias, or alias ARN of the KMS key that should be used to encrypt the replica file system. If omitted, the default KMS key for EFS /aws/elasticfilesystem will be used.
Region Changes to this property will trigger replacement. string
The region in which the replica should be created.
Status string
availabilityZoneName Changes to this property will trigger replacement. String
The availability zone in which the replica should be created. If specified, the replica will be created with One Zone storage. If omitted, regional storage will be used.
fileSystemId Changes to this property will trigger replacement. String
The ID of the destination file system for the replication. If no ID is provided, then EFS creates a new file system with the default settings.
kmsKeyId Changes to this property will trigger replacement. String
The Key ID, ARN, alias, or alias ARN of the KMS key that should be used to encrypt the replica file system. If omitted, the default KMS key for EFS /aws/elasticfilesystem will be used.
region Changes to this property will trigger replacement. String
The region in which the replica should be created.
status String
availabilityZoneName Changes to this property will trigger replacement. string
The availability zone in which the replica should be created. If specified, the replica will be created with One Zone storage. If omitted, regional storage will be used.
fileSystemId Changes to this property will trigger replacement. string
The ID of the destination file system for the replication. If no ID is provided, then EFS creates a new file system with the default settings.
kmsKeyId Changes to this property will trigger replacement. string
The Key ID, ARN, alias, or alias ARN of the KMS key that should be used to encrypt the replica file system. If omitted, the default KMS key for EFS /aws/elasticfilesystem will be used.
region Changes to this property will trigger replacement. string
The region in which the replica should be created.
status string
availability_zone_name Changes to this property will trigger replacement. str
The availability zone in which the replica should be created. If specified, the replica will be created with One Zone storage. If omitted, regional storage will be used.
file_system_id Changes to this property will trigger replacement. str
The ID of the destination file system for the replication. If no ID is provided, then EFS creates a new file system with the default settings.
kms_key_id Changes to this property will trigger replacement. str
The Key ID, ARN, alias, or alias ARN of the KMS key that should be used to encrypt the replica file system. If omitted, the default KMS key for EFS /aws/elasticfilesystem will be used.
region Changes to this property will trigger replacement. str
The region in which the replica should be created.
status str
availabilityZoneName Changes to this property will trigger replacement. String
The availability zone in which the replica should be created. If specified, the replica will be created with One Zone storage. If omitted, regional storage will be used.
fileSystemId Changes to this property will trigger replacement. String
The ID of the destination file system for the replication. If no ID is provided, then EFS creates a new file system with the default settings.
kmsKeyId Changes to this property will trigger replacement. String
The Key ID, ARN, alias, or alias ARN of the KMS key that should be used to encrypt the replica file system. If omitted, the default KMS key for EFS /aws/elasticfilesystem will be used.
region Changes to this property will trigger replacement. String
The region in which the replica should be created.
status String

Import

Using pulumi import, import EFS Replication Configurations using the file system ID of either the source or destination file system. When importing, the availability_zone_name and kms_key_id attributes must not be set in the configuration. The AWS API does not return these values when querying the replication configuration and their presence will therefore show as a diff in a subsequent plan. For example:

$ pulumi import aws:efs/replicationConfiguration:ReplicationConfiguration example fs-id
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.