java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.appconfig.alpha.Environment
All Implemented Interfaces:
IResource, IEnvironment, IExtensible, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:26.504Z") @Stability(Deprecated) @Deprecated public class Environment extends Resource implements IEnvironment, IExtensible
Deprecated.
(deprecated) An AWS AppConfig environment.

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;
 Monitor monitor;
 Environment environment = Environment.Builder.create(this, "MyEnvironment")
         .application(application)
         // the properties below are optional
         .description("description")
         .environmentName("environmentName")
         .monitors(List.of(monitor))
         .build();
 

See Also:
  • Constructor Details

    • Environment

      protected Environment(software.amazon.jsii.JsiiObjectRef objRef)
      Deprecated.
    • Environment

      protected Environment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      Deprecated.
    • Environment

      @Stability(Deprecated) @Deprecated public Environment(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull EnvironmentProps props)
      Deprecated.
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props - This parameter is required.
  • Method Details

    • fromEnvironmentArn

      @Stability(Deprecated) @Deprecated @NotNull public static IEnvironment fromEnvironmentArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String environmentArn)
      Deprecated.
      (deprecated) Imports an environment into the CDK using its Amazon Resource Name (ARN).

      Parameters:
      scope - The parent construct. This parameter is required.
      id - The name of the environment construct. This parameter is required.
      environmentArn - The Amazon Resource Name (ARN) of the environment. This parameter is required.
    • fromEnvironmentAttributes

      @Stability(Deprecated) @Deprecated @NotNull public static IEnvironment fromEnvironmentAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull EnvironmentAttributes attrs)
      Deprecated.
      (deprecated) Imports an environment into the CDK from its attributes.

      Parameters:
      scope - The parent construct. This parameter is required.
      id - The name of the environment construct. This parameter is required.
      attrs - The attributes of the environment. This parameter is required.
    • addExtension

      @Stability(Deprecated) @Deprecated public void addExtension(@NotNull IExtension extension)
      Deprecated.
      (deprecated) Adds an extension association to the environment.

      Specified by:
      addExtension in interface IEnvironment
      Specified by:
      addExtension in interface IExtensible
      Parameters:
      extension - 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 the environment.

      Specified by:
      on in interface IEnvironment
      Specified by:
      on in interface IExtensible
      Parameters:
      actionPoint - This parameter is required.
      eventDestination - This parameter is required.
      options -
    • 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 the environment.

      Specified by:
      on in interface IEnvironment
      Specified by:
      on in interface IExtensible
      Parameters:
      actionPoint - This parameter is required.
      eventDestination - 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 the environment.

      Specified by:
      onDeploymentBaking in interface IEnvironment
      Specified by:
      onDeploymentBaking in interface IExtensible
      Parameters:
      eventDestination - This parameter is required.
      options -
    • 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 the environment.

      Specified by:
      onDeploymentBaking in interface IEnvironment
      Specified by:
      onDeploymentBaking in interface IExtensible
      Parameters:
      eventDestination - 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 the environment.

      Specified by:
      onDeploymentComplete in interface IEnvironment
      Specified by:
      onDeploymentComplete in interface IExtensible
      Parameters:
      eventDestination - This parameter is required.
      options -
    • 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 the environment.

      Specified by:
      onDeploymentComplete in interface IEnvironment
      Specified by:
      onDeploymentComplete in interface IExtensible
      Parameters:
      eventDestination - 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 the environment.

      Specified by:
      onDeploymentRolledBack in interface IEnvironment
      Specified by:
      onDeploymentRolledBack in interface IExtensible
      Parameters:
      eventDestination - This parameter is required.
      options -
    • 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 the environment.

      Specified by:
      onDeploymentRolledBack in interface IEnvironment
      Specified by:
      onDeploymentRolledBack in interface IExtensible
      Parameters:
      eventDestination - 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 the environment.

      Specified by:
      onDeploymentStart in interface IEnvironment
      Specified by:
      onDeploymentStart in interface IExtensible
      Parameters:
      eventDestination - This parameter is required.
      options -
    • 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 the environment.

      Specified by:
      onDeploymentStart in interface IEnvironment
      Specified by:
      onDeploymentStart in interface IExtensible
      Parameters:
      eventDestination - 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 the environment.

      Specified by:
      onDeploymentStep in interface IEnvironment
      Specified by:
      onDeploymentStep in interface IExtensible
      Parameters:
      eventDestination - This parameter is required.
      options -
    • 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 the environment.

      Specified by:
      onDeploymentStep in interface IEnvironment
      Specified by:
      onDeploymentStep in interface IExtensible
      Parameters:
      eventDestination - 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 the environment.

      Specified by:
      preCreateHostedConfigurationVersion in interface IEnvironment
      Specified by:
      preCreateHostedConfigurationVersion in interface IExtensible
      Parameters:
      eventDestination - This parameter is required.
      options -
    • 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 the environment.

      Specified by:
      preCreateHostedConfigurationVersion in interface IEnvironment
      Specified by:
      preCreateHostedConfigurationVersion in interface IExtensible
      Parameters:
      eventDestination - 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 the environment.

      Specified by:
      preStartDeployment in interface IEnvironment
      Specified by:
      preStartDeployment in interface IExtensible
      Parameters:
      eventDestination - This parameter is required.
      options -
    • 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 the environment.

      Specified by:
      preStartDeployment in interface IEnvironment
      Specified by:
      preStartDeployment in interface IExtensible
      Parameters:
      eventDestination - This parameter is required.
    • getApplicationId

      @Stability(Deprecated) @Deprecated @NotNull public String getApplicationId()
      Deprecated.
      (deprecated) The ID of the environment.
      Specified by:
      getApplicationId in interface IEnvironment
    • getEnvironmentArn

      @Stability(Deprecated) @Deprecated @NotNull public String getEnvironmentArn()
      Deprecated.
      (deprecated) The Amazon Resource Name (ARN) of the environment.
      Specified by:
      getEnvironmentArn in interface IEnvironment
    • getEnvironmentId

      @Stability(Deprecated) @Deprecated @NotNull public String getEnvironmentId()
      Deprecated.
      (deprecated) The ID of the environment.
      Specified by:
      getEnvironmentId in interface IEnvironment
    • getApplication

      @Stability(Deprecated) @Deprecated @Nullable public IApplication getApplication()
      Deprecated.
      (deprecated) The application associated with the environment.
      Specified by:
      getApplication in interface IEnvironment
    • getDescription

      @Stability(Deprecated) @Deprecated @Nullable public String getDescription()
      Deprecated.
      (deprecated) The description of the environment.
      Specified by:
      getDescription in interface IEnvironment
    • getMonitors

      @Stability(Deprecated) @Deprecated @Nullable public List<Monitor> getMonitors()
      Deprecated.
      (deprecated) The monitors for the environment.
      Specified by:
      getMonitors in interface IEnvironment
    • getName

      @Stability(Deprecated) @Deprecated @Nullable public String getName()
      Deprecated.
      (deprecated) The name of the environment.
      Specified by:
      getName in interface IEnvironment
    • getExtensible

      @Stability(Deprecated) @Deprecated @NotNull protected ExtensibleBase getExtensible()
      Deprecated.
    • setExtensible

      @Stability(Deprecated) @Deprecated protected void setExtensible(@NotNull ExtensibleBase value)
      Deprecated.