Class CfnApplication
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.gameliftstreams.CfnApplication
- All Implemented Interfaces:
IInspectable,IApplicationRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:06.694Z")
@Stability(Stable)
public class CfnApplication
extends CfnResource
implements IInspectable, IApplicationRef, ITaggableV2
The
AWS::GameLiftStreams::Application resource defines an Amazon GameLift Streams application.
An application specifies the content that you want to stream, such as a game or other software, and its runtime environment (Microsoft Windows, Ubuntu, or Proton).
Before you create an Amazon GameLift Streams application, upload your uncompressed game files (do not upload a .zip file) to an Amazon Simple Storage Service (Amazon S3) standard bucket.
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.*;
CfnApplication cfnApplication = CfnApplication.Builder.create(this, "MyCfnApplication")
.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 TypeClassDescriptionstatic final classA fluent builder forCfnApplication.static interfaceConfiguration settings that identify the operating system for an application resource.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.gameliftstreams.IApplicationRef
IApplicationRef.Jsii$Default, IApplicationRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnApplication(software.amazon.jsii.JsiiObjectRef objRef) CfnApplication(software.constructs.Construct scope, String id, CfnApplicationProps props) Create a newAWS::GameLiftStreams::Application. -
Method Summary
Modifier and TypeMethodDescriptionAn 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.A reference to a Application resource.The location of the content that you want to stream.An Amazon Resource Name (ARN) that uniquely identifies the application resource across all AWS Regions.An ID that uniquely identifies the application resource.Tag Manager which manages the tags for this resource.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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetApplicationLogOutputUri(String value) An Amazon S3 URI to a bucket where you would like Amazon GameLift Streams to save application logs.voidsetApplicationLogPaths(List<String> value) Locations of log files that your content generates during a stream session.voidsetApplicationSourceUri(String value) The location of the content that you want to stream.voidsetDescription(String value) A human-readable label for the application.voidsetExecutablePath(String value) The relative path and file name of the executable file that Amazon GameLift Streams will stream.voidsetRuntimeEnvironment(IResolvable value) A set of configuration settings to run the application on a stream group.voidA set of configuration settings to run the application on a stream group.voidA list of labels to assign to the new application resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnApplication
protected CfnApplication(software.amazon.jsii.JsiiObjectRef objRef) -
CfnApplication
protected CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnApplication
@Stability(Stable) public CfnApplication(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnApplicationProps props) Create a newAWS::GameLiftStreams::Application.- 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.props- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getApplicationRef
A reference to a Application resource.- Specified by:
getApplicationRefin interfaceIApplicationRef
-
getAttrArn
An Amazon Resource Name (ARN) that uniquely identifies the application resource across all AWS Regions. For example:.arn:aws:gameliftstreams:us-west-2:123456789012:application/a-9ZY8X7Wv6. -
getAttrId
An ID that uniquely identifies the application resource.For example:
a-9ZY8X7Wv6. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getApplicationSourceUri
The location of the content that you want to stream. -
setApplicationSourceUri
The location of the content that you want to stream. -
getDescription
A human-readable label for the application. -
setDescription
A human-readable label for the application. -
getExecutablePath
The relative path and file name of the executable file that Amazon GameLift Streams will stream. -
setExecutablePath
The relative path and file name of the executable file that Amazon GameLift Streams will stream. -
getRuntimeEnvironment
A set of configuration settings to run the application on a stream group.Returns union: either
IResolvableorCfnApplication.RuntimeEnvironmentProperty -
setRuntimeEnvironment
A set of configuration settings to run the application on a stream group. -
setRuntimeEnvironment
@Stability(Stable) public void setRuntimeEnvironment(@NotNull CfnApplication.RuntimeEnvironmentProperty value) A set of configuration settings to run the application on a stream group. -
getApplicationLogOutputUri
An Amazon S3 URI to a bucket where you would like Amazon GameLift Streams to save application logs. -
setApplicationLogOutputUri
An Amazon S3 URI to a bucket where you would like Amazon GameLift Streams to save application logs. -
getApplicationLogPaths
Locations of log files that your content generates during a stream session. -
setApplicationLogPaths
Locations of log files that your content generates during a stream session. -
getTags
A list of labels to assign to the new application resource. -
setTags
A list of labels to assign to the new application resource.
-