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.104.0 (build e79254c)",
date="2024-11-06T23:25:18.448Z")
@Stability(Stable)
public interface Environment
extends software.amazon.jsii.JsiiSerializable
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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEnvironment
static final class
An implementation forEnvironment
-
Method Summary
Modifier and TypeMethodDescriptionstatic Environment.Builder
builder()
The AWS account this environment deploys into.getName()
The arbitrary name of this environment (user-set, or at least user-meaningful).The AWS region name where this environment deploys into.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccount
The AWS account this environment deploys into. -
getName
The arbitrary name of this environment (user-set, or at least user-meaningful). -
getRegion
The AWS region name where this environment deploys into. -
builder
- Returns:
- a
Environment.Builder
ofEnvironment
-