Class: AWSCDK::GameLiftStreams::CfnStreamGroupProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GameLiftStreams::CfnStreamGroupProps
- Defined in:
- game_lift_streams/cfn_stream_group_props.rb
Overview
Properties for defining a CfnStreamGroup.
Instance Attribute Summary collapse
-
#default_application ⇒ AWSCDK::IResolvable, ...
readonly
Object that identifies the Amazon GameLift Streams application to stream with this stream group.
-
#description ⇒ String
readonly
A descriptive label for the stream group.
-
#location_configurations ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::GameLiftStreams::CfnStreamGroup::LocationConfigurationProperty>
readonly
A set of one or more locations and the streaming capacity for each location.
-
#stream_class ⇒ String
readonly
The target stream quality for sessions that are hosted in this stream group.
-
#tags ⇒ Hash{String => String}?
readonly
A list of labels to assign to the new stream group resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(description:, location_configurations:, stream_class:, default_application: nil, tags: nil) ⇒ CfnStreamGroupProps
constructor
A new instance of CfnStreamGroupProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(description:, location_configurations:, stream_class:, default_application: nil, tags: nil) ⇒ CfnStreamGroupProps
Returns a new instance of CfnStreamGroupProps.
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'game_lift_streams/cfn_stream_group_props.rb', line 14 def initialize(description:, location_configurations:, stream_class:, default_application: nil, tags: nil) @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") @location_configurations = location_configurations Jsii::Type.check_type(@location_configurations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZ2FtZWxpZnRzdHJlYW1zLkNmblN0cmVhbUdyb3VwLkxvY2F0aW9uQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "locationConfigurations") @stream_class = stream_class Jsii::Type.check_type(@stream_class, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "streamClass") @default_application = default_application.is_a?(Hash) ? ::AWSCDK::GameLiftStreams::CfnStreamGroup::DefaultApplicationProperty.new(**default_application.transform_keys(&:to_sym)) : default_application Jsii::Type.check_type(@default_application, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19nYW1lbGlmdHN0cmVhbXMuQ2ZuU3RyZWFtR3JvdXAuRGVmYXVsdEFwcGxpY2F0aW9uUHJvcGVydHkifV19fQ==")), "defaultApplication") unless @default_application.nil? @tags = Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19")), "tags") unless @tags.nil? end |
Instance Attribute Details
#default_application ⇒ AWSCDK::IResolvable, ... (readonly)
Object that identifies the Amazon GameLift Streams application to stream with this stream group.
118 119 120 |
# File 'game_lift_streams/cfn_stream_group_props.rb', line 118 def default_application @default_application end |
#description ⇒ String (readonly)
A descriptive label for the stream group.
31 32 33 |
# File 'game_lift_streams/cfn_stream_group_props.rb', line 31 def description @description end |
#location_configurations ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::GameLiftStreams::CfnStreamGroup::LocationConfigurationProperty> (readonly)
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.
38 39 40 |
# File 'game_lift_streams/cfn_stream_group_props.rb', line 38 def location_configurations @location_configurations end |
#stream_class ⇒ String (readonly)
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
113 114 115 |
# File 'game_lift_streams/cfn_stream_group_props.rb', line 113 def stream_class @stream_class end |
#tags ⇒ Hash{String => String}? (readonly)
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 .
125 126 127 |
# File 'game_lift_streams/cfn_stream_group_props.rb', line 125 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
127 128 129 130 131 132 133 134 135 |
# File 'game_lift_streams/cfn_stream_group_props.rb', line 127 def self.jsii_properties { :description => "description", :location_configurations => "locationConfigurations", :stream_class => "streamClass", :default_application => "defaultApplication", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
137 138 139 140 141 142 143 144 145 146 147 |
# File 'game_lift_streams/cfn_stream_group_props.rb', line 137 def to_jsii result = {} result.merge!({ "description" => @description, "locationConfigurations" => @location_configurations, "streamClass" => @stream_class, "defaultApplication" => @default_application, "tags" => @tags, }) result.compact end |