Interface IEnvironment

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

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-03-14T22:21:49.847Z") @Stability(Stable) public interface IEnvironment extends software.amazon.jsii.JsiiSerializable, IResource
  • Method Details

    • getApplicationId

      @Stability(Stable) @NotNull String getApplicationId()
      The ID of the application associated to the environment.
    • getEnvironmentArn

      @Stability(Stable) @NotNull String getEnvironmentArn()
      The Amazon Resource Name (ARN) of the environment.
    • getEnvironmentId

      @Stability(Stable) @NotNull String getEnvironmentId()
      The ID of the environment.
    • getApplication

      @Stability(Stable) @Nullable default IApplication getApplication()
      The application associated with the environment.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the environment.
    • getMonitors

      @Stability(Stable) @Nullable default List<Monitor> getMonitors()
      The monitors for the environment.
    • getName

      @Stability(Stable) @Nullable default String getName()
      The name of the environment.
    • addExtension

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

      Parameters:
      extension - The extension to create an association for. This parameter is required.
    • on

      @Stability(Stable) void on(@NotNull ActionPoint actionPoint, @NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options)
      Adds an extension defined by the action point and event destination and also creates an extension association to the environment.

      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(Stable) void on(@NotNull ActionPoint actionPoint, @NotNull IEventDestination eventDestination)
      Adds an extension defined by the action point and event destination and also creates an extension association to the environment.

      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(Stable) void onDeploymentBaking(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options)
      Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the environment.

      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
      options - Options for the extension.
    • onDeploymentBaking

      @Stability(Stable) void onDeploymentBaking(@NotNull IEventDestination eventDestination)
      Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the environment.

      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
    • onDeploymentComplete

      @Stability(Stable) void onDeploymentComplete(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options)
      Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the environment.

      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
      options - Options for the extension.
    • onDeploymentComplete

      @Stability(Stable) void onDeploymentComplete(@NotNull IEventDestination eventDestination)
      Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the environment.

      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
    • onDeploymentRolledBack

      @Stability(Stable) void onDeploymentRolledBack(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options)
      Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the environment.

      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
      options - Options for the extension.
    • onDeploymentRolledBack

      @Stability(Stable) void onDeploymentRolledBack(@NotNull IEventDestination eventDestination)
      Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the environment.

      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
    • onDeploymentStart

      @Stability(Stable) void onDeploymentStart(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options)
      Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the environment.

      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
      options - Options for the extension.
    • onDeploymentStart

      @Stability(Stable) void onDeploymentStart(@NotNull IEventDestination eventDestination)
      Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the environment.

      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
    • onDeploymentStep

      @Stability(Stable) void onDeploymentStep(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options)
      Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the environment.

      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
      options - Options for the extension.
    • onDeploymentStep

      @Stability(Stable) void onDeploymentStep(@NotNull IEventDestination eventDestination)
      Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the environment.

      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
    • preCreateHostedConfigurationVersion

      @Stability(Stable) void preCreateHostedConfigurationVersion(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options)
      Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the environment.

      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
      options - Options for the extension.
    • preCreateHostedConfigurationVersion

      @Stability(Stable) void preCreateHostedConfigurationVersion(@NotNull IEventDestination eventDestination)
      Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the environment.

      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
    • preStartDeployment

      @Stability(Stable) void preStartDeployment(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options)
      Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the environment.

      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.
      options - Options for the extension.
    • preStartDeployment

      @Stability(Stable) void preStartDeployment(@NotNull IEventDestination eventDestination)
      Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the environment.

      Parameters:
      eventDestination - The event that occurs during the extension. This parameter is required.