CfnStreamGroupPropsMixin Mixin
The AWS::GameLiftStreams::StreamGroup resource defines a group of compute resources that will be running and streaming your game.
When you create a stream group, you specify the hardware configuration (CPU, GPU, RAM) that will run your game (known as the stream class ), the geographical locations where your game can run, and the number of streams that can run simultaneously in each location (known as stream capacity ). Stream groups manage how Amazon GameLift Streams allocates resources and handles concurrent streams, allowing you to effectively manage capacity and costs.
There are two types of stream capacity: always-on and on-demand.
- Always-on : The streaming capacity that is allocated and ready to handle stream requests without delay. 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.
- On-demand : 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 creating a stream group or adding a location.
Values for capacity must be whole number multiples of the tenancy value of the stream group's stream class.
Application association is not currently supported in CloudFormation . To link additional applications to a stream group, use the Amazon GameLift Streams console or the AWS CLI .
Initializer
new CfnStreamGroupPropsMixin(props: CfnStreamGroupMixinProps, options?: CfnPropertyMixinOptions)
CfnStreamGroupPropsMixin(props: CfnStreamGroupMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
new CfnStreamGroupPropsMixin(CfnStreamGroupMixinProps props, CfnPropertyMixinOptions options)
new CfnStreamGroupPropsMixin(CfnStreamGroupMixinProps props, CfnPropertyMixinOptions? options = null)
NewCfnStreamGroupPropsMixin(Props CfnStreamGroupMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#