@Stability(value=Experimental) @Internal public static final class ResourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResourceProps
ResourcePropssoftware.amazon.jsii.JsiiObject.InitializationModeResourceProps.Builder, ResourceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String account,
String environmentFromArn,
String physicalName,
String region)
Constructor that initializes the object based on literal property values passed by the
ResourceProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAccount()
(experimental) The AWS account ID this resource belongs to.
|
String |
getEnvironmentFromArn()
(experimental) ARN to deduce region and account from.
|
String |
getPhysicalName()
(experimental) The value passed in by users to the physical name prop of the resource.
|
String |
getRegion()
(experimental) The AWS region this resource belongs to.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String account, String environmentFromArn, String physicalName, String region)
ResourceProps.Builder.public final String getAccount()
ResourcePropsDefault: - the resource is in the same account as the stack it belongs to
getAccount in interface ResourcePropspublic final String getEnvironmentFromArn()
ResourcePropsThe ARN is parsed and the account and region are taken from the ARN. This should be used for imported resources.
Cannot be supplied together with either account or region.
Default: - take environment from `account`, `region` parameters, or use Stack environment.
getEnvironmentFromArn in interface ResourcePropspublic final String getPhysicalName()
ResourceProps
undefined implies that a physical name will be allocated by
CloudFormation during deployment.PhysicalName.GENERATE_IF_NEEDED is a marker that indicates that a physical will only be generated
by the CDK if it is needed for cross-environment references. Otherwise, it will be allocated by CloudFormation.Default: - The physical name will be allocated by CloudFormation at deployment time
getPhysicalName in interface ResourcePropspublic final String getRegion()
ResourcePropsDefault: - the resource is in the same region as the stack it belongs to
getRegion in interface ResourceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.