BucketReplicationConfigRule constructor

const BucketReplicationConfigRule({
  1. Input<BucketReplicationConfigRuleDeleteMarkerReplication?>? deleteMarkerReplication,
  2. required Input<BucketReplicationConfigRuleDestination> destination,
  3. Input<BucketReplicationConfigRuleExistingObjectReplication?>? existingObjectReplication,
  4. Input<BucketReplicationConfigRuleFilter?>? filter,
  5. Input<String?>? id,
  6. Input<String?>? prefix,
  7. Input<int?>? priority,
  8. Input<BucketReplicationConfigRuleSourceSelectionCriteria?>? sourceSelectionCriteria,
  9. required Input<String> status,
})

Creates a new BucketReplicationConfigRule. deleteMarkerReplication Whether delete markers are replicated. This argument is only valid with V2 replication configurations (i.e., when filter is used)documented below. destination Destination for the rule. See below. existingObjectReplication Replicate existing objects in the source bucket according to the rule configurations. See below. filter Filter that identifies subset of objects to which the replication rule applies. See below. If not specified, the rule will default to using prefix. id Unique identifier for the rule. Must be less than or equal to 255 characters in length. prefix Object key name prefix identifying one or more objects to which the rule applies. Must be less than or equal to 1024 characters in length. Defaults to an empty string ("") if filter is not specified. priority 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. sourceSelectionCriteria Special object selection criteria. See below. status Status of the rule. Either "Enabled" or "Disabled". The rule is ignored if status is not "Enabled".

Implementation

const BucketReplicationConfigRule({
  this.deleteMarkerReplication,
  required this.destination,
  this.existingObjectReplication,
  this.filter,
  this.id,
  this.prefix,
  this.priority,
  this.sourceSelectionCriteria,
  required this.status,
});