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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ResourceProps.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 Type
    Method
    Description
    com.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
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected Jsii$Proxy(ResourceProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ResourceProps.Builder.
  • Method Details

    • getAccount

      public final String 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 interface ResourceProps
    • getEnvironmentFromArn

      public final String 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 or region.

      Default: - take environment from `account`, `region` parameters, or use Stack environment.

      Specified by:
      getEnvironmentFromArn in interface ResourceProps
    • getPhysicalName

      public final String 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 interface ResourceProps
    • getRegion

      public final String 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 interface ResourceProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object