-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(@aws-cdk/aws-gamelift-alpha): Missing properties to support GameLift Server SDK 5+ #27655
Comments
Thanks @wintersieck for reporting this. Contributions are welcome from the community. |
…em values (#27857) Some adjustments to `Build` properties: * Adds support for [`serverSdkVersion`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-serversdkversion) attribute * Updates list of available [`operatingSystem`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-operatingsystem) and deprecates Windows Server 2012 Closes #27655. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
…em values (#27857) Some adjustments to `Build` properties: * Adds support for [`serverSdkVersion`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-serversdkversion) attribute * Updates list of available [`operatingSystem`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-operatingsystem) and deprecates Windows Server 2012 Closes #27655. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Describe the bug
Two similar issues:
You can't set the
ServerSdkVersion
property when creating a build, which is mandatory to use SDK 5+ (since the default is 4 something). Here's documentation on the property and the property missing in the CDK documentation.Similarly, the enum for operating system doesn't allow setting
AMAZON_LINUX_2023
as documented here.Thank you!
Expected Behavior
To be able to set
ServerSdkVersion
andOperatingSystem
.Current Behavior
You can't set
ServerSdkVersion
andOperatingSystem
.Reproduction Steps
N/A
Possible Solution
serverSdkVersion
prop toBuild
and pass it along when callingCfnBuild
.AMAZON_LINUX_2023
to theOperatingSystem
enum. No logic changes seem to be necessary.Additional Information/Context
No response
CDK CLI Version
2.101.1
Framework Version
No response
Node.js Version
v20.8.1
OS
Ubuntu (WSL2 on Windows 11)
Language
TypeScript
Language Version
5.2.2
Other information
No response
The text was updated successfully, but these errors were encountered: