Class CfnStreamGroup.Builder
java.lang.Object
software.amazon.awscdk.services.gameliftstreams.CfnStreamGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamGroup>
- Enclosing class:
CfnStreamGroup
@Stability(Stable)
public static final class CfnStreamGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamGroup>
A fluent builder for
CfnStreamGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnStreamGroup.Builder
defaultApplication
(IResolvable defaultApplication) Object that identifies the Amazon GameLift Streams application to stream with this stream group.defaultApplication
(CfnStreamGroup.DefaultApplicationProperty defaultApplication) Object that identifies the Amazon GameLift Streams application to stream with this stream group.description
(String description) A descriptive label for the stream group.locationConfigurations
(List<? extends Object> locationConfigurations) A set of one or more locations and the streaming capacity for each location.locationConfigurations
(IResolvable locationConfigurations) A set of one or more locations and the streaming capacity for each location.streamClass
(String streamClass) The target stream quality for sessions that are hosted in this stream group.A list of labels to assign to the new stream group resource.
-
Method Details
-
create
@Stability(Stable) public static CfnStreamGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnStreamGroup.Builder
.
-
description
A descriptive label for the stream group.- Parameters:
description
- A descriptive label for the stream group. This parameter is required.- Returns:
this
- See Also:
-
locationConfigurations
@Stability(Stable) public CfnStreamGroup.Builder locationConfigurations(IResolvable locationConfigurations) 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.
- Parameters:
locationConfigurations
- A set of one or more locations and the streaming capacity for each location. This parameter is required.- Returns:
this
- See Also:
-
locationConfigurations
@Stability(Stable) public CfnStreamGroup.Builder locationConfigurations(List<? extends Object> locationConfigurations) 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.
- Parameters:
locationConfigurations
- A set of one or more locations and the streaming capacity for each location. This parameter is required.- Returns:
this
- See Also:
-
streamClass
The target stream quality for sessions that are hosted in this stream group.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:
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.4, 32 and 64-bit applications, and anti-cheat technology. Uses NVIDIA A10G Tensor 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 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 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.4, 32 and 64-bit applications, and anti-cheat technology. Uses NVIDIA T4 Tensor 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 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 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
- Parameters:
streamClass
- The target stream quality for sessions that are hosted in this stream group. This parameter is required.- Returns:
this
- See Also:
-
defaultApplication
Object that identifies the Amazon GameLift Streams application to stream with this stream group.- Parameters:
defaultApplication
- Object that identifies the Amazon GameLift Streams application to stream with this stream group. This parameter is required.- Returns:
this
- See Also:
-
defaultApplication
@Stability(Stable) public CfnStreamGroup.Builder defaultApplication(CfnStreamGroup.DefaultApplicationProperty defaultApplication) Object that identifies the Amazon GameLift Streams application to stream with this stream group.- Parameters:
defaultApplication
- Object that identifies the Amazon GameLift Streams application to stream with this stream group. This parameter is required.- Returns:
this
- See Also:
-
tags
A list of labels to assign to the new stream group resource.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 .
- Parameters:
tags
- A list of labels to assign to the new stream group resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStreamGroup>
- Returns:
- a newly built instance of
CfnStreamGroup
.
-