Skip to content
v2.277.0

FilterConfigurationProperty Struct ​

A list of fleet locations where a game session queue can place new game sessions.

You can use a filter to temporarily turn off placements for specific locations. For queues that have multi-location fleets, you can use a filter configuration allow placement with some, but not all of these locations.

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 filterConfigurationProperty: gamelift.CfnGameSessionQueue.FilterConfigurationProperty = {
  allowedLocations: ['allowedLocations'],
};
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

filter_configuration_property = gamelift.CfnGameSessionQueue.FilterConfigurationProperty(
    allowed_locations=["allowedLocations"]
)
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.*;

FilterConfigurationProperty filterConfigurationProperty = FilterConfigurationProperty.builder()
        .allowedLocations(List.of("allowedLocations"))
        .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 filterConfigurationProperty = new FilterConfigurationProperty {
    AllowedLocations = new [] { "allowedLocations" }
};
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"

filterConfigurationProperty := &FilterConfigurationProperty{
	AllowedLocations: []*string{
		jsii.String("allowedLocations"),
	},
}

Properties ​

allowedLocationsoptionalstring[]allowed_locationsoptionaltyping.List[str]allowedLocationsoptionalList<String>AllowedLocationsoptionalstring[]AllowedLocationsoptional*[]*string #
A list of locations to allow game session placement in, in the form of AWS Region codes such as `us-west-2` .