1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. tos
  6. BucketReplication
Viewing docs for volcenginecc v0.0.54
published on Thursday, Aug 6, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.54
published on Thursday, Aug 6, 2026 by Volcengine

    Manage cross-region replication configuration for the specified TOS bucket. This resource uses the bucket as the primary key. Create and Update will write the replication role and rule set as a whole. Delete will remove the replication configuration from the bucket

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const example = new volcenginecc.tos.BucketReplication("Example", {
        role: "ServiceRoleforReplicationAccessTOS",
        bucket: "ccapi-test-16",
        rules: [{
            id: "rule-002",
            prefix_set: [
                "prefix_1",
                "prefix_2",
            ],
            status: "Enabled",
            destination: {
                bucket: "ccapi-test-7",
                location: "cn-beijing",
                storageClass: "STANDARD",
                storageClassInheritDirective: "SOURCE_OBJECT",
            },
            historical_object_replication: "Enabled",
            access_control_translation: {
                owner: "BucketOwnerEntrusted",
            },
        }],
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    example = volcenginecc.tos.BucketReplication("Example",
        role="ServiceRoleforReplicationAccessTOS",
        bucket="ccapi-test-16",
        rules=[{
            "id": "rule-002",
            "prefix_set": [
                "prefix_1",
                "prefix_2",
            ],
            "status": "Enabled",
            "destination": {
                "bucket": "ccapi-test-7",
                "location": "cn-beijing",
                "storage_class": "STANDARD",
                "storage_class_inherit_directive": "SOURCE_OBJECT",
            },
            "historical_object_replication": "Enabled",
            "access_control_translation": {
                "owner": "BucketOwnerEntrusted",
            },
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/tos"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tos.NewBucketReplication(ctx, "Example", &tos.BucketReplicationArgs{
    			Role:   pulumi.String("ServiceRoleforReplicationAccessTOS"),
    			Bucket: pulumi.String("ccapi-test-16"),
    			Rules: tos.BucketReplicationRuleArray{
    				&tos.BucketReplicationRuleArgs{
    					Id: pulumi.String("rule-002"),
    					Prefix_set: []string{
    						"prefix_1",
    						"prefix_2",
    					},
    					Status: pulumi.String("Enabled"),
    					Destination: &tos.BucketReplicationRuleDestinationArgs{
    						Bucket:                       pulumi.String("ccapi-test-7"),
    						Location:                     pulumi.String("cn-beijing"),
    						StorageClass:                 pulumi.String("STANDARD"),
    						StorageClassInheritDirective: pulumi.String("SOURCE_OBJECT"),
    					},
    					Historical_object_replication: "Enabled",
    					Access_control_translation: map[string]interface{}{
    						"owner": "BucketOwnerEntrusted",
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Volcenginecc.Tos.BucketReplication("Example", new()
        {
            Role = "ServiceRoleforReplicationAccessTOS",
            Bucket = "ccapi-test-16",
            Rules = new[]
            {
                new Volcenginecc.Tos.Inputs.BucketReplicationRuleArgs
                {
                    Id = "rule-002",
                    Prefix_set = new[]
                    {
                        "prefix_1",
                        "prefix_2",
                    },
                    Status = "Enabled",
                    Destination = new Volcenginecc.Tos.Inputs.BucketReplicationRuleDestinationArgs
                    {
                        Bucket = "ccapi-test-7",
                        Location = "cn-beijing",
                        StorageClass = "STANDARD",
                        StorageClassInheritDirective = "SOURCE_OBJECT",
                    },
                    Historical_object_replication = "Enabled",
                    Access_control_translation = 
                    {
                        { "owner", "BucketOwnerEntrusted" },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.tos.BucketReplication;
    import com.volcengine.volcenginecc.tos.BucketReplicationArgs;
    import com.pulumi.volcenginecc.tos.inputs.BucketReplicationRuleArgs;
    import com.pulumi.volcenginecc.tos.inputs.BucketReplicationRuleDestinationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 BucketReplication("example", BucketReplicationArgs.builder()
                .role("ServiceRoleforReplicationAccessTOS")
                .bucket("ccapi-test-16")
                .rules(BucketReplicationRuleArgs.builder()
                    .id("rule-002")
                    .prefix_set(Arrays.asList(                
                        "prefix_1",
                        "prefix_2"))
                    .status("Enabled")
                    .destination(BucketReplicationRuleDestinationArgs.builder()
                        .bucket("ccapi-test-7")
                        .location("cn-beijing")
                        .storageClass("STANDARD")
                        .storageClassInheritDirective("SOURCE_OBJECT")
                        .build())
                    .historical_object_replication("Enabled")
                    .access_control_translation(Map.of("owner", "BucketOwnerEntrusted"))
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: volcenginecc:tos:BucketReplication
        name: Example
        properties:
          role: ServiceRoleforReplicationAccessTOS
          bucket: ccapi-test-16
          rules:
            - id: rule-002
              prefix_set:
                - prefix_1
                - prefix_2
              status: Enabled
              destination:
                bucket: ccapi-test-7
                location: cn-beijing
                storageClass: STANDARD
                storageClassInheritDirective: SOURCE_OBJECT
              historical_object_replication: Enabled
              access_control_translation:
                owner: BucketOwnerEntrusted
    
    pulumi {
      required_providers {
        volcenginecc = {
          source = "pulumi/volcenginecc"
        }
      }
    }
    
    resource "volcenginecc_tos_bucketreplication" "Example" {
      role   = "ServiceRoleforReplicationAccessTOS"
      bucket = "ccapi-test-16"
      rules {
        id         = "rule-002"
        prefix_set = ["prefix_1", "prefix_2"]
        status     = "Enabled"
        destination = {
          bucket                          = "ccapi-test-7"
          location                        = "cn-beijing"
          storage_class                   = "STANDARD"
          storage_class_inherit_directive = "SOURCE_OBJECT"
        }
        historical_object_replication = "Enabled"
        access_control_translation = {
          "owner" = "BucketOwnerEntrusted"
        }
      }
    }
    

    Create BucketReplication Resource

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

    Constructor syntax

    new BucketReplication(name: string, args: BucketReplicationArgs, opts?: CustomResourceOptions);
    @overload
    def BucketReplication(resource_name: str,
                          args: BucketReplicationArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def BucketReplication(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          bucket: Optional[str] = None,
                          role: Optional[str] = None,
                          rules: Optional[Sequence[BucketReplicationRuleArgs]] = None)
    func NewBucketReplication(ctx *Context, name string, args BucketReplicationArgs, opts ...ResourceOption) (*BucketReplication, error)
    public BucketReplication(string name, BucketReplicationArgs args, CustomResourceOptions? opts = null)
    public BucketReplication(String name, BucketReplicationArgs args)
    public BucketReplication(String name, BucketReplicationArgs args, CustomResourceOptions options)
    
    type: volcenginecc:tos:BucketReplication
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "volcenginecc_tos_bucket_replication" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args BucketReplicationArgs
    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 BucketReplicationArgs
    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 BucketReplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BucketReplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BucketReplicationArgs
    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 bucketReplicationResource = new Volcenginecc.Tos.BucketReplication("bucketReplicationResource", new()
    {
        Bucket = "string",
        Role = "string",
        Rules = new[]
        {
            new Volcenginecc.Tos.Inputs.BucketReplicationRuleArgs
            {
                Destination = new Volcenginecc.Tos.Inputs.BucketReplicationRuleDestinationArgs
                {
                    Bucket = "string",
                    Location = "string",
                    StorageClass = "string",
                    StorageClassInheritDirective = "string",
                },
                HistoricalObjectReplication = "string",
                Id = "string",
                Status = "string",
                AccessControlTranslation = new Volcenginecc.Tos.Inputs.BucketReplicationRuleAccessControlTranslationArgs
                {
                    Owner = "string",
                },
                PrefixSets = new[]
                {
                    "string",
                },
                Progress = new Volcenginecc.Tos.Inputs.BucketReplicationRuleProgressArgs
                {
                    HistoricalObject = 0,
                    NewObject = "string",
                },
            },
        },
    });
    
    example, err := tos.NewBucketReplication(ctx, "bucketReplicationResource", &tos.BucketReplicationArgs{
    	Bucket: pulumi.String("string"),
    	Role:   pulumi.String("string"),
    	Rules: tos.BucketReplicationRuleArray{
    		&tos.BucketReplicationRuleArgs{
    			Destination: &tos.BucketReplicationRuleDestinationArgs{
    				Bucket:                       pulumi.String("string"),
    				Location:                     pulumi.String("string"),
    				StorageClass:                 pulumi.String("string"),
    				StorageClassInheritDirective: pulumi.String("string"),
    			},
    			HistoricalObjectReplication: pulumi.String("string"),
    			Id:                          pulumi.String("string"),
    			Status:                      pulumi.String("string"),
    			AccessControlTranslation: &tos.BucketReplicationRuleAccessControlTranslationArgs{
    				Owner: pulumi.String("string"),
    			},
    			PrefixSets: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Progress: &tos.BucketReplicationRuleProgressArgs{
    				HistoricalObject: pulumi.Float64(0),
    				NewObject:        pulumi.String("string"),
    			},
    		},
    	},
    })
    
    resource "volcenginecc_tos_bucket_replication" "bucketReplicationResource" {
      lifecycle {
        create_before_destroy = true
      }
      bucket = "string"
      role   = "string"
      rules {
        destination = {
          bucket                          = "string"
          location                        = "string"
          storage_class                   = "string"
          storage_class_inherit_directive = "string"
        }
        historical_object_replication = "string"
        id                            = "string"
        status                        = "string"
        access_control_translation = {
          owner = "string"
        }
        prefix_sets = ["string"]
        progress = {
          historical_object = 0
          new_object        = "string"
        }
      }
    }
    
    var bucketReplicationResource = new BucketReplication("bucketReplicationResource", BucketReplicationArgs.builder()
        .bucket("string")
        .role("string")
        .rules(BucketReplicationRuleArgs.builder()
            .destination(BucketReplicationRuleDestinationArgs.builder()
                .bucket("string")
                .location("string")
                .storageClass("string")
                .storageClassInheritDirective("string")
                .build())
            .historicalObjectReplication("string")
            .id("string")
            .status("string")
            .accessControlTranslation(BucketReplicationRuleAccessControlTranslationArgs.builder()
                .owner("string")
                .build())
            .prefixSets("string")
            .progress(BucketReplicationRuleProgressArgs.builder()
                .historicalObject(0.0)
                .newObject("string")
                .build())
            .build())
        .build());
    
    bucket_replication_resource = volcenginecc.tos.BucketReplication("bucketReplicationResource",
        bucket="string",
        role="string",
        rules=[{
            "destination": {
                "bucket": "string",
                "location": "string",
                "storage_class": "string",
                "storage_class_inherit_directive": "string",
            },
            "historical_object_replication": "string",
            "id": "string",
            "status": "string",
            "access_control_translation": {
                "owner": "string",
            },
            "prefix_sets": ["string"],
            "progress": {
                "historical_object": float(0),
                "new_object": "string",
            },
        }])
    
    const bucketReplicationResource = new volcenginecc.tos.BucketReplication("bucketReplicationResource", {
        bucket: "string",
        role: "string",
        rules: [{
            destination: {
                bucket: "string",
                location: "string",
                storageClass: "string",
                storageClassInheritDirective: "string",
            },
            historicalObjectReplication: "string",
            id: "string",
            status: "string",
            accessControlTranslation: {
                owner: "string",
            },
            prefixSets: ["string"],
            progress: {
                historicalObject: 0,
                newObject: "string",
            },
        }],
    });
    
    type: volcenginecc:tos:BucketReplication
    properties:
        bucket: string
        role: string
        rules:
            - accessControlTranslation:
                owner: string
              destination:
                bucket: string
                location: string
                storageClass: string
                storageClassInheritDirective: string
              historicalObjectReplication: string
              id: string
              prefixSets:
                - string
              progress:
                historicalObject: 0
                newObject: string
              status: string
    

    BucketReplication 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 BucketReplication resource accepts the following input properties:

    Bucket string
    Name of the bucket to configure for cross-region replication
    Role string
    Role name. The role must have read and write permissions for TOS and service access permissions. You can also use the default TOS role
    Rules List<Volcengine.BucketReplicationRule>
    Replication rule information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Bucket string
    Name of the bucket to configure for cross-region replication
    Role string
    Role name. The role must have read and write permissions for TOS and service access permissions. You can also use the default TOS role
    Rules []BucketReplicationRuleArgs
    Replication rule information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bucket string
    Name of the bucket to configure for cross-region replication
    role string
    Role name. The role must have read and write permissions for TOS and service access permissions. You can also use the default TOS role
    rules list(object)
    Replication rule information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bucket String
    Name of the bucket to configure for cross-region replication
    role String
    Role name. The role must have read and write permissions for TOS and service access permissions. You can also use the default TOS role
    rules List<BucketReplicationRule>
    Replication rule information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bucket string
    Name of the bucket to configure for cross-region replication
    role string
    Role name. The role must have read and write permissions for TOS and service access permissions. You can also use the default TOS role
    rules BucketReplicationRule[]
    Replication rule information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bucket str
    Name of the bucket to configure for cross-region replication
    role str
    Role name. The role must have read and write permissions for TOS and service access permissions. You can also use the default TOS role
    rules Sequence[BucketReplicationRuleArgs]
    Replication rule information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bucket String
    Name of the bucket to configure for cross-region replication
    role String
    Role name. The role must have read and write permissions for TOS and service access permissions. You can also use the default TOS role
    rules List<Property Map>
    Replication rule information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BucketReplication 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 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 BucketReplication Resource

    Get an existing BucketReplication 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?: BucketReplicationState, opts?: CustomResourceOptions): BucketReplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bucket: Optional[str] = None,
            role: Optional[str] = None,
            rules: Optional[Sequence[BucketReplicationRuleArgs]] = None) -> BucketReplication
    func GetBucketReplication(ctx *Context, name string, id IDInput, state *BucketReplicationState, opts ...ResourceOption) (*BucketReplication, error)
    public static BucketReplication Get(string name, Input<string> id, BucketReplicationState? state, CustomResourceOptions? opts = null)
    public static BucketReplication get(String name, Output<String> id, BucketReplicationState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:tos:BucketReplication    get:      id: ${id}
    import {
      to = volcenginecc_tos_bucket_replication.example
      id = "${id}"
    }
    
    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:
    Bucket string
    Name of the bucket to configure for cross-region replication
    Role string
    Role name. The role must have read and write permissions for TOS and service access permissions. You can also use the default TOS role
    Rules List<Volcengine.BucketReplicationRule>
    Replication rule information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    Bucket string
    Name of the bucket to configure for cross-region replication
    Role string
    Role name. The role must have read and write permissions for TOS and service access permissions. You can also use the default TOS role
    Rules []BucketReplicationRuleArgs
    Replication rule information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bucket string
    Name of the bucket to configure for cross-region replication
    role string
    Role name. The role must have read and write permissions for TOS and service access permissions. You can also use the default TOS role
    rules list(object)
    Replication rule information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bucket String
    Name of the bucket to configure for cross-region replication
    role String
    Role name. The role must have read and write permissions for TOS and service access permissions. You can also use the default TOS role
    rules List<BucketReplicationRule>
    Replication rule information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bucket string
    Name of the bucket to configure for cross-region replication
    role string
    Role name. The role must have read and write permissions for TOS and service access permissions. You can also use the default TOS role
    rules BucketReplicationRule[]
    Replication rule information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bucket str
    Name of the bucket to configure for cross-region replication
    role str
    Role name. The role must have read and write permissions for TOS and service access permissions. You can also use the default TOS role
    rules Sequence[BucketReplicationRuleArgs]
    Replication rule information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
    bucket String
    Name of the bucket to configure for cross-region replication
    role String
    Role name. The role must have read and write permissions for TOS and service access permissions. You can also use the default TOS role
    rules List<Property Map>
    Replication rule information Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.

    Supporting Types

    BucketReplicationRule, BucketReplicationRuleArgs

    Destination Volcengine.BucketReplicationRuleDestination
    Replication target bucket information
    HistoricalObjectReplication string
    Enable historical object replication. If enabled, historical objects matching this rule will be replicated. Options: Enabled: Enable historical object replication. Disabled: Do not enable historical object replication
    Id string
    Unique identifier for the rule, less than 255 characters
    Status string
    Specify whether to enable this rule. Options: Enabled: Enable this rule. Disabled: Do not enable this rule
    AccessControlTranslation Volcengine.BucketReplicationRuleAccessControlTranslation
    Object owner management permissions
    PrefixSets List<string>
    Object name prefix to which this rule applies
    Progress Volcengine.BucketReplicationRuleProgress
    Save replication progress
    Destination BucketReplicationRuleDestination
    Replication target bucket information
    HistoricalObjectReplication string
    Enable historical object replication. If enabled, historical objects matching this rule will be replicated. Options: Enabled: Enable historical object replication. Disabled: Do not enable historical object replication
    Id string
    Unique identifier for the rule, less than 255 characters
    Status string
    Specify whether to enable this rule. Options: Enabled: Enable this rule. Disabled: Do not enable this rule
    AccessControlTranslation BucketReplicationRuleAccessControlTranslation
    Object owner management permissions
    PrefixSets []string
    Object name prefix to which this rule applies
    Progress BucketReplicationRuleProgress
    Save replication progress
    destination object
    Replication target bucket information
    historical_object_replication string
    Enable historical object replication. If enabled, historical objects matching this rule will be replicated. Options: Enabled: Enable historical object replication. Disabled: Do not enable historical object replication
    id string
    Unique identifier for the rule, less than 255 characters
    status string
    Specify whether to enable this rule. Options: Enabled: Enable this rule. Disabled: Do not enable this rule
    access_control_translation object
    Object owner management permissions
    prefix_sets list(string)
    Object name prefix to which this rule applies
    progress object
    Save replication progress
    destination BucketReplicationRuleDestination
    Replication target bucket information
    historicalObjectReplication String
    Enable historical object replication. If enabled, historical objects matching this rule will be replicated. Options: Enabled: Enable historical object replication. Disabled: Do not enable historical object replication
    id String
    Unique identifier for the rule, less than 255 characters
    status String
    Specify whether to enable this rule. Options: Enabled: Enable this rule. Disabled: Do not enable this rule
    accessControlTranslation BucketReplicationRuleAccessControlTranslation
    Object owner management permissions
    prefixSets List<String>
    Object name prefix to which this rule applies
    progress BucketReplicationRuleProgress
    Save replication progress
    destination BucketReplicationRuleDestination
    Replication target bucket information
    historicalObjectReplication string
    Enable historical object replication. If enabled, historical objects matching this rule will be replicated. Options: Enabled: Enable historical object replication. Disabled: Do not enable historical object replication
    id string
    Unique identifier for the rule, less than 255 characters
    status string
    Specify whether to enable this rule. Options: Enabled: Enable this rule. Disabled: Do not enable this rule
    accessControlTranslation BucketReplicationRuleAccessControlTranslation
    Object owner management permissions
    prefixSets string[]
    Object name prefix to which this rule applies
    progress BucketReplicationRuleProgress
    Save replication progress
    destination BucketReplicationRuleDestination
    Replication target bucket information
    historical_object_replication str
    Enable historical object replication. If enabled, historical objects matching this rule will be replicated. Options: Enabled: Enable historical object replication. Disabled: Do not enable historical object replication
    id str
    Unique identifier for the rule, less than 255 characters
    status str
    Specify whether to enable this rule. Options: Enabled: Enable this rule. Disabled: Do not enable this rule
    access_control_translation BucketReplicationRuleAccessControlTranslation
    Object owner management permissions
    prefix_sets Sequence[str]
    Object name prefix to which this rule applies
    progress BucketReplicationRuleProgress
    Save replication progress
    destination Property Map
    Replication target bucket information
    historicalObjectReplication String
    Enable historical object replication. If enabled, historical objects matching this rule will be replicated. Options: Enabled: Enable historical object replication. Disabled: Do not enable historical object replication
    id String
    Unique identifier for the rule, less than 255 characters
    status String
    Specify whether to enable this rule. Options: Enabled: Enable this rule. Disabled: Do not enable this rule
    accessControlTranslation Property Map
    Object owner management permissions
    prefixSets List<String>
    Object name prefix to which this rule applies
    progress Property Map
    Save replication progress

    BucketReplicationRuleAccessControlTranslation, BucketReplicationRuleAccessControlTranslationArgs

    Owner string
    Object owner management permissions have been granted for replication to the destination bucket, allowing the destination bucket to read objects and grant other accounts permission to read objects
    Owner string
    Object owner management permissions have been granted for replication to the destination bucket, allowing the destination bucket to read objects and grant other accounts permission to read objects
    owner string
    Object owner management permissions have been granted for replication to the destination bucket, allowing the destination bucket to read objects and grant other accounts permission to read objects
    owner String
    Object owner management permissions have been granted for replication to the destination bucket, allowing the destination bucket to read objects and grant other accounts permission to read objects
    owner string
    Object owner management permissions have been granted for replication to the destination bucket, allowing the destination bucket to read objects and grant other accounts permission to read objects
    owner str
    Object owner management permissions have been granted for replication to the destination bucket, allowing the destination bucket to read objects and grant other accounts permission to read objects
    owner String
    Object owner management permissions have been granted for replication to the destination bucket, allowing the destination bucket to read objects and grant other accounts permission to read objects

    BucketReplicationRuleDestination, BucketReplicationRuleDestinationArgs

    Bucket string
    Name of the bucket storing object replicas identified by the rule
    Location string
    Region of the target bucket
    StorageClass string
    Specify the storage class for objects replicated to the target bucket. Options: STANDARD: Standard storage. STANDARDIA: Infrequent access storage. GLACIERIR: Archive instant retrieval storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLDARCHIVE: Deep cold archive storage
    StorageClassInheritDirective string
    Set the storage class for objects replicated to the target bucket. Options: SOURCEOBJECT: Inherit the storage class of the source bucket object. DESTINATIONBUCKET: Inherit the default storage class of the target bucket
    Bucket string
    Name of the bucket storing object replicas identified by the rule
    Location string
    Region of the target bucket
    StorageClass string
    Specify the storage class for objects replicated to the target bucket. Options: STANDARD: Standard storage. STANDARDIA: Infrequent access storage. GLACIERIR: Archive instant retrieval storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLDARCHIVE: Deep cold archive storage
    StorageClassInheritDirective string
    Set the storage class for objects replicated to the target bucket. Options: SOURCEOBJECT: Inherit the storage class of the source bucket object. DESTINATIONBUCKET: Inherit the default storage class of the target bucket
    bucket string
    Name of the bucket storing object replicas identified by the rule
    location string
    Region of the target bucket
    storage_class string
    Specify the storage class for objects replicated to the target bucket. Options: STANDARD: Standard storage. STANDARDIA: Infrequent access storage. GLACIERIR: Archive instant retrieval storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLDARCHIVE: Deep cold archive storage
    storage_class_inherit_directive string
    Set the storage class for objects replicated to the target bucket. Options: SOURCEOBJECT: Inherit the storage class of the source bucket object. DESTINATIONBUCKET: Inherit the default storage class of the target bucket
    bucket String
    Name of the bucket storing object replicas identified by the rule
    location String
    Region of the target bucket
    storageClass String
    Specify the storage class for objects replicated to the target bucket. Options: STANDARD: Standard storage. STANDARDIA: Infrequent access storage. GLACIERIR: Archive instant retrieval storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLDARCHIVE: Deep cold archive storage
    storageClassInheritDirective String
    Set the storage class for objects replicated to the target bucket. Options: SOURCEOBJECT: Inherit the storage class of the source bucket object. DESTINATIONBUCKET: Inherit the default storage class of the target bucket
    bucket string
    Name of the bucket storing object replicas identified by the rule
    location string
    Region of the target bucket
    storageClass string
    Specify the storage class for objects replicated to the target bucket. Options: STANDARD: Standard storage. STANDARDIA: Infrequent access storage. GLACIERIR: Archive instant retrieval storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLDARCHIVE: Deep cold archive storage
    storageClassInheritDirective string
    Set the storage class for objects replicated to the target bucket. Options: SOURCEOBJECT: Inherit the storage class of the source bucket object. DESTINATIONBUCKET: Inherit the default storage class of the target bucket
    bucket str
    Name of the bucket storing object replicas identified by the rule
    location str
    Region of the target bucket
    storage_class str
    Specify the storage class for objects replicated to the target bucket. Options: STANDARD: Standard storage. STANDARDIA: Infrequent access storage. GLACIERIR: Archive instant retrieval storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLDARCHIVE: Deep cold archive storage
    storage_class_inherit_directive str
    Set the storage class for objects replicated to the target bucket. Options: SOURCEOBJECT: Inherit the storage class of the source bucket object. DESTINATIONBUCKET: Inherit the default storage class of the target bucket
    bucket String
    Name of the bucket storing object replicas identified by the rule
    location String
    Region of the target bucket
    storageClass String
    Specify the storage class for objects replicated to the target bucket. Options: STANDARD: Standard storage. STANDARDIA: Infrequent access storage. GLACIERIR: Archive instant retrieval storage. INTELLIGENTTIERING: Intelligent tiering storage. ARCHIVE: Archive storage. COLDARCHIVE: Cold archive storage. DEEPCOLDARCHIVE: Deep cold archive storage
    storageClassInheritDirective String
    Set the storage class for objects replicated to the target bucket. Options: SOURCEOBJECT: Inherit the storage class of the source bucket object. DESTINATIONBUCKET: Inherit the default storage class of the target bucket

    BucketReplicationRuleProgress, BucketReplicationRuleProgressArgs

    HistoricalObject double
    Show the percentage of historical data that has been replicated
    NewObject string
    Show the timestamp when data is replicated to the target bucket
    HistoricalObject float64
    Show the percentage of historical data that has been replicated
    NewObject string
    Show the timestamp when data is replicated to the target bucket
    historical_object number
    Show the percentage of historical data that has been replicated
    new_object string
    Show the timestamp when data is replicated to the target bucket
    historicalObject Double
    Show the percentage of historical data that has been replicated
    newObject String
    Show the timestamp when data is replicated to the target bucket
    historicalObject number
    Show the percentage of historical data that has been replicated
    newObject string
    Show the timestamp when data is replicated to the target bucket
    historical_object float
    Show the percentage of historical data that has been replicated
    new_object str
    Show the timestamp when data is replicated to the target bucket
    historicalObject Number
    Show the percentage of historical data that has been replicated
    newObject String
    Show the timestamp when data is replicated to the target bucket

    Import

    $ pulumi import volcenginecc:tos/bucketReplication:BucketReplication example "bucket"
    

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

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.54
    published on Thursday, Aug 6, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial