Struct aws_sdk_gamelift::input::create_fleet_input::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for CreateFleetInput
Implementations
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
A descriptive label that is associated with a fleet. Fleet names do not need to be unique.
A human-readable description of the fleet.
A human-readable description of the fleet.
The unique identifier for a custom game server build to be deployed on fleet
instances. You can use either the build ID or ARN. The build must be uploaded to GameLift
and in READY
status. This fleet property cannot be changed later.
The unique identifier for a custom game server build to be deployed on fleet
instances. You can use either the build ID or ARN. The build must be uploaded to GameLift
and in READY
status. This fleet property cannot be changed later.
The unique identifier for a Realtime configuration script to be deployed on fleet instances. You can use either the script ID or ARN. Scripts must be uploaded to GameLift prior to creating the fleet. This fleet property cannot be changed later.
The unique identifier for a Realtime configuration script to be deployed on fleet instances. You can use either the script ID or ARN. Scripts must be uploaded to GameLift prior to creating the fleet. This fleet property cannot be changed later.
This parameter is no longer used. Specify a server
launch path using the RuntimeConfiguration
parameter. Requests that use
this parameter instead continue to be valid.
This parameter is no longer used. Specify a server
launch path using the RuntimeConfiguration
parameter. Requests that use
this parameter instead continue to be valid.
This parameter is no longer used. Specify server
launch parameters using the RuntimeConfiguration
parameter. Requests that
use this parameter instead continue to be valid.
This parameter is no longer used. Specify server
launch parameters using the RuntimeConfiguration
parameter. Requests that
use this parameter instead continue to be valid.
Appends an item to log_paths
.
To override the contents of this collection use set_log_paths
.
This parameter is no longer used. To specify where
GameLift should store log files once a server process shuts down, use the GameLift server
API ProcessReady()
and specify one or more directory paths in
logParameters
. See more information in the Server API Reference.
This parameter is no longer used. To specify where
GameLift should store log files once a server process shuts down, use the GameLift server
API ProcessReady()
and specify one or more directory paths in
logParameters
. See more information in the Server API Reference.
The GameLift-supported EC2 instance type to use for all fleet instances. Instance type determines the computing resources that will be used to host your game servers, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions of EC2 instance types.
The GameLift-supported EC2 instance type to use for all fleet instances. Instance type determines the computing resources that will be used to host your game servers, including CPU, memory, storage, and networking capacity. See Amazon EC2 Instance Types for detailed descriptions of EC2 instance types.
Appends an item to ec2_inbound_permissions
.
To override the contents of this collection use set_ec2_inbound_permissions
.
The allowed IP address ranges and port settings that allow inbound traffic to access game sessions on this fleet. If the fleet is hosting a custom game build, this property must be set before players can connect to game sessions. For Realtime Servers fleets, GameLift automatically sets TCP and UDP ranges.
The allowed IP address ranges and port settings that allow inbound traffic to access game sessions on this fleet. If the fleet is hosting a custom game build, this property must be set before players can connect to game sessions. For Realtime Servers fleets, GameLift automatically sets TCP and UDP ranges.
The status of termination protection for active game sessions on the fleet. By
default, this property is set to NoProtection
. You can also set game
session protection for an individual game session by calling UpdateGameSession.
-
NoProtection - Game sessions can be terminated during active gameplay as a result of a scale-down event.
-
FullProtection - Game sessions in
ACTIVE
status cannot be terminated during a scale-down event.
The status of termination protection for active game sessions on the fleet. By
default, this property is set to NoProtection
. You can also set game
session protection for an individual game session by calling UpdateGameSession.
-
NoProtection - Game sessions can be terminated during active gameplay as a result of a scale-down event.
-
FullProtection - Game sessions in
ACTIVE
status cannot be terminated during a scale-down event.
Instructions for how to launch and maintain server processes on instances in the fleet. The runtime configuration defines one or more server process configurations, each identifying a build executable or Realtime script file and the number of processes of that type to run concurrently.
The RuntimeConfiguration
parameter is required unless the fleet is
being configured using the older parameters ServerLaunchPath
and
ServerLaunchParameters
, which are still supported for backward
compatibility.
Instructions for how to launch and maintain server processes on instances in the fleet. The runtime configuration defines one or more server process configurations, each identifying a build executable or Realtime script file and the number of processes of that type to run concurrently.
The RuntimeConfiguration
parameter is required unless the fleet is
being configured using the older parameters ServerLaunchPath
and
ServerLaunchParameters
, which are still supported for backward
compatibility.
A policy that limits the number of game sessions that an individual player can create on instances in this fleet within a specified span of time.
pub fn set_resource_creation_limit_policy(
self,
input: Option<ResourceCreationLimitPolicy>
) -> Self
pub fn set_resource_creation_limit_policy(
self,
input: Option<ResourceCreationLimitPolicy>
) -> Self
A policy that limits the number of game sessions that an individual player can create on instances in this fleet within a specified span of time.
Appends an item to metric_groups
.
To override the contents of this collection use set_metric_groups
.
The name of an AWS CloudWatch metric group to add this fleet to. A metric group is used to aggregate the metrics for multiple fleets. You can specify an existing metric group name or set a new name to create a new metric group. A fleet can be included in only one metric group at a time.
The name of an AWS CloudWatch metric group to add this fleet to. A metric group is used to aggregate the metrics for multiple fleets. You can specify an existing metric group name or set a new name to create a new metric group. A fleet can be included in only one metric group at a time.
Used when peering your GameLift fleet with a VPC, the unique identifier for the AWS account that owns the VPC. You can find your account ID in the AWS Management Console under account settings.
Used when peering your GameLift fleet with a VPC, the unique identifier for the AWS account that owns the VPC. You can find your account ID in the AWS Management Console under account settings.
A unique identifier for a VPC with resources to be accessed by your GameLift fleet. The VPC must be in the same Region as your fleet. To look up a VPC ID, use the VPC Dashboard in the AWS Management Console. Learn more about VPC peering in VPC Peering with GameLift Fleets.
A unique identifier for a VPC with resources to be accessed by your GameLift fleet. The VPC must be in the same Region as your fleet. To look up a VPC ID, use the VPC Dashboard in the AWS Management Console. Learn more about VPC peering in VPC Peering with GameLift Fleets.
Indicates whether to use On-Demand or Spot instances for this fleet. By default, this
property is set to ON_DEMAND
. Learn more about when to use On-Demand versus Spot Instances. This property cannot be changed after the
fleet is created.
Indicates whether to use On-Demand or Spot instances for this fleet. By default, this
property is set to ON_DEMAND
. Learn more about when to use On-Demand versus Spot Instances. This property cannot be changed after the
fleet is created.
A unique identifier for an AWS IAM role that manages access to your AWS services. With an instance role ARN set, any application that runs on an instance in this fleet can assume the role, including install scripts, server processes, and daemons (background processes). Create a role or look up a role's ARN by using the IAM dashboard in the AWS Management Console. Learn more about using on-box credentials for your game servers at Access external resources from a game server. This property cannot be changed after the fleet is created.
A unique identifier for an AWS IAM role that manages access to your AWS services. With an instance role ARN set, any application that runs on an instance in this fleet can assume the role, including install scripts, server processes, and daemons (background processes). Create a role or look up a role's ARN by using the IAM dashboard in the AWS Management Console. Learn more about using on-box credentials for your game servers at Access external resources from a game server. This property cannot be changed after the fleet is created.
Prompts GameLift to generate a TLS/SSL certificate for the fleet. TLS certificates are
used for encrypting traffic between game clients and the game servers that are running
on GameLift. By default, the CertificateConfiguration
is set to
DISABLED
. Learn more at Securing Client/Server Communication. This property cannot be changed after
the fleet is created.
Note: This feature requires the AWS Certificate Manager (ACM) service, which is not available in all AWS regions. When working in a region that does not support this feature, a fleet creation request with certificate generation fails with a 4xx error.
Prompts GameLift to generate a TLS/SSL certificate for the fleet. TLS certificates are
used for encrypting traffic between game clients and the game servers that are running
on GameLift. By default, the CertificateConfiguration
is set to
DISABLED
. Learn more at Securing Client/Server Communication. This property cannot be changed after
the fleet is created.
Note: This feature requires the AWS Certificate Manager (ACM) service, which is not available in all AWS regions. When working in a region that does not support this feature, a fleet creation request with certificate generation fails with a 4xx error.
Appends an item to locations
.
To override the contents of this collection use set_locations
.
A set of remote locations to deploy additional instances to and manage as part of the
fleet. This parameter can only be used when creating fleets in AWS Regions that support
multiple locations. You can add any GameLift-supported AWS Region as a remote location,
in the form of an AWS Region code such as us-west-2
. To create a fleet with
instances in the home Region only, omit this parameter.
A set of remote locations to deploy additional instances to and manage as part of the
fleet. This parameter can only be used when creating fleets in AWS Regions that support
multiple locations. You can add any GameLift-supported AWS Region as a remote location,
in the form of an AWS Region code such as us-west-2
. To create a fleet with
instances in the home Region only, omit this parameter.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of labels to assign to the new fleet resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the fleet 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 AWS General Reference for actual tagging limits.
A list of labels to assign to the new fleet resource. Tags are developer-defined key-value pairs. Tagging AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the fleet 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 AWS General Reference for actual tagging limits.
Consumes the builder and constructs a CreateFleetInput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more