Interface IEnvironment.Jsii$Default

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IEnvironment, IResource, IResource.Jsii$Default, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IEnvironment.Jsii$Proxy
Enclosing interface:
IEnvironment

@Internal public static interface IEnvironment.Jsii$Default extends IEnvironment, IResource.Jsii$Default
Internal default implementation for IEnvironment.
  • Method Details

    • getNode

      @Stability(Stable) @NotNull default 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 IResource.Jsii$Default
    • getEnv

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

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

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

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

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

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

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

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

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

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

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

      Specified by:
      addExtension in interface IEnvironment
      Parameters:
      extension - The extension to create an association for. This parameter is required.
    • on

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

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

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

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

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

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

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