APIEnvironment: {
    apiId: string;
    cors: APIEnvironmentCorsConfiguration | boolean;
    environment: string;
    formsAppEnvironmentIds?: number[];
    isWafEnabled?: boolean;
    lastDeployment: string;
    routes: APIEnvironmentRoute[];
    scheduledFunctions?: APIEnvironmentScheduledFunction[];
    status?:
        | "Warning"
        | "Error"
        | "Okay"
        | "Unknown";
    vpcSecurityGroupIds?: string;
    vpcSubnetIds?: string;
}

Type declaration

  • apiId: string
  • cors: APIEnvironmentCorsConfiguration | boolean
  • environment: string
  • OptionalformsAppEnvironmentIds?: number[]

    The IDs of the Forms App Environments to map this environment to. These are used for form migrations that include Hosted API configuration.

  • OptionalisWafEnabled?: boolean
  • lastDeployment: string
  • routes: APIEnvironmentRoute[]
  • OptionalscheduledFunctions?: APIEnvironmentScheduledFunction[]
  • Optionalstatus?:
        | "Warning"
        | "Error"
        | "Okay"
        | "Unknown"
  • OptionalvpcSecurityGroupIds?: string
  • OptionalvpcSubnetIds?: string