@backblaze-labs/b2-sdk - v0.1.0
    Preparing search index...

    Interface ReplicationConfiguration

    Complete replication configuration for a bucket, covering both source and destination roles.

    interface ReplicationConfiguration {
        asReplicationDestination:
            | { sourceToDestinationKeyMapping: Record<string, ApplicationKeyId> }
            | null;
        asReplicationSource:
            | {
                replicationRules: readonly ReplicationRule[];
                sourceApplicationKeyId: ApplicationKeyId;
            }
            | null;
    }
    Index

    Properties

    asReplicationDestination:
        | { sourceToDestinationKeyMapping: Record<string, ApplicationKeyId> }
        | null

    Destination-side configuration with key mappings, or null if not a destination.

    Type Declaration

    • { sourceToDestinationKeyMapping: Record<string, ApplicationKeyId> }
      • ReadonlysourceToDestinationKeyMapping: Record<string, ApplicationKeyId>

        Mapping from source application key IDs to destination application key IDs.

    • null
    asReplicationSource:
        | {
            replicationRules: readonly ReplicationRule[];
            sourceApplicationKeyId: ApplicationKeyId;
        }
        | null

    Source-side configuration with replication rules, or null if not a source.

    Type Declaration

    • {
          replicationRules: readonly ReplicationRule[];
          sourceApplicationKeyId: ApplicationKeyId;
      }
      • ReadonlyreplicationRules: readonly ReplicationRule[]

        Rules governing which files are replicated and where.

      • ReadonlysourceApplicationKeyId: ApplicationKeyId

        Application key ID authorized to read from this source bucket.

    • null