@fntio/infra-client
Version:
Self-hosted AWS access portal: credential vending, target-account trust, and grant-driven private networking as CDK stacks and constructs.
11 lines (10 loc) • 750 B
TypeScript
import { TargetRoleSpec } from "./constructs/web-identity";
export interface TargetAccountTemplateProps {
/** The hub's issuer URL — the same value every TargetAccountStack is given. */
readonly issuerUrl: string;
readonly roles: readonly TargetRoleSpec[];
}
/** The target-account trust as a plain CloudFormation template for accounts the hub has never seen (a StackSet over
* an OU, or the account-creation pipeline): no account id baked in (the sub pin resolves through `AWS::AccountId`), a
* native `AWS::IAM::OIDCProvider`, no bootstrap bucket, no parameters. An account already running `Roles-<acct>` keeps it. */
export declare function synthTargetAccountTemplate(props: TargetAccountTemplateProps): Record<string, unknown>;