Class Application
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.103.1 (build bef2dea)",
date="2024-09-11T18:01:25.914Z")
@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();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forApplication
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.servicecatalogappregistry.alpha.IApplication
IApplication.Jsii$Default, IApplication.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
Application
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
Application
(software.amazon.jsii.JsiiObjectRef objRef) Application
(software.constructs.Construct scope, String id, ApplicationProps props) -
Method Summary
Modifier and TypeMethodDescription(experimental) Create an attribute group and associate this application with the created attribute group.void
associateAllStacksInScope
(software.constructs.Construct scope) (experimental) Associate all stacks present in construct's aspect with application, including cross-account stacks.void
(experimental) Associate stack with the application in the stack passed as parameter.void
associateAttributeGroup
(IAttributeGroup attributeGroup) Deprecated.void
associateStack
(Stack stack) Deprecated.UseassociateApplicationWithStack
instead.static IApplication
fromApplicationArn
(software.constructs.Construct scope, String id, String applicationArn) (experimental) Imports an Application construct that represents an external application.protected String
generateUniqueHash
(String resourceAddress) (experimental) Create a unique id.(experimental) The ARN of the application.(experimental) The ID of the application.(experimental) Application manager URL for the Application.(experimental) The name of the application.void
shareApplication
(String id, ShareOptions shareOptions) (experimental) Share an application with accounts, organizations and OUs, and IAM roles and users.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResource
Methods inherited from class software.constructs.Construct
getNode, isConstruct, toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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 (usuallythis
). 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 interfaceIApplication
- 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 interfaceIApplication
- Parameters:
scope
- This parameter is required.
-
associateApplicationWithStack
(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 interfaceIApplication
- Parameters:
stack
- This parameter is required.
-
associateAttributeGroup
@Stability(Deprecated) @Deprecated public void associateAttributeGroup(@NotNull IAttributeGroup attributeGroup) Deprecated.UseAttributeGroup.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 interfaceIApplication
- Parameters:
attributeGroup
- This parameter is required.
-
associateStack
Deprecated.UseassociateApplicationWithStack
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 interfaceIApplication
- 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.
-
getApplicationArn
(experimental) The ARN of the application.- Specified by:
getApplicationArn
in interfaceIApplication
-
getApplicationId
(experimental) The ID of the application.- Specified by:
getApplicationId
in interfaceIApplication
-
getApplicationManagerUrl
(experimental) Application manager URL for the Application. -
getApplicationName
(experimental) The name of the application.- Specified by:
getApplicationName
in interfaceIApplication
-
AttributeGroup.associateWith
instead.