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 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

      @Stability(Stable) public CfnStreamGroup.Builder description(String 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

      @Stability(Stable) public CfnStreamGroup.Builder streamClass(String 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:

      • 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

      Parameters:
      streamClass - The target stream quality for sessions that are hosted in this stream group. This parameter is required.
      Returns:
      this
      See Also:
    • defaultApplication

      @Stability(Stable) public CfnStreamGroup.Builder defaultApplication(IResolvable 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

      @Stability(Stable) public CfnStreamGroup.Builder tags(Map<String,String> 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

      @Stability(Stable) public CfnStreamGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnStreamGroup>
      Returns:
      a newly built instance of CfnStreamGroup.