Add required support for GameLift TLS certificate (#7564)

* Add required support for GameLift TLS certificate
* Update based on feedback
This commit is contained in:
Vincent Liu
2022-02-17 13:44:44 -08:00
committed by GitHub
parent bc2589f3e8
commit 2589cb20e5
12 changed files with 227 additions and 43 deletions
@@ -16,6 +16,9 @@ namespace AWSGameLift
// Reference https://sdk.amazonaws.com/cpp/api/LATEST/_game_session_status_reason_8h.html
static const char* AWSGameLiftSessionStatusReasons[2] = { "NotSet", "Interrupted" };
// Reference https://docs.aws.amazon.com/gamelift/latest/apireference/API_PlayerSession.html
static constexpr const char AWSGameLiftTLSEnabledDNSSuffix[] = ".amazongamelift.com";
static constexpr const char AWSGameLiftErrorMessageTemplate[] = "Exception: %s, Message: %s";
static constexpr const char AWSGameLiftClientMissingErrorMessage[] = "GameLift client is not configured yet.";
} // namespace AWSGameLift