Class CfnApplication

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.106.0 (build e852934)", date="2025-03-12T01:36:39.025Z") @Stability(Stable) public class CfnApplication extends CfnResource implements IInspectable, ITaggableV2
Definition of AWS::GameLiftStreams::Application Resource Type.

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:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String 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)
      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

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getApplicationSourceUri

      @Stability(Stable) @NotNull public String getApplicationSourceUri()
    • setApplicationSourceUri

      @Stability(Stable) public void setApplicationSourceUri(@NotNull String value)
    • getDescription

      @Stability(Stable) @NotNull public String getDescription()
    • setDescription

      @Stability(Stable) public void setDescription(@NotNull String value)
    • getExecutablePath

      @Stability(Stable) @NotNull public String getExecutablePath()
    • setExecutablePath

      @Stability(Stable) public void setExecutablePath(@NotNull String value)
    • getRuntimeEnvironment

      @Stability(Stable) @NotNull public Object getRuntimeEnvironment()
    • setRuntimeEnvironment

      @Stability(Stable) public void setRuntimeEnvironment(@NotNull IResolvable value)
    • setRuntimeEnvironment

      @Stability(Stable) public void setRuntimeEnvironment(@NotNull CfnApplication.RuntimeEnvironmentProperty value)
    • getApplicationLogOutputUri

      @Stability(Stable) @Nullable public String getApplicationLogOutputUri()
    • setApplicationLogOutputUri

      @Stability(Stable) public void setApplicationLogOutputUri(@Nullable String value)
    • getApplicationLogPaths

      @Stability(Stable) @Nullable public List<String> getApplicationLogPaths()
    • setApplicationLogPaths

      @Stability(Stable) public void setApplicationLogPaths(@Nullable List<String> value)
    • getTags

      @Stability(Stable) @Nullable public Map<String,String> getTags()
    • setTags

      @Stability(Stable) public void setTags(@Nullable Map<String,String> value)