mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
Serve PutManagedScalingPolicy, GetManagedScalingPolicy, RemoveManagedScalingPolicy, PutAutoTerminationPolicy, GetAutoTerminationPolicy, RemoveAutoTerminationPolicy, PutAutoScalingPolicy, RemoveAutoScalingPolicy, GetBlockPublicAccessConfiguration and PutBlockPublicAccessConfiguration. The managed scaling and auto termination policies are stored on the cluster and the automatic scaling policy on its instance group, as the JSON given. RunJobFlow and AddInstanceGroups accept the same policies instead of dropping them, and ListInstanceGroups reports an attached automatic scaling policy. Validation follows the API model: ComputeLimits members and minimum not above maximum, IdleTimeout 60 to 604800 seconds, automatic scaling only on core and task groups, port ranges within 0 to 65535. Block public access is kept per account and Region and starts at the AWS default (public rules blocked, port 22 permitted). The cluster mutators are synchronized, since each reads, changes and stores the whole cluster. Refs #4888