Struct aws_sdk_gamelift::operation::create_build::CreateBuildInput
source · #[non_exhaustive]pub struct CreateBuildInput {
pub name: Option<String>,
pub version: Option<String>,
pub storage_location: Option<S3Location>,
pub operating_system: Option<OperatingSystem>,
pub tags: Option<Vec<Tag>>,
pub server_sdk_version: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
A descriptive label associated with a build. Build names don't need to be unique. You can change this value later.
version: Option<String>
Version information associated with a build or script. Version strings don't need to be unique. You can change this value later.
storage_location: Option<S3Location>
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.
operating_system: Option<OperatingSystem>
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.
If you have active fleets using the Windows Server 2012 operating system, you can continue to create new builds using this OS until October 10, 2023, when Microsoft ends its support. All others must use Windows Server 2016 when creating new Windows-based builds.
A list of labels to assign to the new build resource. Tags are developer defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.
server_sdk_version: Option<String>
A server SDK version you used when integrating your game server build with Amazon GameLift. For more information see Integrate games with custom game servers. By default Amazon GameLift sets this value to 4.0.2
.
Implementations§
source§impl CreateBuildInput
impl CreateBuildInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
A descriptive label associated with a build. Build names don't need to be unique. You can change this value later.
sourcepub fn version(&self) -> Option<&str>
pub fn version(&self) -> Option<&str>
Version information associated with a build or script. Version strings don't need to be unique. You can change this value later.
sourcepub fn storage_location(&self) -> Option<&S3Location>
pub fn storage_location(&self) -> Option<&S3Location>
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.
sourcepub fn operating_system(&self) -> Option<&OperatingSystem>
pub fn operating_system(&self) -> Option<&OperatingSystem>
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.
If you have active fleets using the Windows Server 2012 operating system, you can continue to create new builds using this OS until October 10, 2023, when Microsoft ends its support. All others must use Windows Server 2016 when creating new Windows-based builds.
A list of labels to assign to the new build resource. Tags are developer defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn server_sdk_version(&self) -> Option<&str>
pub fn server_sdk_version(&self) -> Option<&str>
A server SDK version you used when integrating your game server build with Amazon GameLift. For more information see Integrate games with custom game servers. By default Amazon GameLift sets this value to 4.0.2
.
source§impl CreateBuildInput
impl CreateBuildInput
sourcepub fn builder() -> CreateBuildInputBuilder
pub fn builder() -> CreateBuildInputBuilder
Creates a new builder-style object to manufacture CreateBuildInput
.
Trait Implementations§
source§impl Clone for CreateBuildInput
impl Clone for CreateBuildInput
source§fn clone(&self) -> CreateBuildInput
fn clone(&self) -> CreateBuildInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateBuildInput
impl Debug for CreateBuildInput
source§impl PartialEq for CreateBuildInput
impl PartialEq for CreateBuildInput
source§fn eq(&self, other: &CreateBuildInput) -> bool
fn eq(&self, other: &CreateBuildInput) -> bool
self
and other
values to be equal, and is used
by ==
.