package awsgamelift // Properties for defining a `CfnBuild`. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // cfnBuildProps := &CfnBuildProps{ // Name: jsii.String("name"), // OperatingSystem: jsii.String("operatingSystem"), // ServerSdkVersion: jsii.String("serverSdkVersion"), // StorageLocation: &StorageLocationProperty{ // Bucket: jsii.String("bucket"), // Key: jsii.String("key"), // RoleArn: jsii.String("roleArn"), // // // the properties below are optional // ObjectVersion: jsii.String("objectVersion"), // }, // Version: jsii.String("version"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html // type CfnBuildProps struct { // A descriptive label that is associated with a build. // // Build names do not need to be unique. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-name // Name *string `field:"optional" json:"name" yaml:"name"` // The operating system that your game server binaries run on. // // This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later. // // > The Amazon Linux 2023 OS is not available in the China Regions. > Support is ending in 2023 for the Windows Server 2012 and Amazon Linux (AL1) operating systems. If you have active fleets using these operating systems, you can continue to create new builds using these until their end of support. All other users must use Windows Server 2016, Amazon Linux 2, or Amazon Linux 2023. For more information, including specific end-of-support dates, see the Amazon GameLift FAQs for [Windows Server](https://docs.aws.amazon.com/gamelift/faq/win2012/) and [Linux Server](https://docs.aws.amazon.com/gamelift/faq/al1/) . // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-operatingsystem // OperatingSystem *string `field:"optional" json:"operatingSystem" yaml:"operatingSystem"` // The Amazon GameLift Server SDK version used to develop your game server. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-serversdkversion // ServerSdkVersion *string `field:"optional" json:"serverSdkVersion" yaml:"serverSdkVersion"` // Information indicating where your game build files are stored. // // Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region. // // If a `StorageLocation` is specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift will report a `SizeOnDisk` of 0. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-storagelocation // StorageLocation interface{} `field:"optional" json:"storageLocation" yaml:"storageLocation"` // Version information that is associated with this build. // // Version strings do not need to be unique. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-build.html#cfn-gamelift-build-version // Version *string `field:"optional" json:"version" yaml:"version"` }