Interface IApplication.Jsii$Default
- All Superinterfaces:
IApplication,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IApplication.Jsii$Proxy
- Enclosing interface:
IApplication
IApplication.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.appconfig.IApplication
IApplication.Jsii$Default, IApplication.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault IEnvironmentaddEnvironment(String id, EnvironmentOptions options) Adds an environment.default voidaddExistingEnvironment(IEnvironment environment) Adds an existing environment.default voidaddExtension(IExtension extension) Adds an extension association to the application.default HostedConfigurationaddHostedConfiguration(String id, HostedConfigurationOptions options) Adds a hosted configuration.default SourcedConfigurationaddSourcedConfiguration(String id, SourcedConfigurationOptions options) Adds a sourced configuration.default voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.default 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.default List<IEnvironment> Returns the list of associated environments.default StringThe Amazon Resource Name (ARN) of the application.default StringThe ID of the application.default StringThe description of the application.default ResourceEnvironmentgetEnv()The environment this resource belongs to.default StringgetName()The name of the application.default software.constructs.NodegetNode()The tree node.default StackgetStack()The stack in which this resource is defined.default 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.default 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.default 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.default 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.default 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.default 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.default 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.default 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.amazon.awscdk.services.appconfig.IApplication
addEnvironment, atDeploymentTick, on, onDeploymentBaking, onDeploymentComplete, onDeploymentRolledBack, onDeploymentStart, onDeploymentStep, preCreateHostedConfigurationVersion, preStartDeploymentMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
@Stability(Stable) @NotNull default software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct- Specified by:
getNodein interfacesoftware.constructs.IConstruct.Jsii$Default- Specified by:
getNodein interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware- Specified by:
getEnvin interfaceIEnvironmentAware.Jsii$Default- Specified by:
getEnvin interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default
-
getApplicationArn
The Amazon Resource Name (ARN) of the application.- Specified by:
getApplicationArnin interfaceIApplication
-
getApplicationId
The ID of the application.- Specified by:
getApplicationIdin interfaceIApplication
-
getDescription
The description of the application.- Specified by:
getDescriptionin interfaceIApplication
-
getName
The name of the application.- Specified by:
getNamein interfaceIApplication
-
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:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Parameters:
policy- This parameter is required.
-
addEnvironment
@Stability(Stable) @NotNull default IEnvironment addEnvironment(@NotNull String id, @Nullable EnvironmentOptions options) Adds an environment.- Specified by:
addEnvironmentin interfaceIApplication- Parameters:
id- The name of the environment construct. This parameter is required.options- The options for the environment construct.
-
addExistingEnvironment
Adds an existing environment.- Specified by:
addExistingEnvironmentin interfaceIApplication- Parameters:
environment- The environment. This parameter is required.
-
addExtension
Adds an extension association to the application.- Specified by:
addExtensionin interfaceIApplication- Parameters:
extension- The extension to create an association for. This parameter is required.
-
addHostedConfiguration
@Stability(Stable) @NotNull default HostedConfiguration addHostedConfiguration(@NotNull String id, @NotNull HostedConfigurationOptions options) Adds a hosted configuration.- Specified by:
addHostedConfigurationin interfaceIApplication- 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 default SourcedConfiguration addSourcedConfiguration(@NotNull String id, @NotNull SourcedConfigurationOptions options) Adds a sourced configuration.- Specified by:
addSourcedConfigurationin interfaceIApplication- 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) default 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.- Specified by:
atDeploymentTickin interfaceIApplication- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
environments
Returns the list of associated environments.- Specified by:
environmentsin interfaceIApplication
-
on
@Stability(Stable) default 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:
onin 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.options- Options for the extension.
-
onDeploymentBaking
@Stability(Stable) default 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:
onDeploymentBakingin interfaceIApplication- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentComplete
@Stability(Stable) default 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:
onDeploymentCompletein interfaceIApplication- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentRolledBack
@Stability(Stable) default 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:
onDeploymentRolledBackin interfaceIApplication- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentStart
@Stability(Stable) default 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:
onDeploymentStartin interfaceIApplication- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentStep
@Stability(Stable) default 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:
onDeploymentStepin interfaceIApplication- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
preCreateHostedConfigurationVersion
@Stability(Stable) default 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:
preCreateHostedConfigurationVersionin interfaceIApplication- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
preStartDeployment
@Stability(Stable) default 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:
preStartDeploymentin interfaceIApplication- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-