Hi @Ronnie Kapoor , you can accomplish this by using a custom policy. Use the "CodeExpirationInSeconds" tag to change the time. Please let me know if you have any questions!
If this answer helped you please mark it as "Verified" so other users may reference it.
Thank you,
James