Class CfnStreamGroup
The AWS::GameLiftStreams::StreamGroup resource defines a group of compute resources that will be running and streaming your game.
Inherited Members
Namespace: Amazon.CDK.AWS.GameLiftStreams
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStreamGroup : CfnResource, IInspectable, IStreamGroupRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Syntax (vb)
Public Class CfnStreamGroup Inherits CfnResource Implements IInspectable, IStreamGroupRef, IConstruct, IDependable, IEnvironmentAware, ITaggableV2
Remarks
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.
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 .
CloudformationResource: AWS::GameLiftStreams::StreamGroup
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.GameLiftStreams;
var cfnStreamGroup = new CfnStreamGroup(this, "MyCfnStreamGroup", new CfnStreamGroupProps {
Description = "description",
LocationConfigurations = new [] { new LocationConfigurationProperty {
LocationName = "locationName",
// the properties below are optional
AlwaysOnCapacity = 123,
OnDemandCapacity = 123
} },
StreamClass = "streamClass",
// the properties below are optional
DefaultApplication = new DefaultApplicationProperty {
Arn = "arn",
Id = "id"
},
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
});
Synopsis
Constructors
| CfnStreamGroup(Construct, string, ICfnStreamGroupProps) | Create a new |
Properties
| AttrArn | An Amazon Resource Name (ARN) that uniquely identifies the stream group resource. For example: |
| AttrId | An ID that uniquely identifies the stream group resource. |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CdkTagManager | Tag Manager which manages the tags for this resource. |
| CfnProperties | The |
| DefaultApplication | Object that identifies the Amazon GameLift Streams application to stream with this stream group. |
| Description | A descriptive label for the stream group. |
| LocationConfigurations | A set of one or more locations and the streaming capacity for each location. |
| StreamClass | The target stream quality for sessions that are hosted in this stream group. |
| StreamGroupRef | A reference to a StreamGroup resource. |
| Tags | A list of labels to assign to the new stream group resource. |
Methods
| ArnForStreamGroup(IStreamGroupRef) | The |
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnStreamGroup(object) | Checks whether the given object is a CfnStreamGroup. |
| RenderProperties(IDictionary<string, object>) | The |
Constructors
CfnStreamGroup(Construct, string, ICfnStreamGroupProps)
Create a new AWS::GameLiftStreams::StreamGroup.
public CfnStreamGroup(Construct scope, string id, ICfnStreamGroupProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnStreamGroupProps
Resource properties.
Remarks
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.
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 .
CloudformationResource: AWS::GameLiftStreams::StreamGroup
ExampleMetadata: fixture=_generated
Properties
AttrArn
An Amazon Resource Name (ARN) that uniquely identifies the stream group resource. For example: arn:aws:gameliftstreams:us-west-2:123456789012:streamgroup/sg-1AB2C3De4 .
public virtual string AttrArn { get; }
Property Value
Remarks
CloudformationAttribute: Arn
AttrId
An ID that uniquely identifies the stream group resource.
public virtual string AttrId { get; }
Property Value
Remarks
For example: sg-1AB2C3De4 .
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
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.
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 .
CloudformationResource: AWS::GameLiftStreams::StreamGroup
ExampleMetadata: fixture=_generated
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
Remarks
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.
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 .
CloudformationResource: AWS::GameLiftStreams::StreamGroup
ExampleMetadata: fixture=_generated
CfnProperties
The AWS::GameLiftStreams::StreamGroup resource defines a group of compute resources that will be running and streaming your game.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
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.
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 .
CloudformationResource: AWS::GameLiftStreams::StreamGroup
ExampleMetadata: fixture=_generated
DefaultApplication
Object that identifies the Amazon GameLift Streams application to stream with this stream group.
public virtual object? DefaultApplication { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnStreamGroup.IDefaultApplicationProperty
Description
A descriptive label for the stream group.
public virtual string Description { get; set; }
Property Value
Remarks
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.
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 .
CloudformationResource: AWS::GameLiftStreams::StreamGroup
ExampleMetadata: fixture=_generated
LocationConfigurations
A set of one or more locations and the streaming capacity for each location.
public virtual object LocationConfigurations { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnStreamGroup.ILocationConfigurationProperty)[]
StreamClass
The target stream quality for sessions that are hosted in this stream group.
public virtual string StreamClass { get; set; }
Property Value
Remarks
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.
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 .
CloudformationResource: AWS::GameLiftStreams::StreamGroup
ExampleMetadata: fixture=_generated
StreamGroupRef
A reference to a StreamGroup resource.
public virtual IStreamGroupReference StreamGroupRef { get; }
Property Value
Remarks
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.
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 .
CloudformationResource: AWS::GameLiftStreams::StreamGroup
ExampleMetadata: fixture=_generated
Tags
A list of labels to assign to the new stream group resource.
public virtual IDictionary<string, string>? Tags { get; set; }
Property Value
Remarks
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.
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 .
CloudformationResource: AWS::GameLiftStreams::StreamGroup
ExampleMetadata: fixture=_generated
Methods
ArnForStreamGroup(IStreamGroupRef)
The AWS::GameLiftStreams::StreamGroup resource defines a group of compute resources that will be running and streaming your game.
public static string ArnForStreamGroup(IStreamGroupRef resource)
Parameters
- resource IStreamGroupRef
Returns
Remarks
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.
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 .
CloudformationResource: AWS::GameLiftStreams::StreamGroup
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.GameLiftStreams;
var cfnStreamGroup = new CfnStreamGroup(this, "MyCfnStreamGroup", new CfnStreamGroupProps {
Description = "description",
LocationConfigurations = new [] { new LocationConfigurationProperty {
LocationName = "locationName",
// the properties below are optional
AlwaysOnCapacity = 123,
OnDemandCapacity = 123
} },
StreamClass = "streamClass",
// the properties below are optional
DefaultApplication = new DefaultApplicationProperty {
Arn = "arn",
Id = "id"
},
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
});
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
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.
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 .
CloudformationResource: AWS::GameLiftStreams::StreamGroup
ExampleMetadata: fixture=_generated
IsCfnStreamGroup(object)
Checks whether the given object is a CfnStreamGroup.
public static bool IsCfnStreamGroup(object x)
Parameters
- x object
Returns
Remarks
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.
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 .
CloudformationResource: AWS::GameLiftStreams::StreamGroup
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
The AWS::GameLiftStreams::StreamGroup resource defines a group of compute resources that will be running and streaming your game.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
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.
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 .
CloudformationResource: AWS::GameLiftStreams::StreamGroup
ExampleMetadata: fixture=_generated