Interface Environment

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

@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)", date="2026-02-09T14:39:21.383Z") @Stability(Deprecated) @Deprecated public interface Environment extends software.amazon.jsii.JsiiSerializable
Deprecated.
The official definition of this type has moved to @aws-cdk/cloud-assembly-api.
(deprecated) Models an AWS execution environment, for use within the CDK toolkit.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cxapi.*;
 Environment environment = Environment.builder()
         .account("account")
         .name("name")
         .region("region")
         .build();
 

  • Method Details

    • getAccount

      @Stability(Deprecated) @Deprecated @NotNull String getAccount()
      Deprecated.
      (deprecated) The AWS account this environment deploys into.
    • getName

      @Stability(Deprecated) @Deprecated @NotNull String getName()
      Deprecated.
      (deprecated) The arbitrary name of this environment (user-set, or at least user-meaningful).
    • getRegion

      @Stability(Deprecated) @Deprecated @NotNull String getRegion()
      Deprecated.
      (deprecated) The AWS region name where this environment deploys into.
    • builder

      @Stability(Deprecated) @Deprecated static Environment.Builder builder()
      Deprecated.
      Returns:
      a Environment.Builder of Environment