Class BucketReplicationConfigurationRuleArgs


  • public final class BucketReplicationConfigurationRuleArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • deleteMarkerReplicationStatus

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> deleteMarkerReplicationStatus()
        Returns:
        Whether delete markers are replicated. The only valid value is `Enabled`. To disable, omit this argument. This argument is only valid with V2 replication configurations (i.e., when `filter` is used).
      • filter

        public java.util.Optional<com.pulumi.core.Output<BucketReplicationConfigurationRuleFilterArgs>> filter()
        Returns:
        Filter that identifies subset of objects to which the replication rule applies (documented below).
      • id

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> id()
        Returns:
        Unique identifier for the rule. Must be less than or equal to 255 characters in length.
      • prefix

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> prefix()
        Returns:
        Object keyname prefix identifying one or more objects to which the rule applies. Must be less than or equal to 1024 characters in length.
      • priority

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> priority()
        Returns:
        The priority associated with the rule. Priority should only be set if `filter` is configured. If not provided, defaults to `0`. Priority must be unique between multiple rules.
      • status

        public com.pulumi.core.Output<java.lang.String> status()
        Returns:
        The status of the rule. Either `Enabled` or `Disabled`. The rule is ignored if status is not Enabled. > **NOTE:** Replication to multiple destination buckets requires that `priority` is specified in the `rules` object. If the corresponding rule requires no filter, an empty configuration block `filter {}` must be specified.