@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:25.785Z") public class Application extends Resource implements IApplication
Example:
Application application = Application.Builder.create(this, "MyFirstApplication") .applicationName("MyFirstApplicationName") .description("description for my application") .build();
Modifier and Type | Class and Description |
---|---|
static class |
Application.Builder
(experimental) A fluent builder for
Application . |
IApplication.Jsii$Default, IApplication.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Application(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Application(software.amazon.jsii.JsiiObjectRef objRef) |
|
Application(software.constructs.Construct scope,
java.lang.String id,
ApplicationProps props) |
Modifier and Type | Method and Description |
---|---|
void |
associateAttributeGroup(IAttributeGroup attributeGroup)
(experimental) Associate an attribute group with application If the attribute group is already associated, it will ignore duplicate request.
|
void |
associateStack(Stack stack)
(experimental) Associate a stack with the application If the resource is already associated, it will ignore duplicate request.
|
static IApplication |
fromApplicationArn(software.constructs.Construct scope,
java.lang.String id,
java.lang.String applicationArn)
(experimental) Imports an Application construct that represents an external application.
|
protected java.lang.String |
generateUniqueHash(java.lang.String resourceAddress)
(experimental) Create a unique id.
|
java.lang.String |
getApplicationArn()
(experimental) The ARN of the application.
|
java.lang.String |
getApplicationId()
(experimental) The ID of the application.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected Application(software.amazon.jsii.JsiiObjectRef objRef)
protected Application(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public Application(software.constructs.Construct scope, java.lang.String id, ApplicationProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public static IApplication fromApplicationArn(software.constructs.Construct scope, java.lang.String id, java.lang.String applicationArn)
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.public void associateAttributeGroup(IAttributeGroup attributeGroup)
associateAttributeGroup
in interface IApplication
attributeGroup
- This parameter is required.public void associateStack(Stack stack)
A stack can only be associated with one application.
associateStack
in interface IApplication
stack
- This parameter is required.protected java.lang.String generateUniqueHash(java.lang.String resourceAddress)
resourceAddress
- This parameter is required.public java.lang.String getApplicationArn()
getApplicationArn
in interface IApplication
public java.lang.String getApplicationId()
getApplicationId
in interface IApplication