public static final class IEc2Environment.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IEc2Environment
software.amazon.jsii.JsiiObject.InitializationModeIEc2Environment.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEc2EnvironmentArn()
The arn of the EnvironmentEc2.
|
String |
getEc2EnvironmentName()
The name of the EnvironmentEc2.
|
ResourceEnvironment |
getEnv()
The environment this resource belongs to.
|
ConstructNode |
getNode()
The construct tree node for this construct.
|
Stack |
getStack()
The stack in which this resource is defined.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet@Stability(value=Experimental) @NotNull public String getEc2EnvironmentArn()
EXPERIMENTAL
getEc2EnvironmentArn in interface IEc2Environment@Stability(value=Experimental) @NotNull public String getEc2EnvironmentName()
EXPERIMENTAL
getEc2EnvironmentName in interface IEc2Environment@Stability(value=Stable) @NotNull public ResourceEnvironment getEnv()
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
@Stability(value=Stable) @NotNull public Stack getStack()
@Stability(value=Stable) @NotNull public ConstructNode getNode()
Copyright © 2020. All rights reserved.