Skip to content
v2.278.0

AnywhereConfigurationProperty Struct ​

Amazon GameLift Servers configuration options for your Anywhere fleets.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gamelift as gamelift } from 'aws-cdk-lib';
const anywhereConfigurationProperty: gamelift.CfnFleet.AnywhereConfigurationProperty = {
  cost: 'cost',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_gamelift as gamelift

anywhere_configuration_property = gamelift.CfnFleet.AnywhereConfigurationProperty(
    cost="cost"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.gamelift.*;

AnywhereConfigurationProperty anywhereConfigurationProperty = AnywhereConfigurationProperty.builder()
        .cost("cost")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift;

var anywhereConfigurationProperty = new AnywhereConfigurationProperty {
    Cost = "cost"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"

anywhereConfigurationProperty := &AnywhereConfigurationProperty{
	Cost: jsii.String("cost"),
}

Properties ​

coststringcoststrcostStringCoststringCost*string required #
The cost to run your fleet per hour.
notes

Amazon GameLift Servers uses the provided cost of your fleet to balance usage in queues. For more information about queues, see Setting up queues in the Amazon GameLift Servers Developer Guide .