UNPKG

@fntio/infra-client

Version:

Self-hosted AWS access portal: credential vending, target-account trust, and grant-driven private networking as CDK stacks and constructs.

16 lines (15 loc) • 787 B
import * as cdk from "aws-cdk-lib"; import { Construct } from "constructs"; import { TargetRoleSpec } from "./constructs/web-identity"; export interface TargetAccountStackProps extends cdk.StackProps { /** The hub's stable issuer URL (trailing slash tolerated — stripped to * match the minted `iss` claim). */ readonly issuerUrl: string; /** The roles to create in this account, each assumable via web identity. */ readonly roles: readonly TargetRoleSpec[]; } /** Only the OIDC provider trusting the hub's ISSUER (never the hub account) * + the roles. Deliberately small — the target security team's audit surface. */ export declare class TargetAccountStack extends cdk.Stack { constructor(scope: Construct, id: string, props: TargetAccountStackProps); }