Class Application
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.appconfig.alpha.Application
- All Implemented Interfaces:
IResource
,IApplication
,IExtensible
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)",
date="2024-05-08T21:35:15.563Z")
@Stability(Deprecated)
@Deprecated
public class Application
extends Resource
implements IApplication, IExtensible
Deprecated.
(deprecated) An AWS AppConfig application.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appconfig.alpha.*; Application application = Application.Builder.create(this, "MyApplication") .applicationName("applicationName") .description("description") .build();
- See Also:
-
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.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.services.appconfig.alpha.IExtensible
IExtensible.Jsii$Default, IExtensible.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
Application
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protected
Application
(software.amazon.jsii.JsiiObjectRef objRef) Deprecated.Application
(software.constructs.Construct scope, String id) Deprecated.Application
(software.constructs.Construct scope, String id, ApplicationProps props) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addAgentToEcs
(TaskDefinition taskDef) Deprecated.addEnvironment
(String id) Deprecated.addEnvironment
(String id, EnvironmentOptions options) Deprecated.void
addExistingEnvironment
(IEnvironment environment) Deprecated.void
addExtension
(IExtension extension) Deprecated.addHostedConfiguration
(String id, HostedConfigurationOptions options) Deprecated.addSourcedConfiguration
(String id, SourcedConfigurationOptions options) Deprecated.static IApplication
fromApplicationArn
(software.constructs.Construct scope, String id, String applicationArn) Deprecated.static IApplication
fromApplicationId
(software.constructs.Construct scope, String id, String applicationId) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.protected ExtensibleBase
Deprecated.static String
getLambdaLayerVersionArn
(String region) Deprecated.static String
getLambdaLayerVersionArn
(String region, Platform platform) Deprecated.getName()
Deprecated.void
on
(ActionPoint actionPoint, IEventDestination eventDestination) Deprecated.void
on
(ActionPoint actionPoint, IEventDestination eventDestination, ExtensionOptions options) Deprecated.void
onDeploymentBaking
(IEventDestination eventDestination) Deprecated.void
onDeploymentBaking
(IEventDestination eventDestination, ExtensionOptions options) Deprecated.void
onDeploymentComplete
(IEventDestination eventDestination) Deprecated.void
onDeploymentComplete
(IEventDestination eventDestination, ExtensionOptions options) Deprecated.void
onDeploymentRolledBack
(IEventDestination eventDestination) Deprecated.void
onDeploymentRolledBack
(IEventDestination eventDestination, ExtensionOptions options) Deprecated.void
onDeploymentStart
(IEventDestination eventDestination) Deprecated.void
onDeploymentStart
(IEventDestination eventDestination, ExtensionOptions options) Deprecated.void
onDeploymentStep
(IEventDestination eventDestination) Deprecated.void
onDeploymentStep
(IEventDestination eventDestination, ExtensionOptions options) Deprecated.void
preCreateHostedConfigurationVersion
(IEventDestination eventDestination) Deprecated.void
preCreateHostedConfigurationVersion
(IEventDestination eventDestination, ExtensionOptions options) Deprecated.void
preStartDeployment
(IEventDestination eventDestination) Deprecated.void
preStartDeployment
(IEventDestination eventDestination, ExtensionOptions options) Deprecated.protected void
setExtensible
(ExtensibleBase value) Deprecated.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) Deprecated. -
Application
protected Application(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
Application
@Stability(Deprecated) @Deprecated public Application(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ApplicationProps props) Deprecated.- Parameters:
scope
- This parameter is required.id
- This parameter is required.props
-
-
Application
@Stability(Deprecated) @Deprecated public Application(@NotNull software.constructs.Construct scope, @NotNull String id) Deprecated.- Parameters:
scope
- This parameter is required.id
- This parameter is required.
-
-
Method Details
-
addAgentToEcs
@Stability(Deprecated) @Deprecated public static void addAgentToEcs(@NotNull TaskDefinition taskDef) Deprecated.(deprecated) Adds the AWS AppConfig Agent as a container to the provided ECS task definition.- Parameters:
taskDef
- The ECS task definition [disable-awslint:ref-via-interface]. This parameter is required.
-
fromApplicationArn
@Stability(Deprecated) @Deprecated @NotNull public static IApplication fromApplicationArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String applicationArn) Deprecated.(deprecated) Imports an AWS AppConfig application into the CDK using its Amazon Resource Name (ARN).- Parameters:
scope
- The parent construct. This parameter is required.id
- The name of the application construct. This parameter is required.applicationArn
- The Amazon Resource Name (ARN) of the application. This parameter is required.
-
fromApplicationId
@Stability(Deprecated) @Deprecated @NotNull public static IApplication fromApplicationId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String applicationId) Deprecated.(deprecated) Imports an AWS AppConfig application into the CDK using its ID.- Parameters:
scope
- The parent construct. This parameter is required.id
- The name of the application construct. This parameter is required.applicationId
- The ID of the application. This parameter is required.
-
getLambdaLayerVersionArn
@Stability(Deprecated) @Deprecated @NotNull public static String getLambdaLayerVersionArn(@NotNull String region, @Nullable Platform platform) Deprecated.(deprecated) Retrieves the Lambda layer version Amazon Resource Name (ARN) for the AWS AppConfig Lambda extension.- Parameters:
region
- The region for the Lambda layer (for example, 'us-east-1'). This parameter is required.platform
- The platform for the Lambda layer (default is Platform.X86_64).- Returns:
- Lambda layer version ARN
-
getLambdaLayerVersionArn
@Stability(Deprecated) @Deprecated @NotNull public static String getLambdaLayerVersionArn(@NotNull String region) Deprecated.(deprecated) Retrieves the Lambda layer version Amazon Resource Name (ARN) for the AWS AppConfig Lambda extension.- Parameters:
region
- The region for the Lambda layer (for example, 'us-east-1'). This parameter is required.- Returns:
- Lambda layer version ARN
-
addEnvironment
@Stability(Deprecated) @Deprecated @NotNull public IEnvironment addEnvironment(@NotNull String id, @Nullable EnvironmentOptions options) Deprecated.(deprecated) Adds an environment.- Specified by:
addEnvironment
in interfaceIApplication
- Parameters:
id
- This parameter is required.options
-
-
addEnvironment
Deprecated.(deprecated) Adds an environment.- Specified by:
addEnvironment
in interfaceIApplication
- Parameters:
id
- This parameter is required.
-
addExistingEnvironment
@Stability(Deprecated) @Deprecated public void addExistingEnvironment(@NotNull IEnvironment environment) Deprecated.(deprecated) Adds an existing environment.- Specified by:
addExistingEnvironment
in interfaceIApplication
- Parameters:
environment
- This parameter is required.
-
addExtension
Deprecated.(deprecated) Adds an extension association to the application.- Specified by:
addExtension
in interfaceIApplication
- Specified by:
addExtension
in interfaceIExtensible
- Parameters:
extension
- The extension to create an association for. This parameter is required.
-
addHostedConfiguration
@Stability(Deprecated) @Deprecated @NotNull public HostedConfiguration addHostedConfiguration(@NotNull String id, @NotNull HostedConfigurationOptions options) Deprecated.(deprecated) Adds a hosted configuration.- Specified by:
addHostedConfiguration
in interfaceIApplication
- Parameters:
id
- This parameter is required.options
- This parameter is required.
-
addSourcedConfiguration
@Stability(Deprecated) @Deprecated @NotNull public SourcedConfiguration addSourcedConfiguration(@NotNull String id, @NotNull SourcedConfigurationOptions options) Deprecated.(deprecated) Adds a sourced configuration.- Specified by:
addSourcedConfiguration
in interfaceIApplication
- Parameters:
id
- This parameter is required.options
- This parameter is required.
-
on
@Stability(Deprecated) @Deprecated public void on(@NotNull ActionPoint actionPoint, @NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Deprecated.(deprecated) 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 interfaceIExtensible
- 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(Deprecated) @Deprecated public void on(@NotNull ActionPoint actionPoint, @NotNull IEventDestination eventDestination) Deprecated.(deprecated) 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 interfaceIExtensible
- 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(Deprecated) @Deprecated public void onDeploymentBaking(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Deprecated.(deprecated) 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 interfaceIExtensible
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.options
- Options for the extension.
-
onDeploymentBaking
@Stability(Deprecated) @Deprecated public void onDeploymentBaking(@NotNull IEventDestination eventDestination) Deprecated.(deprecated) 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 interfaceIExtensible
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.
-
onDeploymentComplete
@Stability(Deprecated) @Deprecated public void onDeploymentComplete(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Deprecated.(deprecated) 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 interfaceIExtensible
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.options
- Options for the extension.
-
onDeploymentComplete
@Stability(Deprecated) @Deprecated public void onDeploymentComplete(@NotNull IEventDestination eventDestination) Deprecated.(deprecated) 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 interfaceIExtensible
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.
-
onDeploymentRolledBack
@Stability(Deprecated) @Deprecated public void onDeploymentRolledBack(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Deprecated.(deprecated) 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 interfaceIExtensible
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.options
- Options for the extension.
-
onDeploymentRolledBack
@Stability(Deprecated) @Deprecated public void onDeploymentRolledBack(@NotNull IEventDestination eventDestination) Deprecated.(deprecated) 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 interfaceIExtensible
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.
-
onDeploymentStart
@Stability(Deprecated) @Deprecated public void onDeploymentStart(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Deprecated.(deprecated) 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 interfaceIExtensible
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.options
- Options for the extension.
-
onDeploymentStart
@Stability(Deprecated) @Deprecated public void onDeploymentStart(@NotNull IEventDestination eventDestination) Deprecated.(deprecated) 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 interfaceIExtensible
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.
-
onDeploymentStep
@Stability(Deprecated) @Deprecated public void onDeploymentStep(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Deprecated.(deprecated) 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 interfaceIExtensible
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.options
- Options for the extension.
-
onDeploymentStep
@Stability(Deprecated) @Deprecated public void onDeploymentStep(@NotNull IEventDestination eventDestination) Deprecated.(deprecated) 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 interfaceIExtensible
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.
-
preCreateHostedConfigurationVersion
@Stability(Deprecated) @Deprecated public void preCreateHostedConfigurationVersion(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Deprecated.(deprecated) 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 interfaceIExtensible
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.options
- Options for the extension.
-
preCreateHostedConfigurationVersion
@Stability(Deprecated) @Deprecated public void preCreateHostedConfigurationVersion(@NotNull IEventDestination eventDestination) Deprecated.(deprecated) 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 interfaceIExtensible
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.
-
preStartDeployment
@Stability(Deprecated) @Deprecated public void preStartDeployment(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Deprecated.(deprecated) 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 interfaceIExtensible
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.options
- Options for the extension.
-
preStartDeployment
@Stability(Deprecated) @Deprecated public void preStartDeployment(@NotNull IEventDestination eventDestination) Deprecated.(deprecated) 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 interfaceIExtensible
- Parameters:
eventDestination
- The event that occurs during the extension. This parameter is required.
-
getApplicationArn
Deprecated.(deprecated) The Amazon Resource Name (ARN) of the application.- Specified by:
getApplicationArn
in interfaceIApplication
-
getApplicationId
Deprecated.(deprecated) The ID of the application.- Specified by:
getApplicationId
in interfaceIApplication
-
getEnvironments
Deprecated.(deprecated) Returns the list of associated environments.- Specified by:
getEnvironments
in interfaceIApplication
-
getDescription
Deprecated.(deprecated) The description of the application.- Specified by:
getDescription
in interfaceIApplication
-
getName
Deprecated.(deprecated) The name of the application.- Specified by:
getName
in interfaceIApplication
-
getExtensible
Deprecated. -
setExtensible
Deprecated.
-