Class IEnvironment.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appconfig.alpha.IEnvironment.Jsii$Proxy
All Implemented Interfaces:
IResource, IResource.Jsii$Default, IEnvironment, IEnvironment.Jsii$Default, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default
Enclosing interface:
IEnvironment

@Internal public static final class IEnvironment.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IEnvironment.Jsii$Default
A proxy class which represents a concrete javascript instance of this type.
  • 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 interface software.constructs.IConstruct
      Specified by:
      getNode in interface software.constructs.IConstruct.Jsii$Default
      Specified by:
      getNode in interface IEnvironment.Jsii$Default
      Specified by:
      getNode in interface IResource.Jsii$Default
    • getEnv

      @Stability(Stable) @NotNull public final ResourceEnvironment 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 interface IEnvironment.Jsii$Default
      Specified by:
      getEnv in interface IResource
      Specified by:
      getEnv in interface IResource.Jsii$Default
    • getStack

      @Stability(Stable) @NotNull public final Stack getStack()
      The stack in which this resource is defined.
      Specified by:
      getStack in interface IEnvironment.Jsii$Default
      Specified by:
      getStack in interface IResource
      Specified by:
      getStack in interface IResource.Jsii$Default
    • getApplicationId

      @Stability(Deprecated) @Deprecated @NotNull public final String getApplicationId()
      Deprecated.
      (deprecated) The ID of the application associated to the environment.
      Specified by:
      getApplicationId in interface IEnvironment
      Specified by:
      getApplicationId in interface IEnvironment.Jsii$Default
    • getEnvironmentArn

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

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

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

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

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

      @Stability(Deprecated) @Deprecated @Nullable public final String getName()
      Deprecated.
      (deprecated) The name of the environment.
      Specified by:
      getName in interface IEnvironment
      Specified by:
      getName in interface IEnvironment.Jsii$Default
    • applyRemovalPolicy

      @Stability(Stable) public final void applyRemovalPolicy(@NotNull RemovalPolicy policy)
      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 interface IEnvironment.Jsii$Default
      Specified by:
      applyRemovalPolicy in interface IResource
      Specified by:
      applyRemovalPolicy in interface IResource.Jsii$Default
      Parameters:
      policy - This parameter is required.
    • addExtension

      @Stability(Deprecated) @Deprecated public final 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 IEnvironment.Jsii$Default
      Parameters:
      extension - The extension to create an association for. This parameter is required.
    • on

      @Stability(Deprecated) @Deprecated public final 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 IEnvironment.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(Deprecated) @Deprecated public final 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
      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 final 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 IEnvironment.Jsii$Default
      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
      options - Options for the extension.
    • onDeploymentBaking

      @Stability(Deprecated) @Deprecated public final 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
      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
    • onDeploymentComplete

      @Stability(Deprecated) @Deprecated public final 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 IEnvironment.Jsii$Default
      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
      options - Options for the extension.
    • onDeploymentComplete

      @Stability(Deprecated) @Deprecated public final 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
      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
    • onDeploymentRolledBack

      @Stability(Deprecated) @Deprecated public final 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 IEnvironment.Jsii$Default
      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
      options - Options for the extension.
    • onDeploymentRolledBack

      @Stability(Deprecated) @Deprecated public final 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
      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
    • onDeploymentStart

      @Stability(Deprecated) @Deprecated public final 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 IEnvironment.Jsii$Default
      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
      options - Options for the extension.
    • onDeploymentStart

      @Stability(Deprecated) @Deprecated public final 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
      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
    • onDeploymentStep

      @Stability(Deprecated) @Deprecated public final 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 IEnvironment.Jsii$Default
      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
      options - Options for the extension.
    • onDeploymentStep

      @Stability(Deprecated) @Deprecated public final 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
      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
    • preCreateHostedConfigurationVersion

      @Stability(Deprecated) @Deprecated public final 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 IEnvironment.Jsii$Default
      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
      options - Options for the extension.
    • preCreateHostedConfigurationVersion

      @Stability(Deprecated) @Deprecated public final 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
      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
    • preStartDeployment

      @Stability(Deprecated) @Deprecated public final 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 IEnvironment.Jsii$Default
      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
      options - Options for the extension.
    • preStartDeployment

      @Stability(Deprecated) @Deprecated public final 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
      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.