@Stability(value=Stable) @Internal public static final class ResourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ResourceProps
ResourceProps
software.amazon.jsii.JsiiObject.InitializationMode
ResourceProps.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(ResourceProps.Builder builder)
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()
The AWS account ID this resource belongs to.
|
String |
getEnvironmentFromArn()
ARN to deduce region and account from.
|
String |
getPhysicalName()
The value passed in by users to the physical name prop of the resource.
|
String |
getRegion()
The AWS region this resource belongs to.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(ResourceProps.Builder builder)
ResourceProps.Builder
.public final String getAccount()
ResourceProps
Default: - the resource is in the same account as the stack it belongs to
getAccount
in interface ResourceProps
public final String getEnvironmentFromArn()
ResourceProps
The 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 ResourceProps
public 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 ResourceProps
public final String getRegion()
ResourceProps
Default: - 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.JsiiSerializable
Copyright © 2022. All rights reserved.