interface LocationConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GameLiftStreams.Mixins.CfnStreamGroupPropsMixin.LocationConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgameliftstreams/mixins#CfnStreamGroupPropsMixin_LocationConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.gameliftstreams.mixins.CfnStreamGroupPropsMixin.LocationConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_gameliftstreams.mixins.CfnStreamGroupPropsMixin.LocationConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_gameliftstreams » mixins » CfnStreamGroupPropsMixin » LocationConfigurationProperty |
Configuration settings that define a stream group's stream capacity for a location.
When configuring a location for the first time, you must specify a numeric value for at least one of the two capacity types.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as gameliftstreams_mixins } from '@aws-cdk/mixins-preview/aws-gameliftstreams';
const locationConfigurationProperty: gameliftstreams_mixins.CfnStreamGroupPropsMixin.LocationConfigurationProperty = {
alwaysOnCapacity: 123,
locationName: 'locationName',
maximumCapacity: 123,
onDemandCapacity: 123,
targetIdleCapacity: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| always | number | This setting, if non-zero, indicates minimum streaming capacity which is allocated to you and is never released back to the service. |
| location | string | A location's name. |
| maximum | number | |
| on | number | This field is deprecated. Use MaximumCapacity instead. This parameter is ignored when MaximumCapacity is specified. |
| target | number |
alwaysOnCapacity?
Type:
number
(optional)
This setting, if non-zero, indicates minimum streaming capacity which is allocated to you and is never released back to the service.
You pay for this base level of capacity at all times, whether used or idle.
locationName?
Type:
string
(optional)
A location's name.
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 .
maximumCapacity?
Type:
number
(optional)
onDemandCapacity?
Type:
number
(optional)
This field is deprecated. Use MaximumCapacity instead. This parameter is ignored when MaximumCapacity is specified.
The streaming capacity that Amazon GameLift Streams can allocate in response to stream requests, and then de-allocate when the session has terminated. This offers a cost control measure at the expense of a greater startup time (typically under 5 minutes). Default is 0 when you create a stream group or add a location.
targetIdleCapacity?
Type:
number
(optional)

.NET
Go
Java
Python
TypeScript