@guardian/cdk

    Variable AppAccess

    AppAccess: { validate: (access: AppAccess) => void }

    Type declaration

    • validate: (access: AppAccess) => void

      Validate the CIDR rules for AppAccess.

      Public - always valid. No CIDR rules are needed here, and the type-system enforces this Restricted - Must not include global CIDR ranges as doing so makes other listed CIDR ranges redundant Internal - All CIDR ranges must start 10.

      Error when CIDR rules are invalid

    MMNEPVFCICPMFPCPTTAAATR