Class CfnStreamGroupPropsMixin.LocationConfigurationProperty
Configuration settings that define a stream group's stream capacity for a location.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.GameLiftStreams.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnStreamGroupPropsMixin.LocationConfigurationProperty : CfnStreamGroupPropsMixin.ILocationConfigurationProperty
Syntax (vb)
Public Class CfnStreamGroupPropsMixin.LocationConfigurationProperty Implements CfnStreamGroupPropsMixin.ILocationConfigurationProperty
Remarks
When configuring a location for the first time, you must specify a numeric value for at least one of the two capacity types.
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.Mixins.Preview.AWS.GameLiftStreams.Mixins;
var locationConfigurationProperty = new LocationConfigurationProperty {
AlwaysOnCapacity = 123,
LocationName = "locationName",
OnDemandCapacity = 123
};
Synopsis
Constructors
| LocationConfigurationProperty() | Configuration settings that define a stream group's stream capacity for a location. |
Properties
| AlwaysOnCapacity | The streaming capacity that is allocated and ready to handle stream requests without delay. |
| LocationName | A location's name. |
| OnDemandCapacity | The streaming capacity that Amazon GameLift Streams can allocate in response to stream requests, and then de-allocate when the session has terminated. |
Constructors
LocationConfigurationProperty()
Configuration settings that define a stream group's stream capacity for a location.
public LocationConfigurationProperty()
Remarks
When configuring a location for the first time, you must specify a numeric value for at least one of the two capacity types.
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.Mixins.Preview.AWS.GameLiftStreams.Mixins;
var locationConfigurationProperty = new LocationConfigurationProperty {
AlwaysOnCapacity = 123,
LocationName = "locationName",
OnDemandCapacity = 123
};
Properties
AlwaysOnCapacity
The streaming capacity that is allocated and ready to handle stream requests without delay.
public double? AlwaysOnCapacity { get; set; }
Property Value
Remarks
You pay for this capacity whether it's in use or not. Best for quickest time from streaming request to streaming session. Default is 1 (2 for high stream classes) when creating a stream group or adding a location.
LocationName
A location's name.
public string? LocationName { get; set; }
Property Value
Remarks
For example, us-east-1 . For a complete list of locations that Amazon GameLift Streams supports, refer to Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide .
OnDemandCapacity
The streaming capacity that Amazon GameLift Streams can allocate in response to stream requests, and then de-allocate when the session has terminated.
public double? OnDemandCapacity { get; set; }
Property Value
Remarks
This offers a cost control measure at the expense of a greater startup time (typically under 5 minutes). Default is 0 when creating a stream group or adding a location.