class CfnMatchmakingConfigurationPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GameLift.Mixins.CfnMatchmakingConfigurationPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgamelift/mixins#CfnMatchmakingConfigurationPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.gamelift.mixins.CfnMatchmakingConfigurationPropsMixin |
Python | aws_cdk.mixins_preview.aws_gamelift.mixins.CfnMatchmakingConfigurationPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_gamelift » mixins » CfnMatchmakingConfigurationPropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::GameLift::MatchmakingConfiguration resource defines a new matchmaking configuration for use with FlexMatch.
Whether you're using FlexMatch with GameLift hosting or as a standalone matchmaking service, the matchmaking configuration sets out rules for matching players and forming teams. If you're using GameLift hosting, it also defines how to start game sessions for each match. Your matchmaking system can use multiple configurations to handle different game scenarios. All matchmaking requests identify the matchmaking configuration to use and provide player attributes that are consistent with that configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as gamelift_mixins } from '@aws-cdk/mixins-preview/aws-gamelift';
const cfnMatchmakingConfigurationPropsMixin = new gamelift_mixins.CfnMatchmakingConfigurationPropsMixin({
acceptanceRequired: false,
acceptanceTimeoutSeconds: 123,
additionalPlayerCount: 123,
backfillMode: 'backfillMode',
creationTime: 'creationTime',
customEventData: 'customEventData',
description: 'description',
flexMatchMode: 'flexMatchMode',
gameProperties: [{
key: 'key',
value: 'value',
}],
gameSessionData: 'gameSessionData',
gameSessionQueueArns: ['gameSessionQueueArns'],
name: 'name',
notificationTarget: 'notificationTarget',
requestTimeoutSeconds: 123,
ruleSetArn: 'ruleSetArn',
ruleSetName: 'ruleSetName',
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnMatchmakingConfigurationPropsMixin(props: CfnMatchmakingConfigurationMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Matchmaking Configuration Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::GameLift::MatchmakingConfiguration.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript