Skip to content

Space

Source: src/AWS/RePostSpace/Space.ts

An AWS re:Post Private space — a private, organization-scoped version of AWS re:Post with curated Q&A, articles, and selected public content.

re:Post Private is a paid feature (Basic or Standard tier) that requires AWS IAM Identity Center to be enabled in the account. Space provisioning is asynchronous and can take tens of minutes; the provider waits for the space to reach CREATE_COMPLETED before returning.

Basic Space

import * as RePostSpace from "alchemy/AWS/RePostSpace";
const space = yield* RePostSpace.Space("Support", {
subdomain: "my-org-support",
tier: "BASIC",
});

Space with Description and Tags

const space = yield* RePostSpace.Space("Engineering", {
name: "Engineering Knowledge Base",
subdomain: "my-org-engineering",
tier: "STANDARD",
description: "Internal Q&A for the engineering org",
tags: { team: "platform" },
});
const space = yield* RePostSpace.Space("Secure", {
subdomain: "my-org-secure",
userKMSKey: key.keyArn,
});