No cloudfront ate esse vídeo de direcionamento dos nsnames que o professor solicitar acrescentar nas configurações do cloudfront, esta dando um erro informando que necessito de um certificado de segurança para validação:
"com.amazonaws.services.cloudfront.model.InvalidViewerCertificateException: To add an alternate domain name (CNAME) to a CloudFront distribution, you must attach a trusted certificate that validates your authorization to use the domain name. For more details, see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-requirements (Service: AmazonCloudFront; Status Code: 400; Error Code: InvalidViewerCertificate; Request ID: f434d941-6392-11e9-bb7d-b52789f85d8d)"