Skip to content
v2.277.0

CfnStreamGroupProps Struct ​

Properties for defining a CfnStreamGroup.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gameliftstreams as gameliftstreams } from 'aws-cdk-lib';
const cfnStreamGroupProps: gameliftstreams.CfnStreamGroupProps = {
  description: 'description',
  locationConfigurations: [{
    locationName: 'locationName',

    // the properties below are optional
    alwaysOnCapacity: 123,
    maximumCapacity: 123,
    onDemandCapacity: 123,
    targetIdleCapacity: 123,
    vpcTransitConfiguration: {
      ipv4CidrBlocks: ['ipv4CidrBlocks'],
      vpcId: 'vpcId',
    },
  }],
  streamClass: 'streamClass',

  // the properties below are optional
  defaultApplication: {
    arn: 'arn',
    id: 'id',
  },
  tags: {
    tagsKey: 'tags',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_gameliftstreams as gameliftstreams

cfn_stream_group_props = gameliftstreams.CfnStreamGroupProps(
    description="description",
    location_configurations=[gameliftstreams.CfnStreamGroup.LocationConfigurationProperty(
        location_name="locationName",

        # the properties below are optional
        always_on_capacity=123,
        maximum_capacity=123,
        on_demand_capacity=123,
        target_idle_capacity=123,
        vpc_transit_configuration=gameliftstreams.CfnStreamGroup.VpcTransitConfigurationProperty(
            ipv4_cidr_blocks=["ipv4CidrBlocks"],
            vpc_id="vpcId"
        )
    )],
    stream_class="streamClass",

    # the properties below are optional
    default_application=gameliftstreams.CfnStreamGroup.DefaultApplicationProperty(
        arn="arn",
        id="id"
    ),
    tags={
        "tags_key": "tags"
    }
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.gameliftstreams.*;

CfnStreamGroupProps cfnStreamGroupProps = CfnStreamGroupProps.builder()
        .description("description")
        .locationConfigurations(List.of(LocationConfigurationProperty.builder()
                .locationName("locationName")

                // the properties below are optional
                .alwaysOnCapacity(123)
                .maximumCapacity(123)
                .onDemandCapacity(123)
                .targetIdleCapacity(123)
                .vpcTransitConfiguration(VpcTransitConfigurationProperty.builder()
                        .ipv4CidrBlocks(List.of("ipv4CidrBlocks"))
                        .vpcId("vpcId")
                        .build())
                .build()))
        .streamClass("streamClass")

        // the properties below are optional
        .defaultApplication(DefaultApplicationProperty.builder()
                .arn("arn")
                .id("id")
                .build())
        .tags(Map.of(
                "tagsKey", "tags"))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 cfnStreamGroupProps = new CfnStreamGroupProps {
    Description = "description",
    LocationConfigurations = new [] { new LocationConfigurationProperty {
        LocationName = "locationName",

        // the properties below are optional
        AlwaysOnCapacity = 123,
        MaximumCapacity = 123,
        OnDemandCapacity = 123,
        TargetIdleCapacity = 123,
        VpcTransitConfiguration = new VpcTransitConfigurationProperty {
            Ipv4CidrBlocks = new [] { "ipv4CidrBlocks" },
            VpcId = "vpcId"
        }
    } },
    StreamClass = "streamClass",

    // the properties below are optional
    DefaultApplication = new DefaultApplicationProperty {
        Arn = "arn",
        Id = "id"
    },
    Tags = new Dictionary<string, string> {
        { "tagsKey", "tags" }
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnStreamGroupProps := &CfnStreamGroupProps{
	Description: jsii.String("description"),
	LocationConfigurations: []interface{}{
		&LocationConfigurationProperty{
			LocationName: jsii.String("locationName"),

			// the properties below are optional
			AlwaysOnCapacity: jsii.Number(123),
			MaximumCapacity: jsii.Number(123),
			OnDemandCapacity: jsii.Number(123),
			TargetIdleCapacity: jsii.Number(123),
			VpcTransitConfiguration: &VpcTransitConfigurationProperty{
				Ipv4CidrBlocks: []*string{
					jsii.String("ipv4CidrBlocks"),
				},
				VpcId: jsii.String("vpcId"),
			},
		},
	},
	StreamClass: jsii.String("streamClass"),

	// the properties below are optional
	DefaultApplication: &DefaultApplicationProperty{
		Arn: jsii.String("arn"),
		Id: jsii.String("id"),
	},
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}

Properties ​

defaultApplicationoptionalIResolvable | CfnStreamGroup.DefaultApplicationPropertydefault_applicationoptionaltyping.Union[IResolvable, DefaultApplicationProperty]defaultApplicationoptionalIResolvableDefaultApplicationoptionalIResolvableDefaultApplicationoptionalinterface{} #
Object that identifies the Amazon GameLift Streams application to stream with this stream group.
descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string required #
A descriptive label for the stream group.
locationConfigurationsIResolvable | IResolvable | CfnStreamGroup.LocationConfigurationProperty[]location_configurationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, LocationConfigurationProperty]]]locationConfigurationsIResolvableLocationConfigurationsIResolvableLocationConfigurationsinterface{} required #
A set of one or more locations and the streaming capacity for each location.

One of the locations MUST be your primary location, which is the AWS Region where you are specifying this resource.

streamClassstringstream_classstrstreamClassStringStreamClassstringStreamClass*string required #
The target stream quality for sessions that are hosted in this stream group.
notes

Set a stream class that is appropriate to the type of content that you're streaming. Stream class determines the type of computing resources Amazon GameLift Streams uses and impacts the cost of streaming. The following options are available:

A stream class can be one of the following:

  • gen6n_pro_win2022 (NVIDIA, pro) Supports applications with extremely high 3D scene complexity which require maximum resources. Runs applications on Microsoft Windows Server 2022 Base and supports DirectX 12. Compatible with Unreal Engine versions up through 5.6, 32 and 64-bit applications, and anti-cheat technology. Uses NVIDIA L4 Tensor Core GPU.

  • Reference resolution: 1080p

  • Reference frame rate: 60 fps

  • Workload specifications: 16 vCPUs, 64 GB RAM, 24 GB VRAM

  • Tenancy: Supports 1 concurrent stream session

  • gen6n_pro (NVIDIA, pro) Supports applications with extremely high 3D scene complexity which require maximum resources. Uses dedicated NVIDIA L4 Tensor Core GPU.

  • Reference resolution: 1080p

  • Reference frame rate: 60 fps

  • Workload specifications: 16 vCPUs, 64 GB RAM, 24 GB VRAM

  • Tenancy: Supports 1 concurrent stream session

  • gen6n_ultra_win2022 (NVIDIA, ultra) Supports applications with high 3D scene complexity. Runs applications on Microsoft Windows Server 2022 Base and supports DirectX 12. Compatible with Unreal Engine versions up through 5.6, 32 and 64-bit applications, and anti-cheat technology. Uses NVIDIA L4 Tensor Core GPU.

  • Reference resolution: 1080p

  • Reference frame rate: 60 fps

  • Workload specifications: 8 vCPUs, 32 GB RAM, 24 GB VRAM

  • Tenancy: Supports 1 concurrent stream session

  • gen6n_ultra (NVIDIA, ultra) Supports applications with high 3D scene complexity. Uses dedicated NVIDIA L4 Tensor Core GPU.

  • Reference resolution: 1080p

  • Reference frame rate: 60 fps

  • Workload specifications: 8 vCPUs, 32 GB RAM, 24 GB VRAM

  • Tenancy: Supports 1 concurrent stream session

  • gen6n_high (NVIDIA, high) Supports applications with moderate to high 3D scene complexity. Uses NVIDIA L4 Tensor Core GPU.

  • Reference resolution: 1080p

  • Reference frame rate: 60 fps

  • Workload specifications: 4 vCPUs, 16 GB RAM, 12 GB VRAM

  • Tenancy: Supports up to 2 concurrent stream sessions

  • gen6n_medium (NVIDIA, medium) Supports applications with moderate 3D scene complexity. Uses NVIDIA L4 Tensor Core GPU.

  • Reference resolution: 1080p

  • Reference frame rate: 60 fps

  • Workload specifications: 2 vCPUs, 8 GB RAM, 6 GB VRAM

  • Tenancy: Supports up to 4 concurrent stream sessions

  • gen6n_small (NVIDIA, small) Supports applications with lightweight 3D scene complexity and low CPU usage. Uses NVIDIA L4 Tensor Core GPU.

  • Reference resolution: 1080p

  • Reference frame rate: 60 fps

  • Workload specifications: 1 vCPUs, 4 GB RAM, 2 GB VRAM

  • Tenancy: Supports up to 12 concurrent stream sessions

  • gen5n_win2022 (NVIDIA, ultra) Supports applications with extremely high 3D scene complexity. Runs applications on Microsoft Windows Server 2022 Base and supports DirectX 12. Compatible with Unreal Engine versions up through 5.6, 32 and 64-bit applications, and anti-cheat technology. Uses NVIDIA A10G Tensor Core GPU.

  • Reference resolution: 1080p

  • Reference frame rate: 60 fps

  • Workload specifications: 8 vCPUs, 32 GB RAM, 24 GB VRAM

  • Tenancy: Supports 1 concurrent stream session

  • gen5n_high (NVIDIA, high) Supports applications with moderate to high 3D scene complexity. Uses NVIDIA A10G Tensor Core GPU.

  • Reference resolution: 1080p

  • Reference frame rate: 60 fps

  • Workload specifications: 4 vCPUs, 16 GB RAM, 12 GB VRAM

  • Tenancy: Supports up to 2 concurrent stream sessions

  • gen5n_ultra (NVIDIA, ultra) Supports applications with extremely high 3D scene complexity. Uses dedicated NVIDIA A10G Tensor Core GPU.

  • Reference resolution: 1080p

  • Reference frame rate: 60 fps

  • Workload specifications: 8 vCPUs, 32 GB RAM, 24 GB VRAM

  • Tenancy: Supports 1 concurrent stream session

  • gen4n_win2022 (NVIDIA, ultra) Supports applications with extremely high 3D scene complexity. Runs applications on Microsoft Windows Server 2022 Base and supports DirectX 12. Compatible with Unreal Engine versions up through 5.6, 32 and 64-bit applications, and anti-cheat technology. Uses NVIDIA T4 Tensor Core GPU.

  • Reference resolution: 1080p

  • Reference frame rate: 60 fps

  • Workload specifications: 8 vCPUs, 32 GB RAM, 16 GB VRAM

  • Tenancy: Supports 1 concurrent stream session

  • gen4n_high (NVIDIA, high) Supports applications with moderate to high 3D scene complexity. Uses NVIDIA T4 Tensor Core GPU.

  • Reference resolution: 1080p

  • Reference frame rate: 60 fps

  • Workload specifications: 4 vCPUs, 16 GB RAM, 8 GB VRAM

  • Tenancy: Supports up to 2 concurrent stream sessions

  • gen4n_ultra (NVIDIA, ultra) Supports applications with high 3D scene complexity. Uses dedicated NVIDIA T4 Tensor Core GPU.

  • Reference resolution: 1080p

  • Reference frame rate: 60 fps

  • Workload specifications: 8 vCPUs, 32 GB RAM, 16 GB VRAM

  • Tenancy: Supports 1 concurrent stream session

tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string #
A list of labels to assign to the new stream group resource.
notes

Tags are developer-defined key-value pairs. Tagging AWS resources is useful for resource management, access management and cost allocation. See Tagging AWS Resources in the AWS General Reference .