1. Packages
  2. AWS Classic
  3. API Docs
  4. rds
  5. InstanceAutomatedBackupsReplication

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.36.0 published on Wednesday, May 15, 2024 by Pulumi

aws.rds.InstanceAutomatedBackupsReplication

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.36.0 published on Wednesday, May 15, 2024 by Pulumi

    Manage cross-region replication of automated backups to a different AWS Region. Documentation for cross-region automated backup replication can be found at:

    Note: This resource has to be created in the destination region.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const _default = new aws.rds.InstanceAutomatedBackupsReplication("default", {
        sourceDbInstanceArn: "arn:aws:rds:us-west-2:123456789012:db:mydatabase",
        retentionPeriod: 14,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    default = aws.rds.InstanceAutomatedBackupsReplication("default",
        source_db_instance_arn="arn:aws:rds:us-west-2:123456789012:db:mydatabase",
        retention_period=14)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/rds"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := rds.NewInstanceAutomatedBackupsReplication(ctx, "default", &rds.InstanceAutomatedBackupsReplicationArgs{
    			SourceDbInstanceArn: pulumi.String("arn:aws:rds:us-west-2:123456789012:db:mydatabase"),
    			RetentionPeriod:     pulumi.Int(14),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Aws.Rds.InstanceAutomatedBackupsReplication("default", new()
        {
            SourceDbInstanceArn = "arn:aws:rds:us-west-2:123456789012:db:mydatabase",
            RetentionPeriod = 14,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.rds.InstanceAutomatedBackupsReplication;
    import com.pulumi.aws.rds.InstanceAutomatedBackupsReplicationArgs;
    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 default_ = new InstanceAutomatedBackupsReplication("default", InstanceAutomatedBackupsReplicationArgs.builder()        
                .sourceDbInstanceArn("arn:aws:rds:us-west-2:123456789012:db:mydatabase")
                .retentionPeriod(14)
                .build());
    
        }
    }
    
    resources:
      default:
        type: aws:rds:InstanceAutomatedBackupsReplication
        properties:
          sourceDbInstanceArn: arn:aws:rds:us-west-2:123456789012:db:mydatabase
          retentionPeriod: 14
    

    Encrypting the automated backup with KMS

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const _default = new aws.rds.InstanceAutomatedBackupsReplication("default", {
        sourceDbInstanceArn: "arn:aws:rds:us-west-2:123456789012:db:mydatabase",
        kmsKeyId: "arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    default = aws.rds.InstanceAutomatedBackupsReplication("default",
        source_db_instance_arn="arn:aws:rds:us-west-2:123456789012:db:mydatabase",
        kms_key_id="arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/rds"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := rds.NewInstanceAutomatedBackupsReplication(ctx, "default", &rds.InstanceAutomatedBackupsReplicationArgs{
    			SourceDbInstanceArn: pulumi.String("arn:aws:rds:us-west-2:123456789012:db:mydatabase"),
    			KmsKeyId:            pulumi.String("arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Aws.Rds.InstanceAutomatedBackupsReplication("default", new()
        {
            SourceDbInstanceArn = "arn:aws:rds:us-west-2:123456789012:db:mydatabase",
            KmsKeyId = "arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.rds.InstanceAutomatedBackupsReplication;
    import com.pulumi.aws.rds.InstanceAutomatedBackupsReplicationArgs;
    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 default_ = new InstanceAutomatedBackupsReplication("default", InstanceAutomatedBackupsReplicationArgs.builder()        
                .sourceDbInstanceArn("arn:aws:rds:us-west-2:123456789012:db:mydatabase")
                .kmsKeyId("arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012")
                .build());
    
        }
    }
    
    resources:
      default:
        type: aws:rds:InstanceAutomatedBackupsReplication
        properties:
          sourceDbInstanceArn: arn:aws:rds:us-west-2:123456789012:db:mydatabase
          kmsKeyId: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
    

    Example including a RDS DB instance

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const _default = new aws.rds.Instance("default", {
        allocatedStorage: 10,
        identifier: "mydb",
        engine: "postgres",
        engineVersion: "13.4",
        instanceClass: aws.rds.InstanceType.T3_Micro,
        dbName: "mydb",
        username: "masterusername",
        password: "mustbeeightcharacters",
        backupRetentionPeriod: 7,
        storageEncrypted: true,
        skipFinalSnapshot: true,
    });
    const defaultKey = new aws.kms.Key("default", {description: "Encryption key for automated backups"});
    const defaultInstanceAutomatedBackupsReplication = new aws.rds.InstanceAutomatedBackupsReplication("default", {
        sourceDbInstanceArn: _default.arn,
        kmsKeyId: defaultKey.arn,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    default = aws.rds.Instance("default",
        allocated_storage=10,
        identifier="mydb",
        engine="postgres",
        engine_version="13.4",
        instance_class=aws.rds.InstanceType.T3_MICRO,
        db_name="mydb",
        username="masterusername",
        password="mustbeeightcharacters",
        backup_retention_period=7,
        storage_encrypted=True,
        skip_final_snapshot=True)
    default_key = aws.kms.Key("default", description="Encryption key for automated backups")
    default_instance_automated_backups_replication = aws.rds.InstanceAutomatedBackupsReplication("default",
        source_db_instance_arn=default.arn,
        kms_key_id=default_key.arn)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kms"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/rds"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := rds.NewInstance(ctx, "default", &rds.InstanceArgs{
    			AllocatedStorage:      pulumi.Int(10),
    			Identifier:            pulumi.String("mydb"),
    			Engine:                pulumi.String("postgres"),
    			EngineVersion:         pulumi.String("13.4"),
    			InstanceClass:         pulumi.String(rds.InstanceType_T3_Micro),
    			DbName:                pulumi.String("mydb"),
    			Username:              pulumi.String("masterusername"),
    			Password:              pulumi.String("mustbeeightcharacters"),
    			BackupRetentionPeriod: pulumi.Int(7),
    			StorageEncrypted:      pulumi.Bool(true),
    			SkipFinalSnapshot:     pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		defaultKey, err := kms.NewKey(ctx, "default", &kms.KeyArgs{
    			Description: pulumi.String("Encryption key for automated backups"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = rds.NewInstanceAutomatedBackupsReplication(ctx, "default", &rds.InstanceAutomatedBackupsReplicationArgs{
    			SourceDbInstanceArn: _default.Arn,
    			KmsKeyId:            defaultKey.Arn,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Aws.Rds.Instance("default", new()
        {
            AllocatedStorage = 10,
            Identifier = "mydb",
            Engine = "postgres",
            EngineVersion = "13.4",
            InstanceClass = Aws.Rds.InstanceType.T3_Micro,
            DbName = "mydb",
            Username = "masterusername",
            Password = "mustbeeightcharacters",
            BackupRetentionPeriod = 7,
            StorageEncrypted = true,
            SkipFinalSnapshot = true,
        });
    
        var defaultKey = new Aws.Kms.Key("default", new()
        {
            Description = "Encryption key for automated backups",
        });
    
        var defaultInstanceAutomatedBackupsReplication = new Aws.Rds.InstanceAutomatedBackupsReplication("default", new()
        {
            SourceDbInstanceArn = @default.Arn,
            KmsKeyId = defaultKey.Arn,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.rds.Instance;
    import com.pulumi.aws.rds.InstanceArgs;
    import com.pulumi.aws.kms.Key;
    import com.pulumi.aws.kms.KeyArgs;
    import com.pulumi.aws.rds.InstanceAutomatedBackupsReplication;
    import com.pulumi.aws.rds.InstanceAutomatedBackupsReplicationArgs;
    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 default_ = new Instance("default", InstanceArgs.builder()        
                .allocatedStorage(10)
                .identifier("mydb")
                .engine("postgres")
                .engineVersion("13.4")
                .instanceClass("db.t3.micro")
                .dbName("mydb")
                .username("masterusername")
                .password("mustbeeightcharacters")
                .backupRetentionPeriod(7)
                .storageEncrypted(true)
                .skipFinalSnapshot(true)
                .build());
    
            var defaultKey = new Key("defaultKey", KeyArgs.builder()        
                .description("Encryption key for automated backups")
                .build());
    
            var defaultInstanceAutomatedBackupsReplication = new InstanceAutomatedBackupsReplication("defaultInstanceAutomatedBackupsReplication", InstanceAutomatedBackupsReplicationArgs.builder()        
                .sourceDbInstanceArn(default_.arn())
                .kmsKeyId(defaultKey.arn())
                .build());
    
        }
    }
    
    resources:
      default:
        type: aws:rds:Instance
        properties:
          allocatedStorage: 10
          identifier: mydb
          engine: postgres
          engineVersion: '13.4'
          instanceClass: db.t3.micro
          dbName: mydb
          username: masterusername
          password: mustbeeightcharacters
          backupRetentionPeriod: 7
          storageEncrypted: true
          skipFinalSnapshot: true
      defaultKey:
        type: aws:kms:Key
        name: default
        properties:
          description: Encryption key for automated backups
      defaultInstanceAutomatedBackupsReplication:
        type: aws:rds:InstanceAutomatedBackupsReplication
        name: default
        properties:
          sourceDbInstanceArn: ${default.arn}
          kmsKeyId: ${defaultKey.arn}
    

    Create InstanceAutomatedBackupsReplication Resource

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

    Constructor syntax

    new InstanceAutomatedBackupsReplication(name: string, args: InstanceAutomatedBackupsReplicationArgs, opts?: CustomResourceOptions);
    @overload
    def InstanceAutomatedBackupsReplication(resource_name: str,
                                            args: InstanceAutomatedBackupsReplicationArgs,
                                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def InstanceAutomatedBackupsReplication(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            source_db_instance_arn: Optional[str] = None,
                                            kms_key_id: Optional[str] = None,
                                            pre_signed_url: Optional[str] = None,
                                            retention_period: Optional[int] = None)
    func NewInstanceAutomatedBackupsReplication(ctx *Context, name string, args InstanceAutomatedBackupsReplicationArgs, opts ...ResourceOption) (*InstanceAutomatedBackupsReplication, error)
    public InstanceAutomatedBackupsReplication(string name, InstanceAutomatedBackupsReplicationArgs args, CustomResourceOptions? opts = null)
    public InstanceAutomatedBackupsReplication(String name, InstanceAutomatedBackupsReplicationArgs args)
    public InstanceAutomatedBackupsReplication(String name, InstanceAutomatedBackupsReplicationArgs args, CustomResourceOptions options)
    
    type: aws:rds:InstanceAutomatedBackupsReplication
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

    Example

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

    var instanceAutomatedBackupsReplicationResource = new Aws.Rds.InstanceAutomatedBackupsReplication("instanceAutomatedBackupsReplicationResource", new()
    {
        SourceDbInstanceArn = "string",
        KmsKeyId = "string",
        PreSignedUrl = "string",
        RetentionPeriod = 0,
    });
    
    example, err := rds.NewInstanceAutomatedBackupsReplication(ctx, "instanceAutomatedBackupsReplicationResource", &rds.InstanceAutomatedBackupsReplicationArgs{
    	SourceDbInstanceArn: pulumi.String("string"),
    	KmsKeyId:            pulumi.String("string"),
    	PreSignedUrl:        pulumi.String("string"),
    	RetentionPeriod:     pulumi.Int(0),
    })
    
    var instanceAutomatedBackupsReplicationResource = new InstanceAutomatedBackupsReplication("instanceAutomatedBackupsReplicationResource", InstanceAutomatedBackupsReplicationArgs.builder()        
        .sourceDbInstanceArn("string")
        .kmsKeyId("string")
        .preSignedUrl("string")
        .retentionPeriod(0)
        .build());
    
    instance_automated_backups_replication_resource = aws.rds.InstanceAutomatedBackupsReplication("instanceAutomatedBackupsReplicationResource",
        source_db_instance_arn="string",
        kms_key_id="string",
        pre_signed_url="string",
        retention_period=0)
    
    const instanceAutomatedBackupsReplicationResource = new aws.rds.InstanceAutomatedBackupsReplication("instanceAutomatedBackupsReplicationResource", {
        sourceDbInstanceArn: "string",
        kmsKeyId: "string",
        preSignedUrl: "string",
        retentionPeriod: 0,
    });
    
    type: aws:rds:InstanceAutomatedBackupsReplication
    properties:
        kmsKeyId: string
        preSignedUrl: string
        retentionPeriod: 0
        sourceDbInstanceArn: string
    

    InstanceAutomatedBackupsReplication Resource Properties

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

    Inputs

    The InstanceAutomatedBackupsReplication resource accepts the following input properties:

    SourceDbInstanceArn string
    The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.
    KmsKeyId string
    The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
    PreSignedUrl string
    A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the AWS Region of the source DB instance.
    RetentionPeriod int
    The retention period for the replicated automated backups, defaults to 7.
    SourceDbInstanceArn string
    The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.
    KmsKeyId string
    The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
    PreSignedUrl string
    A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the AWS Region of the source DB instance.
    RetentionPeriod int
    The retention period for the replicated automated backups, defaults to 7.
    sourceDbInstanceArn String
    The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.
    kmsKeyId String
    The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
    preSignedUrl String
    A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the AWS Region of the source DB instance.
    retentionPeriod Integer
    The retention period for the replicated automated backups, defaults to 7.
    sourceDbInstanceArn string
    The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.
    kmsKeyId string
    The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
    preSignedUrl string
    A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the AWS Region of the source DB instance.
    retentionPeriod number
    The retention period for the replicated automated backups, defaults to 7.
    source_db_instance_arn str
    The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.
    kms_key_id str
    The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
    pre_signed_url str
    A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the AWS Region of the source DB instance.
    retention_period int
    The retention period for the replicated automated backups, defaults to 7.
    sourceDbInstanceArn String
    The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.
    kmsKeyId String
    The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
    preSignedUrl String
    A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the AWS Region of the source DB instance.
    retentionPeriod Number
    The retention period for the replicated automated backups, defaults to 7.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing InstanceAutomatedBackupsReplication Resource

    Get an existing InstanceAutomatedBackupsReplication 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?: InstanceAutomatedBackupsReplicationState, opts?: CustomResourceOptions): InstanceAutomatedBackupsReplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            kms_key_id: Optional[str] = None,
            pre_signed_url: Optional[str] = None,
            retention_period: Optional[int] = None,
            source_db_instance_arn: Optional[str] = None) -> InstanceAutomatedBackupsReplication
    func GetInstanceAutomatedBackupsReplication(ctx *Context, name string, id IDInput, state *InstanceAutomatedBackupsReplicationState, opts ...ResourceOption) (*InstanceAutomatedBackupsReplication, error)
    public static InstanceAutomatedBackupsReplication Get(string name, Input<string> id, InstanceAutomatedBackupsReplicationState? state, CustomResourceOptions? opts = null)
    public static InstanceAutomatedBackupsReplication get(String name, Output<String> id, InstanceAutomatedBackupsReplicationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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:
    KmsKeyId string
    The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
    PreSignedUrl string
    A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the AWS Region of the source DB instance.
    RetentionPeriod int
    The retention period for the replicated automated backups, defaults to 7.
    SourceDbInstanceArn string
    The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.
    KmsKeyId string
    The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
    PreSignedUrl string
    A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the AWS Region of the source DB instance.
    RetentionPeriod int
    The retention period for the replicated automated backups, defaults to 7.
    SourceDbInstanceArn string
    The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.
    kmsKeyId String
    The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
    preSignedUrl String
    A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the AWS Region of the source DB instance.
    retentionPeriod Integer
    The retention period for the replicated automated backups, defaults to 7.
    sourceDbInstanceArn String
    The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.
    kmsKeyId string
    The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
    preSignedUrl string
    A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the AWS Region of the source DB instance.
    retentionPeriod number
    The retention period for the replicated automated backups, defaults to 7.
    sourceDbInstanceArn string
    The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.
    kms_key_id str
    The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
    pre_signed_url str
    A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the AWS Region of the source DB instance.
    retention_period int
    The retention period for the replicated automated backups, defaults to 7.
    source_db_instance_arn str
    The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.
    kmsKeyId String
    The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
    preSignedUrl String
    A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the AWS Region of the source DB instance.
    retentionPeriod Number
    The retention period for the replicated automated backups, defaults to 7.
    sourceDbInstanceArn String
    The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.

    Import

    Using pulumi import, import RDS instance automated backups replication using the arn. For example:

    $ pulumi import aws:rds/instanceAutomatedBackupsReplication:InstanceAutomatedBackupsReplication default arn:aws:rds:us-east-1:123456789012:auto-backup:ab-faaa2mgdj1vmp4xflr7yhsrmtbtob7ltrzzz2my
    

    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.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.36.0 published on Wednesday, May 15, 2024 by Pulumi