List existing certificates:
aws --profile company-tld iam list-server-certificates
Upload key, certificate and intermediate CA certificates, this was also described in the Import SSL certificate to AWS IAM:
aws --profile company-tld iam upload-server-certificate \
--server-certificate-name company-tld-2023 \
--certificate-body file://ServerCertificate.pem \
--private-key file://Server.key \
--certificate-chain file://CACertificate-INTERMEDIATE.pem
Delete existing certificate:
aws --profile company-tld iam delete-server-certificate --server-certificate-name company-tld-2023
Get existing certificate:
aws --profile company-tld iam get-server-certificate --server-certificate-name company-tld-2023