Migrate AWS SDK v1 SDKGlobalConfiguration settings
Apache 2.0v1's com.amazonaws.sdk.disableCbor property becomes v2's aws.cborEnabled with the value inverted at the System.setProperty call site (v1 treats any value but false as disabled). Constants whose v2 SdkSystemSetting has the same name map to it; the others are inlined as the property or variable name they hold, and v1's isXxx() checks become the same System.getProperty/System.getenv tests. v2 keeps no global clock offset, so setGlobalTimeOffset is dropped and getGlobalTimeOffset() becomes 0.
org. openrewrite. aws. sdk. MigrateAwsSdkGlobalConfigurationmod run . --recipe= org. openrewrite. aws. sdk. MigrateAwsSdkGlobalConfigurationInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.