Interface CfnApplicationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApplicationProps.Jsii$Proxy
CfnApplication.
Example:
// 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.*;
CfnApplicationProps cfnApplicationProps = CfnApplicationProps.builder()
.applicationSourceUri("applicationSourceUri")
.description("description")
.executablePath("executablePath")
.runtimeEnvironment(RuntimeEnvironmentProperty.builder()
.type("type")
.version("version")
.build())
// the properties below are optional
.applicationLogOutputUri("applicationLogOutputUri")
.applicationLogPaths(List.of("applicationLogPaths"))
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApplicationPropsstatic final classAn implementation forCfnApplicationProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnApplicationProps.Builderbuilder()default StringAn Amazon S3 URI to a bucket where you would like Amazon GameLift Streams to save application logs.Locations of log files that your content generates during a stream session.The location of the content that you want to stream.A human-readable label for the application.The relative path and file name of the executable file that Amazon GameLift Streams will stream.A set of configuration settings to run the application on a stream group.getTags()A list of labels to assign to the new application resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationSourceUri
The location of the content that you want to stream.Enter an Amazon S3 URI to a bucket that contains your game or other application. The location can have a multi-level prefix structure, but it must include all the files needed to run the content. Amazon GameLift Streams copies everything under the specified location.
This value is immutable. To designate a different content location, create a new application.
The Amazon S3 bucket and the Amazon GameLift Streams application must be in the same AWS Region.
- See Also:
-
getDescription
A human-readable label for the application.You can update this value later.
- See Also:
-
getExecutablePath
The relative path and file name of the executable file that Amazon GameLift Streams will stream.Specify a path relative to the location set in
ApplicationSourceUri. The file must be contained within the application's root folder. For Windows applications, the file must be a valid Windows executable or batch file with a filename ending in .exe, .cmd, or .bat. For Linux applications, the file must be a valid Linux binary executable or a script that contains an initial interpreter line starting with a shebang ('#!').- See Also:
-
getRuntimeEnvironment
A set of configuration settings to run the application on a stream group.This configures the operating system, and can include compatibility layers and other drivers.
Returns union: either
IResolvableorCfnApplication.RuntimeEnvironmentProperty- See Also:
-
getApplicationLogOutputUri
An Amazon S3 URI to a bucket where you would like Amazon GameLift Streams to save application logs.Required if you specify one or more
ApplicationLogPaths.- See Also:
-
getApplicationLogPaths
Locations of log files that your content generates during a stream session.Enter path values that are relative to the
ApplicationSourceUrilocation. You can specify up to 10 log paths. Amazon GameLift Streams uploads designated log files to the Amazon S3 bucket that you specify inApplicationLogOutputUriat the end of a stream session. To retrieve stored log files, call GetStreamSession and get theLogFileLocationUri.- See Also:
-
getTags
A list of labels to assign to the new application 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 .
- See Also:
-
builder
- Returns:
- a
CfnApplicationProps.BuilderofCfnApplicationProps
-