All Implemented Interfaces:
IConstruct, IDependable, IResource, IApplication,, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.760Z") @Stability(Experimental) public class Application extends Resource implements IApplication
(experimental) A Service Catalog AppRegistry Application.


 Application application = Application.Builder.create(this, "MyFirstApplication")
         .description("description for my application")
  • Constructor Details

    • Application

      protected Application( objRef)
    • Application

      protected Application( initializationMode)
    • Application

      @Stability(Experimental) public Application(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ApplicationProps props)
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromApplicationArn

      @Stability(Experimental) @NotNull public static IApplication fromApplicationArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String applicationArn)
      (experimental) Imports an Application construct that represents an external application.

      scope - The parent creating construct (usually this). This parameter is required.
      id - The construct's name. This parameter is required.
      applicationArn - the Amazon Resource Name of the existing AppRegistry Application. This parameter is required.
    • associateAttributeGroup

      @Stability(Experimental) public void associateAttributeGroup(@NotNull IAttributeGroup attributeGroup)
      (experimental) Associate an attribute group with application If the attribute group is already associated, it will ignore duplicate request.

      Specified by:
      associateAttributeGroup in interface IApplication
      attributeGroup - This parameter is required.
    • associateStack

      @Stability(Experimental) public void associateStack(@NotNull Stack stack)
      (experimental) Associate a stack with the application If the resource is already associated, it will ignore duplicate request.

      A stack can only be associated with one application.

      Specified by:
      associateStack in interface IApplication
      stack - This parameter is required.
    • generateUniqueHash

      @Stability(Experimental) @NotNull protected String generateUniqueHash(@NotNull String resourceAddress)
      (experimental) Create a unique id.

      resourceAddress - This parameter is required.
    • getApplicationArn

      @Stability(Experimental) @NotNull public String getApplicationArn()
      (experimental) The ARN of the application.
      Specified by:
      getApplicationArn in interface IApplication
    • getApplicationId

      @Stability(Experimental) @NotNull public String getApplicationId()
      (experimental) The ID of the application.
      Specified by:
      getApplicationId in interface IApplication