Skip to content

MultiRegionAccessPoint

Source: src/AWS/S3Control/MultiRegionAccessPoint.ts

An Amazon S3 Multi-Region Access Point — a single global endpoint that routes requests to buckets in multiple regions over the AWS global network.

Provisioning is asynchronous and slow (several minutes); the provider submits the request and waits until the access point reaches READY. All control-plane requests are routed through us-west-2, as required by the Multi-Region Access Point API.

Route between two regional buckets

import * as S3Control from "alchemy/AWS/S3Control";
const mrap = yield* S3Control.MultiRegionAccessPoint("global", {
regions: [
{ bucket: usWestBucket.bucketName },
{ bucket: euCentralBucket.bucketName },
],
});

Single-region Multi-Region Access Point

const mrap = yield* S3Control.MultiRegionAccessPoint("global", {
regions: [{ bucket: bucket.bucketName }],
});