Interface EnvironmentAttributes

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
EnvironmentAttributes.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-27T16:50:52.596Z") @Stability(Stable) public interface EnvironmentAttributes extends software.amazon.jsii.JsiiSerializable
Attributes of an existing AWS AppConfig environment to import it.

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.*;
 Application application;
 Monitor monitor;
 EnvironmentAttributes environmentAttributes = EnvironmentAttributes.builder()
         .application(application)
         .environmentId("environmentId")
         // the properties below are optional
         .description("description")
         .monitors(List.of(monitor))
         .name("name")
         .build();
 
  • Method Details

    • getApplication

      @Stability(Stable) @NotNull IApplication getApplication()
      The application associated with the environment.
    • getEnvironmentId

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

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

      Default: - None.

    • getMonitors

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

      Default: - None.

    • getName

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

      Default: - None.

    • builder

      @Stability(Stable) static EnvironmentAttributes.Builder builder()
      Returns:
      a EnvironmentAttributes.Builder of EnvironmentAttributes