Class MatchmakingConfigurationBase
(experimental) Base class for new and imported GameLift Matchmaking configuration.
Inheritance
Inherited Members
Namespace: Amazon.CDK.AWS.GameLift.Alpha
Assembly: Amazon.CDK.AWS.GameLift.Alpha.dll
Syntax (csharp)
public abstract class MatchmakingConfigurationBase : Resource, IMatchmakingConfiguration, IResource
Syntax (vb)
Public MustInherit Class MatchmakingConfigurationBase
Inherits Resource
Implements IMatchmakingConfiguration, IResource
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift.Alpha;
using Amazon.CDK.AWS.SNS;
Topic topic;
var matchmakingConfigurationBase = MatchmakingConfigurationBase.FromMatchmakingConfigurationAttributes(this, "MyMatchmakingConfigurationBase", new MatchmakingConfigurationAttributes {
MatchmakingConfigurationArn = "matchmakingConfigurationArn",
MatchmakingConfigurationName = "matchmakingConfigurationName",
NotificationTarget = topic
});
Synopsis
Constructors
MatchmakingConfigurationBase(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
MatchmakingConfigurationBase(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
MatchmakingConfigurationBase(Construct, String, IResourceProps) |
Properties
MatchmakingConfigurationArn | (experimental) The ARN of the matchmaking configuration. |
MatchmakingConfigurationName | (experimental) The Identifier of the matchmaking configuration. |
NotificationTarget | (experimental) The notification target for matchmaking events. |
Methods
FromMatchmakingConfigurationAttributes(Construct, String, IMatchmakingConfigurationAttributes) | (experimental) Import an existing matchmaking configuration from its attributes. |
Metric(String, IMetricOptions) | (experimental) Return the given named metric for this matchmaking configuration. |
MetricCurrentTickets(IMetricOptions) | (experimental) Matchmaking requests currently being processed or waiting to be processed. |
MetricMatchesAccepted(IMetricOptions) | (experimental) For matchmaking configurations that require acceptance, the potential matches that were accepted since the last report. |
MetricMatchesCreated(IMetricOptions) | (experimental) Potential matches that were created since the last report. |
MetricMatchesPlaced(IMetricOptions) | (experimental) Matches that were successfully placed into a game session since the last report. |
MetricMatchesRejected(IMetricOptions) | (experimental) For matchmaking configurations that require acceptance, the potential matches that were rejected by at least one player since the last report. |
MetricPlayersStarted(IMetricOptions) | (experimental) Players in matchmaking tickets that were added since the last report. |
MetricTimeToMatch(IMetricOptions) | (experimental) For matchmaking requests that were put into a potential match before the last report, the amount of time between ticket creation and potential match creation. |
Constructors
MatchmakingConfigurationBase(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected MatchmakingConfigurationBase(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
MatchmakingConfigurationBase(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected MatchmakingConfigurationBase(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
MatchmakingConfigurationBase(Construct, String, IResourceProps)
protected MatchmakingConfigurationBase(Construct scope, string id, IResourceProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props IResourceProps
Properties
MatchmakingConfigurationArn
(experimental) The ARN of the matchmaking configuration.
public abstract string MatchmakingConfigurationArn { get; }
Property Value
System.String
Remarks
Stability: Experimental
MatchmakingConfigurationName
(experimental) The Identifier of the matchmaking configuration.
public abstract string MatchmakingConfigurationName { get; }
Property Value
System.String
Remarks
Stability: Experimental
NotificationTarget
(experimental) The notification target for matchmaking events.
public abstract ITopic NotificationTarget { get; }
Property Value
Remarks
Stability: Experimental
Methods
FromMatchmakingConfigurationAttributes(Construct, String, IMatchmakingConfigurationAttributes)
(experimental) Import an existing matchmaking configuration from its attributes.
public static IMatchmakingConfiguration FromMatchmakingConfigurationAttributes(Construct scope, string id, IMatchmakingConfigurationAttributes attrs)
Parameters
- scope Constructs.Construct
- id System.String
- attrs IMatchmakingConfigurationAttributes
Returns
Remarks
Stability: Experimental
Metric(String, IMetricOptions)
(experimental) Return the given named metric for this matchmaking configuration.
public virtual Metric Metric(string metricName, IMetricOptions props = null)
Parameters
- metricName System.String
- props IMetricOptions
Returns
Remarks
Stability: Experimental
MetricCurrentTickets(IMetricOptions)
(experimental) Matchmaking requests currently being processed or waiting to be processed.
public virtual Metric MetricCurrentTickets(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Stability: Experimental
MetricMatchesAccepted(IMetricOptions)
(experimental) For matchmaking configurations that require acceptance, the potential matches that were accepted since the last report.
public virtual Metric MetricMatchesAccepted(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Stability: Experimental
MetricMatchesCreated(IMetricOptions)
(experimental) Potential matches that were created since the last report.
public virtual Metric MetricMatchesCreated(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Stability: Experimental
MetricMatchesPlaced(IMetricOptions)
(experimental) Matches that were successfully placed into a game session since the last report.
public virtual Metric MetricMatchesPlaced(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Stability: Experimental
MetricMatchesRejected(IMetricOptions)
(experimental) For matchmaking configurations that require acceptance, the potential matches that were rejected by at least one player since the last report.
public virtual Metric MetricMatchesRejected(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Stability: Experimental
MetricPlayersStarted(IMetricOptions)
(experimental) Players in matchmaking tickets that were added since the last report.
public virtual Metric MetricPlayersStarted(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Stability: Experimental
MetricTimeToMatch(IMetricOptions)
(experimental) For matchmaking requests that were put into a potential match before the last report, the amount of time between ticket creation and potential match creation.
public virtual Metric MetricTimeToMatch(IMetricOptions props = null)
Parameters
- props IMetricOptions
Returns
Remarks
Units: seconds
Stability: Experimental