BucketV2ReplicationConfigurationRule constructor
- Input<
String?> ? deleteMarkerReplicationStatus, - required Input<
List< destinations,BucketV2ReplicationConfigurationRuleDestination> > - Input<
List< ? filters,BucketV2ReplicationConfigurationRuleFilter> ?> - Input<
String?> ? id, - Input<
String?> ? prefix, - Input<
int?> ? priority, - Input<
List< ? sourceSelectionCriterias,BucketV2ReplicationConfigurationRuleSourceSelectionCriteria> ?> - required Input<
String> status,
Creates a new BucketV2ReplicationConfigurationRule.
deleteMarkerReplicationStatus 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).
destinations Destination for the rule. See destination Block below for details.
filters Filter that identifies subset of objects to which the replication rule applies. See filter Block below for details.
id Unique identifier for the rule. Must be less than or equal to 255 characters in length.
prefix 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 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.
sourceSelectionCriterias Special object selection criteria. See sourceSelectionCriteria Block below for details.
status Status of the rule. Either Enabled or Disabled. The rule is ignored if status is not Enabled.
Implementation
const BucketV2ReplicationConfigurationRule({
this.deleteMarkerReplicationStatus,
required this.destinations,
this.filters,
this.id,
this.prefix,
this.priority,
this.sourceSelectionCriterias,
required this.status,
});