Class IApplication.Jsii$Proxy
- All Implemented Interfaces:
IResource
,IResource.Jsii$Default
,IApplication
,IApplication.Jsii$Default
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IConstruct.Jsii$Default
,software.constructs.IDependable
,software.constructs.IDependable.Jsii$Default
- Enclosing interface:
IApplication
-
Nested Class Summary
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.appconfig.IApplication
IApplication.Jsii$Default, IApplication.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal IEnvironment
addEnvironment
(String id) Adds an environment.final IEnvironment
addEnvironment
(String id, EnvironmentOptions options) Adds an environment.final void
addExistingEnvironment
(IEnvironment environment) Adds an existing environment.final void
addExtension
(IExtension extension) Adds an extension association to the application.final HostedConfiguration
addHostedConfiguration
(String id, HostedConfigurationOptions options) Adds a hosted configuration.final SourcedConfiguration
addSourcedConfiguration
(String id, SourcedConfigurationOptions options) Adds a sourced configuration.final void
applyRemovalPolicy
(RemovalPolicy policy) Apply the given removal policy to this resource.final List<IEnvironment>
Returns the list of associated environments.final String
The Amazon Resource Name (ARN) of the application.final String
The ID of the application.final String
The description of the application.final ResourceEnvironment
getEnv()
The environment this resource belongs to.final String
getName()
The name of the application.final software.constructs.Node
getNode()
The tree node.final Stack
getStack()
The stack in which this resource is defined.final void
on
(ActionPoint actionPoint, IEventDestination eventDestination) Adds an extension defined by the action point and event destination and also creates an extension association to an application.final void
on
(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.final void
onDeploymentBaking
(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to an application.final void
onDeploymentBaking
(IEventDestination eventDestination, ExtensionOptions options) Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to an application.final void
onDeploymentComplete
(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to an application.final void
onDeploymentComplete
(IEventDestination eventDestination, ExtensionOptions options) Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to an application.final void
onDeploymentRolledBack
(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to an application.final void
onDeploymentRolledBack
(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.final void
onDeploymentStart
(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to an application.final void
onDeploymentStart
(IEventDestination eventDestination, ExtensionOptions options) Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to an application.final void
onDeploymentStep
(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to an application.final void
onDeploymentStep
(IEventDestination eventDestination, ExtensionOptions options) Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to an application.final void
preCreateHostedConfigurationVersion
(IEventDestination eventDestination) Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to an application.final void
preCreateHostedConfigurationVersion
(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.final void
preStartDeployment
(IEventDestination eventDestination) Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to an application.final void
preStartDeployment
(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 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, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
getNode
@Stability(Stable) @NotNull public final software.constructs.Node getNode()The tree node.- Specified by:
getNode
in interfaceIApplication.Jsii$Default
- Specified by:
getNode
in interfacesoftware.constructs.IConstruct
- Specified by:
getNode
in interfacesoftware.constructs.IConstruct.Jsii$Default
- Specified by:
getNode
in interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- Specified by:
getEnv
in interfaceIApplication.Jsii$Default
- Specified by:
getEnv
in interfaceIResource
- Specified by:
getEnv
in interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStack
in interfaceIApplication.Jsii$Default
- Specified by:
getStack
in interfaceIResource
- Specified by:
getStack
in interfaceIResource.Jsii$Default
-
getApplicationArn
The Amazon Resource Name (ARN) of the application.- Specified by:
getApplicationArn
in interfaceIApplication
- Specified by:
getApplicationArn
in interfaceIApplication.Jsii$Default
-
getApplicationId
The ID of the application.- Specified by:
getApplicationId
in interfaceIApplication
- Specified by:
getApplicationId
in interfaceIApplication.Jsii$Default
-
getDescription
The description of the application.- Specified by:
getDescription
in interfaceIApplication
- Specified by:
getDescription
in interfaceIApplication.Jsii$Default
-
getName
The name of the application.- Specified by:
getName
in interfaceIApplication
- Specified by:
getName
in interfaceIApplication.Jsii$Default
-
applyRemovalPolicy
Apply the given removal policy to this resource.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY
), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN
).- Specified by:
applyRemovalPolicy
in interfaceIApplication.Jsii$Default
- Specified by:
applyRemovalPolicy
in interfaceIResource
- Specified by:
applyRemovalPolicy
in interfaceIResource.Jsii$Default
- Parameters:
policy
- This parameter is required.
-
addEnvironment
@Stability(Stable) @NotNull public final IEnvironment addEnvironment(@NotNull String id, @Nullable EnvironmentOptions options) Adds an environment.- Specified by:
addEnvironment
in interfaceIApplication
- Specified by:
addEnvironment
in interfaceIApplication.Jsii$Default
- Parameters:
id
- The name of the environment construct. This parameter is required.options
- The options for the environment construct.
-
addEnvironment
Adds an environment.- Specified by:
addEnvironment
in interfaceIApplication
- Parameters:
id
- The name of the environment construct. This parameter is required.
-
addExistingEnvironment
Adds an existing environment.- Specified by:
addExistingEnvironment
in interfaceIApplication
- Specified by:
addExistingEnvironment
in interfaceIApplication.Jsii$Default
- Parameters:
environment
- The environment. This parameter is required.
-
addExtension
Adds an extension association to the application.- Specified by:
addExtension
in interfaceIApplication
- Specified by:
addExtension
in interfaceIApplication.Jsii$Default
- Parameters:
extension
- The extension to create an association for. This parameter is required.
-
addHostedConfiguration
@Stability(Stable) @NotNull public final HostedConfiguration addHostedConfiguration(@NotNull String id, @NotNull HostedConfigurationOptions options) Adds a hosted configuration.- Specified by:
addHostedConfiguration
in interfaceIApplication
- Specified by:
addHostedConfiguration
in interfaceIApplication.Jsii$Default
- 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 public final SourcedConfiguration addSourcedConfiguration(@NotNull String id, @NotNull SourcedConfigurationOptions options) Adds a sourced configuration.- Specified by:
addSourcedConfiguration
in interfaceIApplication
- Specified by:
addSourcedConfiguration
in interfaceIApplication.Jsii$Default
- 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.
-
environments
Returns the list of associated environments.- Specified by:
environments
in interfaceIApplication
- Specified by:
environments
in interfaceIApplication.Jsii$Default
-
on
@Stability(Stable) public final 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.- Specified by:
on
in interfaceIApplication
- Specified by:
on
in interfaceIApplication.Jsii$Default
- 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) public final 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.- Specified by:
on
in interfaceIApplication
- 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) public final 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.- Specified by:
onDeploymentBaking
in interfaceIApplication
- Specified by:
onDeploymentBaking
in interfaceIApplication.Jsii$Default
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.options
- Options for the extension.
-
onDeploymentBaking
@Stability(Stable) public final void onDeploymentBaking(@NotNull IEventDestination eventDestination) Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to an application.- Specified by:
onDeploymentBaking
in interfaceIApplication
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.
-
onDeploymentComplete
@Stability(Stable) public final 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.- Specified by:
onDeploymentComplete
in interfaceIApplication
- Specified by:
onDeploymentComplete
in interfaceIApplication.Jsii$Default
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.options
- Options for the extension.
-
onDeploymentComplete
@Stability(Stable) public final void onDeploymentComplete(@NotNull IEventDestination eventDestination) Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to an application.- Specified by:
onDeploymentComplete
in interfaceIApplication
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.
-
onDeploymentRolledBack
@Stability(Stable) public final 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.- Specified by:
onDeploymentRolledBack
in interfaceIApplication
- Specified by:
onDeploymentRolledBack
in interfaceIApplication.Jsii$Default
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.options
- Options for the extension.
-
onDeploymentRolledBack
@Stability(Stable) public final void onDeploymentRolledBack(@NotNull IEventDestination eventDestination) Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to an application.- Specified by:
onDeploymentRolledBack
in interfaceIApplication
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.
-
onDeploymentStart
@Stability(Stable) public final 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.- Specified by:
onDeploymentStart
in interfaceIApplication
- Specified by:
onDeploymentStart
in interfaceIApplication.Jsii$Default
- 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.- Specified by:
onDeploymentStart
in interfaceIApplication
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.
-
onDeploymentStep
@Stability(Stable) public final 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.- Specified by:
onDeploymentStep
in interfaceIApplication
- Specified by:
onDeploymentStep
in interfaceIApplication.Jsii$Default
- 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.- Specified by:
onDeploymentStep
in interfaceIApplication
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.
-
preCreateHostedConfigurationVersion
@Stability(Stable) public final 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.- Specified by:
preCreateHostedConfigurationVersion
in interfaceIApplication
- Specified by:
preCreateHostedConfigurationVersion
in interfaceIApplication.Jsii$Default
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.options
- Options for the extension.
-
preCreateHostedConfigurationVersion
@Stability(Stable) public final 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.- Specified by:
preCreateHostedConfigurationVersion
in interfaceIApplication
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.
-
preStartDeployment
@Stability(Stable) public final 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.- Specified by:
preStartDeployment
in interfaceIApplication
- Specified by:
preStartDeployment
in interfaceIApplication.Jsii$Default
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.options
- Options for the extension.
-
preStartDeployment
@Stability(Stable) public final void preStartDeployment(@NotNull IEventDestination eventDestination) Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to an application.- Specified by:
preStartDeployment
in interfaceIApplication
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.
-