Package software.amazon.awscdk
Class ResourceProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.ResourceProps.Jsii$Proxy
- All Implemented Interfaces:
ResourceProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
ResourceProps
@Stability(Stable)
@Internal
public static final class ResourceProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements ResourceProps
An implementation for
ResourceProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.ResourceProps
ResourceProps.Builder, ResourceProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(ResourceProps.Builder builder) Constructor that initializes the object based on literal property values passed by theResourceProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
The AWS account ID this resource belongs to.final String
ARN to deduce region and account from.final String
The value passed in by users to the physical name prop of the resource.final String
The AWS region this resource belongs to.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theResourceProps.Builder
.
-
-
Method Details
-
getAccount
Description copied from interface:ResourceProps
The AWS account ID this resource belongs to.Default: - the resource is in the same account as the stack it belongs to
- Specified by:
getAccount
in interfaceResourceProps
-
getEnvironmentFromArn
Description copied from interface:ResourceProps
ARN to deduce region and account from.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
orregion
.Default: - take environment from `account`, `region` parameters, or use Stack environment.
- Specified by:
getEnvironmentFromArn
in interfaceResourceProps
-
getPhysicalName
Description copied from interface:ResourceProps
The value passed in by users to the physical name prop of the resource.undefined
implies that a physical name will be allocated by CloudFormation during deployment.- a concrete value implies a specific physical name
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
- Specified by:
getPhysicalName
in interfaceResourceProps
-
getRegion
Description copied from interface:ResourceProps
The AWS region this resource belongs to.Default: - the resource is in the same region as the stack it belongs to
- Specified by:
getRegion
in interfaceResourceProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-