Interface IFleet.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IFleet,IGameSessionQueueDestination,IGameSessionQueueDestination.Jsii$Default,IGrantable,IGrantable.Jsii$Default,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IBuildFleet.Jsii$Default
- All Known Implementing Classes:
IBuildFleet.Jsii$Proxy,IFleet.Jsii$Proxy
- Enclosing interface:
IFleet
IFleet.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.gamelift.alpha.IFleet
IFleet.Jsii$Default, IFleet.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.gamelift.alpha.IGameSessionQueueDestination
IGameSessionQueueDestination.Jsii$Default, IGameSessionQueueDestination.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default, IGrantable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault String(experimental) The ARN of the fleet.default String(experimental) The Identifier of the fleet.default Grantgrant(IGrantable grantee, String... actions) (experimental) Grant thegranteeidentity permissions to performactions.default Metric(experimental) Return the given named metric for this fleet.default Metricmetric(String metricName, MetricOptions props) (experimental) Return the given named metric for this fleet.default Metric(experimental) Instances withACTIVEstatus, which means they are running active server processes.default Metric(experimental) Instances withACTIVEstatus, which means they are running active server processes.default Metric(experimental) Target number of active instances that GameLift is working to maintain in the fleet.default Metric(experimental) Target number of active instances that GameLift is working to maintain in the fleet.default Metric(experimental) Active instances that are currently hosting zero (0) game sessions.default MetricmetricIdleInstances(MetricOptions props) (experimental) Active instances that are currently hosting zero (0) game sessions.default Metric(experimental) Number of spot instances that have been interrupted.default Metric(experimental) Number of spot instances that have been interrupted.default Metric(experimental) Maximum number of instances that are allowed for the fleet.default MetricmetricMaxInstances(MetricOptions props) (experimental) Maximum number of instances that are allowed for the fleet.default Metric(experimental) Minimum number of instances allowed for the fleet.default MetricmetricMinInstances(MetricOptions props) (experimental) Minimum number of instances allowed for the fleet.default Metric(experimental) Percentage of all active instances that are idle (calculated as IdleInstances / ActiveInstances).default Metric(experimental) Percentage of all active instances that are idle (calculated as IdleInstances / ActiveInstances).Methods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.services.gamelift.alpha.IGameSessionQueueDestination.Jsii$Default
getResourceArnForDestinationMethods inherited from interface software.amazon.awscdk.services.iam.IGrantable.Jsii$Default
getGrantPrincipalMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFleetArn
(experimental) The ARN of the fleet.- Specified by:
getFleetArnin interfaceIFleet
-
getFleetId
(experimental) The Identifier of the fleet.- Specified by:
getFleetIdin interfaceIFleet
-
grant
@Stability(Experimental) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) (experimental) Grant thegranteeidentity permissions to performactions. -
metric
@Stability(Experimental) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Return the given named metric for this fleet. -
metric
(experimental) Return the given named metric for this fleet. -
metricActiveInstances
@Stability(Experimental) @NotNull default Metric metricActiveInstances(@Nullable MetricOptions props) (experimental) Instances withACTIVEstatus, 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.
- Specified by:
metricActiveInstancesin interfaceIFleet- Parameters:
props-
-
metricActiveInstances
(experimental) Instances withACTIVEstatus, 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.
- Specified by:
metricActiveInstancesin interfaceIFleet
-
metricDesiredInstances
@Stability(Experimental) @NotNull default Metric metricDesiredInstances(@Nullable MetricOptions props) (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.
- Specified by:
metricDesiredInstancesin interfaceIFleet- 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.
- Specified by:
metricDesiredInstancesin interfaceIFleet
-
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.
- Specified by:
metricIdleInstancesin interfaceIFleet- 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.
- Specified by:
metricIdleInstancesin interfaceIFleet
-
metricInstanceInterruptions
@Stability(Experimental) @NotNull default Metric metricInstanceInterruptions(@Nullable MetricOptions props) (experimental) Number of spot instances that have been interrupted.- Specified by:
metricInstanceInterruptionsin interfaceIFleet- Parameters:
props-
-
metricInstanceInterruptions
(experimental) Number of spot instances that have been interrupted.- Specified by:
metricInstanceInterruptionsin interfaceIFleet
-
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.
- Specified by:
metricMaxInstancesin interfaceIFleet- 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.
- Specified by:
metricMaxInstancesin interfaceIFleet
-
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.
- Specified by:
metricMinInstancesin interfaceIFleet- 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.
- Specified by:
metricMinInstancesin interfaceIFleet
-
metricPercentIdleInstances
@Stability(Experimental) @NotNull default Metric metricPercentIdleInstances(@Nullable MetricOptions props) (experimental) Percentage of all active instances that are idle (calculated as IdleInstances / ActiveInstances).This metric can be used for automatic scaling.
- Specified by:
metricPercentIdleInstancesin interfaceIFleet- Parameters:
props-
-
metricPercentIdleInstances
(experimental) Percentage of all active instances that are idle (calculated as IdleInstances / ActiveInstances).This metric can be used for automatic scaling.
- Specified by:
metricPercentIdleInstancesin interfaceIFleet
-