Interface IApplication
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IApplication.Jsii$Default
- All Known Implementing Classes:
Application,IApplication.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:30.712Z")
@Stability(Stable)
public interface IApplication
extends software.amazon.jsii.JsiiSerializable, IResource
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIApplication.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionaddEnvironment(String id) Adds an environment.addEnvironment(String id, EnvironmentOptions options) Adds an environment.voidaddExistingEnvironment(IEnvironment environment) Adds an existing environment.voidaddExtension(IExtension extension) Adds an extension association to the application.addHostedConfiguration(String id, HostedConfigurationOptions options) Adds a hosted configuration.addSourcedConfiguration(String id, SourcedConfigurationOptions options) Adds a sourced configuration.voidatDeploymentTick(IEventDestination eventDestination) Adds an AT_DEPLOYMENT_TICK extension with the provided event destination and also creates an extension association to an application.voidatDeploymentTick(IEventDestination eventDestination, ExtensionOptions options) Adds an AT_DEPLOYMENT_TICK extension with the provided event destination and also creates an extension association to an application.Returns the list of associated environments.The Amazon Resource Name (ARN) of the application.The ID of the application.default StringThe description of the application.default StringgetName()The name of the application.voidon(ActionPoint actionPoint, IEventDestination eventDestination) Adds an extension defined by the action point and event destination and also creates an extension association to an application.voidon(ActionPoint actionPoint, IEventDestination eventDestination, ExtensionOptions options) Adds an extension defined by the action point and event destination and also creates an extension association to an application.voidonDeploymentBaking(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to an application.voidonDeploymentBaking(IEventDestination eventDestination, ExtensionOptions options) Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to an application.voidonDeploymentComplete(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to an application.voidonDeploymentComplete(IEventDestination eventDestination, ExtensionOptions options) Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to an application.voidonDeploymentRolledBack(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to an application.voidonDeploymentRolledBack(IEventDestination eventDestination, ExtensionOptions options) Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to an application.voidonDeploymentStart(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to an application.voidonDeploymentStart(IEventDestination eventDestination, ExtensionOptions options) Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to an application.voidonDeploymentStep(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to an application.voidonDeploymentStep(IEventDestination eventDestination, ExtensionOptions options) Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to an application.voidpreCreateHostedConfigurationVersion(IEventDestination eventDestination) Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to an application.voidpreCreateHostedConfigurationVersion(IEventDestination eventDestination, ExtensionOptions options) Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to an application.voidpreStartDeployment(IEventDestination eventDestination) Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to an application.voidpreStartDeployment(IEventDestination eventDestination, ExtensionOptions options) Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to an application.Methods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationArn
The Amazon Resource Name (ARN) of the application. -
getApplicationId
The ID of the application. -
getDescription
The description of the application. -
getName
The name of the application. -
addEnvironment
@Stability(Stable) @NotNull IEnvironment addEnvironment(@NotNull String id, @Nullable EnvironmentOptions options) Adds an environment.- Parameters:
id- The name of the environment construct. This parameter is required.options- The options for the environment construct.
-
addEnvironment
Adds an environment.- Parameters:
id- The name of the environment construct. This parameter is required.
-
addExistingEnvironment
Adds an existing environment.- Parameters:
environment- The environment. This parameter is required.
-
addExtension
Adds an extension association to the application.- Parameters:
extension- The extension to create an association for. This parameter is required.
-
addHostedConfiguration
@Stability(Stable) @NotNull HostedConfiguration addHostedConfiguration(@NotNull String id, @NotNull HostedConfigurationOptions options) Adds a hosted configuration.- Parameters:
id- The name of the hosted configuration construct. This parameter is required.options- The options for the hosted configuration construct. This parameter is required.
-
addSourcedConfiguration
@Stability(Stable) @NotNull SourcedConfiguration addSourcedConfiguration(@NotNull String id, @NotNull SourcedConfigurationOptions options) Adds a sourced configuration.- Parameters:
id- The name of the sourced configuration construct. This parameter is required.options- The options for the sourced configuration construct. This parameter is required.
-
atDeploymentTick
@Stability(Stable) void atDeploymentTick(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds an AT_DEPLOYMENT_TICK extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
atDeploymentTick
Adds an AT_DEPLOYMENT_TICK extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-
environments
Returns the list of associated environments. -
on
@Stability(Stable) void on(@NotNull ActionPoint actionPoint, @NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds an extension defined by the action point and event destination and also creates an extension association to an application.- Parameters:
actionPoint- The action point which triggers the event. This parameter is required.eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
on
@Stability(Stable) void on(@NotNull ActionPoint actionPoint, @NotNull IEventDestination eventDestination) Adds an extension defined by the action point and event destination and also creates an extension association to an application.- Parameters:
actionPoint- The action point which triggers the event. This parameter is required.eventDestination- The event that occurs during the extension. This parameter is required.
-
onDeploymentBaking
@Stability(Stable) void onDeploymentBaking(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentBaking
Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-
onDeploymentComplete
@Stability(Stable) void onDeploymentComplete(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentComplete
Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-
onDeploymentRolledBack
@Stability(Stable) void onDeploymentRolledBack(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentRolledBack
Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-
onDeploymentStart
@Stability(Stable) void onDeploymentStart(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentStart
Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-
onDeploymentStep
@Stability(Stable) void onDeploymentStep(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentStep
Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-
preCreateHostedConfigurationVersion
@Stability(Stable) void preCreateHostedConfigurationVersion(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
preCreateHostedConfigurationVersion
@Stability(Stable) void preCreateHostedConfigurationVersion(@NotNull IEventDestination eventDestination) Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-
preStartDeployment
@Stability(Stable) void preStartDeployment(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
preStartDeployment
Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to an application.- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-