Package software.amazon.awscdk.cxapi
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.
(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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDeprecated.static final classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic Environment.Builderbuilder()Deprecated.Deprecated.getName()Deprecated.Deprecated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccount
Deprecated.(deprecated) The AWS account this environment deploys into. -
getName
Deprecated.(deprecated) The arbitrary name of this environment (user-set, or at least user-meaningful). -
getRegion
Deprecated.(deprecated) The AWS region name where this environment deploys into. -
builder
Deprecated.- Returns:
- a
Environment.BuilderofEnvironment
-
@aws-cdk/cloud-assembly-api.