Class Application
(deprecated) An AWS AppConfig application.
Inherited Members
Namespace: Amazon.CDK.AWS.AppConfig.Alpha
Assembly: Amazon.CDK.AWS.AppConfig.Alpha.dll
Syntax (csharp)
public class Application : Resource, IApplication, IResource, IExtensible
Syntax (vb)
Public Class Application
Inherits Resource
Implements IApplication, IResource, IExtensible
Remarks
Stability: Deprecated
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-application.html
Resource: AWS::AppConfig::Application
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppConfig.Alpha;
var application = new Application(this, "MyApplication", new ApplicationProps {
ApplicationName = "applicationName",
Description = "description"
});
Synopsis
Constructors
Application(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Application(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Application(Construct, String, IApplicationProps) |
Properties
ApplicationArn | (deprecated) The Amazon Resource Name (ARN) of the application. |
ApplicationId | (deprecated) The ID of the application. |
Description | (deprecated) The description of the application. |
Environments | (deprecated) Returns the list of associated environments. |
Extensible | |
Name | (deprecated) The name of the application. |
Methods
AddAgentToEcs(TaskDefinition) | (deprecated) Adds the AWS AppConfig Agent as a container to the provided ECS task definition. |
AddEnvironment(String, IEnvironmentOptions) | (deprecated) Adds an environment. |
AddExistingEnvironment(IEnvironment) | (deprecated) Adds an existing environment. |
AddExtension(IExtension) | (deprecated) Adds an extension association to the application. |
AddHostedConfiguration(String, IHostedConfigurationOptions) | (deprecated) Adds a hosted configuration. |
AddSourcedConfiguration(String, ISourcedConfigurationOptions) | (deprecated) Adds a sourced configuration. |
FromApplicationArn(Construct, String, String) | (deprecated) Imports an AWS AppConfig application into the CDK using its Amazon Resource Name (ARN). |
FromApplicationId(Construct, String, String) | (deprecated) Imports an AWS AppConfig application into the CDK using its ID. |
GetLambdaLayerVersionArn(String, Nullable<Platform>) | (deprecated) Retrieves the Lambda layer version Amazon Resource Name (ARN) for the AWS AppConfig Lambda extension. |
On(ActionPoint, IEventDestination, IExtensionOptions) | (deprecated) Adds an extension defined by the action point and event destination and also creates an extension association to an application. |
OnDeploymentBaking(IEventDestination, IExtensionOptions) | (deprecated) Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to an application. |
OnDeploymentComplete(IEventDestination, IExtensionOptions) | (deprecated) Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to an application. |
OnDeploymentRolledBack(IEventDestination, IExtensionOptions) | (deprecated) Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to an application. |
OnDeploymentStart(IEventDestination, IExtensionOptions) | (deprecated) Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to an application. |
OnDeploymentStep(IEventDestination, IExtensionOptions) | (deprecated) Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to an application. |
PreCreateHostedConfigurationVersion(IEventDestination, IExtensionOptions) | (deprecated) Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to an application. |
PreStartDeployment(IEventDestination, IExtensionOptions) | (deprecated) Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to an application. |
Constructors
Application(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Application(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Application(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Application(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Application(Construct, String, IApplicationProps)
public Application(Construct scope, string id, IApplicationProps props = null)
Parameters
- scope Constructs.Construct
- id System.String
- props IApplicationProps
Remarks
Stability: Deprecated
Properties
ApplicationArn
(deprecated) The Amazon Resource Name (ARN) of the application.
public virtual string ApplicationArn { get; }
Property Value
System.String
Remarks
Stability: Deprecated
Attribute: true
ApplicationId
(deprecated) The ID of the application.
public virtual string ApplicationId { get; }
Property Value
System.String
Remarks
Stability: Deprecated
Attribute: true
Description
(deprecated) The description of the application.
public virtual string Description { get; }
Property Value
System.String
Remarks
Stability: Deprecated
Environments
(deprecated) Returns the list of associated environments.
public virtual IEnvironment[] Environments { get; }
Property Value
Remarks
Stability: Deprecated
Extensible
protected virtual ExtensibleBase Extensible { get; set; }
Property Value
Remarks
Stability: Deprecated
Name
(deprecated) The name of the application.
public virtual string Name { get; }
Property Value
System.String
Remarks
Stability: Deprecated
Methods
AddAgentToEcs(TaskDefinition)
(deprecated) Adds the AWS AppConfig Agent as a container to the provided ECS task definition.
public static void AddAgentToEcs(TaskDefinition taskDef)
Parameters
- taskDef TaskDefinition
The ECS task definition [disable-awslint:ref-via-interface].
Remarks
Stability: Deprecated
AddEnvironment(String, IEnvironmentOptions)
(deprecated) Adds an environment.
public virtual IEnvironment AddEnvironment(string id, IEnvironmentOptions options = null)
Parameters
- id System.String
- options IEnvironmentOptions
Returns
Remarks
Stability: Deprecated
AddExistingEnvironment(IEnvironment)
(deprecated) Adds an existing environment.
public virtual void AddExistingEnvironment(IEnvironment environment)
Parameters
- environment IEnvironment
Remarks
Stability: Deprecated
AddExtension(IExtension)
(deprecated) Adds an extension association to the application.
public virtual void AddExtension(IExtension extension)
Parameters
- extension IExtension
The extension to create an association for.
Remarks
Stability: Deprecated
AddHostedConfiguration(String, IHostedConfigurationOptions)
(deprecated) Adds a hosted configuration.
public virtual HostedConfiguration AddHostedConfiguration(string id, IHostedConfigurationOptions options)
Parameters
- id System.String
- options IHostedConfigurationOptions
Returns
Remarks
Stability: Deprecated
AddSourcedConfiguration(String, ISourcedConfigurationOptions)
(deprecated) Adds a sourced configuration.
public virtual SourcedConfiguration AddSourcedConfiguration(string id, ISourcedConfigurationOptions options)
Parameters
- id System.String
- options ISourcedConfigurationOptions
Returns
Remarks
Stability: Deprecated
FromApplicationArn(Construct, String, String)
(deprecated) Imports an AWS AppConfig application into the CDK using its Amazon Resource Name (ARN).
public static IApplication FromApplicationArn(Construct scope, string id, string applicationArn)
Parameters
- scope Constructs.Construct
The parent construct.
- id System.String
The name of the application construct.
- applicationArn System.String
The Amazon Resource Name (ARN) of the application.
Returns
Remarks
Stability: Deprecated
FromApplicationId(Construct, String, String)
(deprecated) Imports an AWS AppConfig application into the CDK using its ID.
public static IApplication FromApplicationId(Construct scope, string id, string applicationId)
Parameters
- scope Constructs.Construct
The parent construct.
- id System.String
The name of the application construct.
- applicationId System.String
The ID of the application.
Returns
Remarks
Stability: Deprecated
GetLambdaLayerVersionArn(String, Nullable<Platform>)
(deprecated) Retrieves the Lambda layer version Amazon Resource Name (ARN) for the AWS AppConfig Lambda extension.
public static string GetLambdaLayerVersionArn(string region, Nullable<Platform> platform = null)
Parameters
- region System.String
The region for the Lambda layer (for example, 'us-east-1').
- platform System.Nullable<Platform>
The platform for the Lambda layer (default is Platform.X86_64).
Returns
System.String
Lambda layer version ARN
Remarks
Stability: Deprecated
On(ActionPoint, IEventDestination, IExtensionOptions)
(deprecated) Adds an extension defined by the action point and event destination and also creates an extension association to an application.
public virtual void On(ActionPoint actionPoint, IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- actionPoint ActionPoint
The action point which triggers the event.
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated
OnDeploymentBaking(IEventDestination, IExtensionOptions)
(deprecated) Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to an application.
public virtual void OnDeploymentBaking(IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated
OnDeploymentComplete(IEventDestination, IExtensionOptions)
(deprecated) Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to an application.
public virtual void OnDeploymentComplete(IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated
OnDeploymentRolledBack(IEventDestination, IExtensionOptions)
(deprecated) Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to an application.
public virtual void OnDeploymentRolledBack(IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated
OnDeploymentStart(IEventDestination, IExtensionOptions)
(deprecated) Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to an application.
public virtual void OnDeploymentStart(IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated
OnDeploymentStep(IEventDestination, IExtensionOptions)
(deprecated) Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to an application.
public virtual void OnDeploymentStep(IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated
PreCreateHostedConfigurationVersion(IEventDestination, IExtensionOptions)
(deprecated) Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to an application.
public virtual void PreCreateHostedConfigurationVersion(IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated
PreStartDeployment(IEventDestination, IExtensionOptions)
(deprecated) Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to an application.
public virtual void PreStartDeployment(IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated