java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.servicecatalogappregistry.alpha.Application
All Implemented Interfaces:
IResource, IApplication, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:26.981Z") @Stability(Experimental) public class Application extends Resource implements IApplication
(experimental) A Service Catalog AppRegistry Application.

Example:

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

    • Application

      protected Application(software.amazon.jsii.JsiiObjectRef objRef)
    • Application

      protected Application(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Application

      @Stability(Experimental) public Application(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ApplicationProps props)
      Parameters:
      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.

      Parameters:
      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.
    • addAttributeGroup

      @Stability(Experimental) @NotNull public IAttributeGroup addAttributeGroup(@NotNull String id, @NotNull AttributeGroupAssociationProps props)
      (experimental) Create an attribute group and associate this application with the created attribute group.

      Specified by:
      addAttributeGroup in interface IApplication
      Parameters:
      id - This parameter is required.
      props - This parameter is required.
    • associateAllStacksInScope

      @Stability(Experimental) public void associateAllStacksInScope(@NotNull software.constructs.Construct scope)
      (experimental) Associate all stacks present in construct's aspect with application, including cross-account stacks.

      NOTE: This method won't automatically register stacks under pipeline stages, and requires association of each pipeline stage by calling this method with stage Construct.

      Specified by:
      associateAllStacksInScope in interface IApplication
      Parameters:
      scope - This parameter is required.
    • associateApplicationWithStack

      @Stability(Experimental) public void associateApplicationWithStack(@NotNull Stack stack)
      (experimental) Associate stack with the application in the stack passed as parameter.

      A stack can only be associated with one application.

      Specified by:
      associateApplicationWithStack in interface IApplication
      Parameters:
      stack - This parameter is required.
    • associateAttributeGroup

      @Stability(Deprecated) @Deprecated public void associateAttributeGroup(@NotNull IAttributeGroup attributeGroup)
      Deprecated.
      Use AttributeGroup.associateWith instead.
      (deprecated) Associate an attribute group with application If the attribute group is already associated, it will ignore duplicate request.

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

      @Stability(Deprecated) @Deprecated public void associateStack(@NotNull Stack stack)
      Deprecated.
      Use associateApplicationWithStack instead.
      (deprecated) 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
      Parameters:
      stack - This parameter is required.
    • generateUniqueHash

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

      Parameters:
      resourceAddress - This parameter is required.
    • shareApplication

      @Stability(Experimental) public void shareApplication(@NotNull String id, @NotNull ShareOptions shareOptions)
      (experimental) Share an application with accounts, organizations and OUs, and IAM roles and users.

      The application will become available to end users within those principals.

      Specified by:
      shareApplication in interface IApplication
      Parameters:
      id - The construct name for the share. This parameter is required.
      shareOptions - The options for the share. 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
    • getApplicationManagerUrl

      @Stability(Experimental) @Nullable public String getApplicationManagerUrl()
      (experimental) Application manager URL for the Application.
    • getApplicationName

      @Stability(Experimental) @Nullable public String getApplicationName()
      (experimental) The name of the application.
      Specified by:
      getApplicationName in interface IApplication