Migrate AWS SDK v1 CloudFront URL and cookie signing

Apache 2.0

Replaces CloudFrontUrlSigner, CloudFrontCookieSigner and SignerUtils with generated classes that have the same API: signed URLs and canned- and custom-policy cookies are produced by v2's CloudFrontUtilities, and URLs for a caller-built policy, policy building and key loading are done as v1 did.

org.openrewrite.aws.sdk.MigrateCloudFrontSigners

Optional

generateHelpersBoolean

Whether to generate the helper classes that the changes use. Compositions that limit where helpers are generated set it to false and generate them with org.openrewrite.aws.sdk.GenerateAwsSdkV2Helpers. Defaults to true.

mod run . --recipe=org.openrewrite.aws.sdk.MigrateCloudFrontSigners

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.