CreateStreamUrlInput
¶
Source code in docs_src/capo_gameliftstreams/types/create_stream_url_input.py
additional_environment_variables
instance-attribute
¶
additional_environment_variables: NotRequired[EnvironmentVariables]
A set of options that you can use to control the stream session runtime environment, expressed as a set of key-value pairs. You can use this to configure the application or stream session details. You can also provide custom environment variables that Amazon GameLift Streams passes to your game client.
If you want to debug your application with environment variables, we recommend that you do so in a local environment outside of Amazon GameLift Streams. For more information, refer to the Compatibility Guidance in the troubleshooting section of the Developer Guide.
AdditionalEnvironmentVariables and AdditionalLaunchArgs have similar purposes. AdditionalEnvironmentVariables passes data using environment variables; while AdditionalLaunchArgs passes data using command-line arguments.
additional_launch_args
instance-attribute
¶
additional_launch_args: NotRequired[GameLaunchArgList]
A list of CLI arguments that are sent to the streaming server when a stream session launches. You can use this to configure the application or stream session details. You can also provide custom arguments that Amazon GameLift Streams passes to your game client.
AdditionalEnvironmentVariables and AdditionalLaunchArgs have similar purposes. AdditionalEnvironmentVariables passes data using environment variables; while AdditionalLaunchArgs passes data using command-line arguments.
application_identifier
instance-attribute
¶
application_identifier: Identifier
An Amazon Resource Name (ARN) or ID that uniquely identifies the application resource. Example ARN: arn:aws:gameliftstreams:us-west-2:111122223333:application/a-9ZY8X7Wv6. Example ID: a-9ZY8X7Wv6.
This application must be associated with the stream group.
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
A unique, case-sensitive identifier that you provide to ensure this request is idempotent. If you retry a request with the same ClientToken, Amazon GameLift Streams returns the original response without performing the operation again.
description
instance-attribute
¶
description: NotRequired[Description]
A descriptive label for the stream URL.
display_configuration
instance-attribute
¶
display_configuration: NotRequired[DisplayConfiguration]
The display settings, such as resolution, for stream sessions started from this stream URL.
identifier
instance-attribute
¶
identifier: Identifier
An Amazon Resource Name (ARN) or ID that uniquely identifies the stream group resource. Example ARN: arn:aws:gameliftstreams:us-west-2:111122223333:streamgroup/sg-1AB2C3De4. Example ID: sg-1AB2C3De4.
The stream session runs in this stream group.
locations
instance-attribute
¶
locations: LocationList
A list of locations, in order of preference, where Amazon GameLift Streams can place the stream session. Specify each location by its Amazon Web Services Region code, for example us-east-1. For a complete list of locations that Amazon GameLift Streams supports, refer to Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide.
protocol
instance-attribute
¶
protocol: Protocol
The data transport protocol for the stream session. Amazon GameLift Streams supports WebRTC.
role_arn
instance-attribute
¶
role_arn: NotRequired[IamRoleArn]
The Amazon Resource Name (ARN) of the IAM role that Amazon GameLift Streams assumes during stream sessions started from this stream URL. For more information, see Provide AWS credentials to your streaming application in the Amazon GameLift Streams Developer Guide.
session_length_seconds
instance-attribute
¶
session_length_seconds: NotRequired[SessionLengthSeconds]
The maximum length of time, in seconds, that a stream session started from this stream URL can run. Valid values are 1-86400 seconds (1 second to 24 hours). The default is 43200 seconds (12 hours).
url_expires_after_minutes
instance-attribute
¶
url_expires_after_minutes: UrlExpiresAfterMinutes
The number of minutes after creation that the stream URL remains valid. After this period, the status of the stream URL changes to EXPIRED and it can no longer start stream sessions. The minimum is 1 minute. For the maximum, see Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide.
usage_limit
instance-attribute
¶
usage_limit: NotRequired[UsageLimit]
The maximum number of times the stream URL can start a stream session. Each successful use reduces the remaining uses by one. The minimum is 1, and the default is 1. For the maximum, see Regions, quotas, and limitations in the Amazon GameLift Streams Developer Guide.