Interface IFleet
- All Superinterfaces:
software.constructs.IConstruct
,software.constructs.IDependable
,IGameSessionQueueDestination
,IGrantable
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IBuildFleet
,IBuildFleet.Jsii$Default
,IFleet.Jsii$Default
- All Known Implementing Classes:
BuildFleet
,FleetBase
,IBuildFleet.Jsii$Proxy
,IFleet.Jsii$Proxy
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIFleet
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescription(experimental) The ARN of the fleet.(experimental) The Identifier of the fleet.grant
(IGrantable grantee, @NotNull String... actions) (experimental) Grant thegrantee
identity permissions to performactions
.(experimental) Return the given named metric for this fleet.metric
(String metricName, MetricOptions props) (experimental) Return the given named metric for this fleet.(experimental) Instances withACTIVE
status, which means they are running active server processes.(experimental) Instances withACTIVE
status, which means they are running active server processes.(experimental) Target number of active instances that GameLift is working to maintain in the fleet.(experimental) Target number of active instances that GameLift is working to maintain in the fleet.(experimental) Active instances that are currently hosting zero (0) game sessions.metricIdleInstances
(MetricOptions props) (experimental) Active instances that are currently hosting zero (0) game sessions.(experimental) Number of spot instances that have been interrupted.(experimental) Number of spot instances that have been interrupted.(experimental) Maximum number of instances that are allowed for the fleet.metricMaxInstances
(MetricOptions props) (experimental) Maximum number of instances that are allowed for the fleet.(experimental) Minimum number of instances allowed for the fleet.metricMinInstances
(MetricOptions props) (experimental) Minimum number of instances allowed for the fleet.(experimental) Percentage of all active instances that are idle (calculated as IdleInstances / ActiveInstances).(experimental) Percentage of all active instances that are idle (calculated as IdleInstances / ActiveInstances).Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.services.gamelift.alpha.IGameSessionQueueDestination
getResourceArnForDestination
Methods inherited from interface software.amazon.awscdk.services.iam.IGrantable
getGrantPrincipal
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFleetArn
(experimental) The ARN of the fleet. -
getFleetId
(experimental) The Identifier of the fleet. -
grant
@Stability(Experimental) @NotNull Grant grant(@NotNull IGrantable grantee, @NotNull @NotNull String... actions) (experimental) Grant thegrantee
identity permissions to performactions
.- Parameters:
grantee
- This parameter is required.actions
- This parameter is required.
-
metric
@Stability(Experimental) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Return the given named metric for this fleet.- Parameters:
metricName
- This parameter is required.props
-
-
metric
(experimental) Return the given named metric for this fleet.- Parameters:
metricName
- This parameter is required.
-
metricActiveInstances
(experimental) Instances withACTIVE
status, which means they are running active server processes.The count includes idle instances and those that are hosting one or more game sessions. This metric measures current total instance capacity.
This metric can be used with automatic scaling.
- Parameters:
props
-
-
metricActiveInstances
(experimental) Instances withACTIVE
status, which means they are running active server processes.The count includes idle instances and those that are hosting one or more game sessions. This metric measures current total instance capacity.
This metric can be used with automatic scaling.
-
metricDesiredInstances
(experimental) Target number of active instances that GameLift is working to maintain in the fleet.With automatic scaling, this value is determined based on the scaling policies currently in force. Without automatic scaling, this value is set manually. This metric is not available when viewing data for fleet metric groups.
- Parameters:
props
-
-
metricDesiredInstances
(experimental) Target number of active instances that GameLift is working to maintain in the fleet.With automatic scaling, this value is determined based on the scaling policies currently in force. Without automatic scaling, this value is set manually. This metric is not available when viewing data for fleet metric groups.
-
metricIdleInstances
(experimental) Active instances that are currently hosting zero (0) game sessions.This metric measures capacity that is available but unused. This metric can be used with automatic scaling.
- Parameters:
props
-
-
metricIdleInstances
(experimental) Active instances that are currently hosting zero (0) game sessions.This metric measures capacity that is available but unused. This metric can be used with automatic scaling.
-
metricInstanceInterruptions
(experimental) Number of spot instances that have been interrupted.- Parameters:
props
-
-
metricInstanceInterruptions
(experimental) Number of spot instances that have been interrupted. -
metricMaxInstances
(experimental) Maximum number of instances that are allowed for the fleet.A fleet's instance maximum determines the capacity ceiling during manual or automatic scaling up. This metric is not available when viewing data for fleet metric groups.
- Parameters:
props
-
-
metricMaxInstances
(experimental) Maximum number of instances that are allowed for the fleet.A fleet's instance maximum determines the capacity ceiling during manual or automatic scaling up. This metric is not available when viewing data for fleet metric groups.
-
metricMinInstances
(experimental) Minimum number of instances allowed for the fleet.A fleet's instance minimum determines the capacity floor during manual or automatic scaling down. This metric is not available when viewing data for fleet metric groups.
- Parameters:
props
-
-
metricMinInstances
(experimental) Minimum number of instances allowed for the fleet.A fleet's instance minimum determines the capacity floor during manual or automatic scaling down. This metric is not available when viewing data for fleet metric groups.
-
metricPercentIdleInstances
(experimental) Percentage of all active instances that are idle (calculated as IdleInstances / ActiveInstances).This metric can be used for automatic scaling.
- Parameters:
props
-
-
metricPercentIdleInstances
(experimental) Percentage of all active instances that are idle (calculated as IdleInstances / ActiveInstances).This metric can be used for automatic scaling.
-