Class: AWSCDK::CustomResources::PhysicalResourceIdReference
- Inherits:
-
Jsii::Object
- Object
- Jsii::Object
- AWSCDK::CustomResources::PhysicalResourceIdReference
- Includes:
- IResolvable
- Defined in:
- custom_resources/physical_resource_id_reference.rb
Overview
Reference to the physical resource id that can be passed to the AWS operation as a parameter.
Class Method Summary collapse
Instance Method Summary collapse
-
#creation_stack ⇒ Array<String>
The creation stack of this resolvable which will be appended to errors thrown during resolution.
-
#initialize ⇒ PhysicalResourceIdReference
constructor
A new instance of PhysicalResourceIdReference.
-
#resolve(_context) ⇒ Object
Produce the Token's value at resolution time.
-
#to_json ⇒ String
toJSON serialization to replace
PhysicalResourceIdReferencewith a magic string. -
#to_string ⇒ String
Return a string representation of this resolvable object.
Constructor Details
#initialize ⇒ PhysicalResourceIdReference
Returns a new instance of PhysicalResourceIdReference.
9 10 11 |
# File 'custom_resources/physical_resource_id_reference.rb', line 9 def initialize Jsii::Object.instance_method(:initialize).bind(self).call end |
Class Method Details
.jsii_overridable_methods ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'custom_resources/physical_resource_id_reference.rb', line 13 def self.jsii_overridable_methods { :creation_stack => { kind: :property, name: "creationStack", is_optional: false }, :resolve => { kind: :method, name: "resolve", is_optional: false }, :to_json => { kind: :method, name: "toJSON", is_optional: false }, :to_string => { kind: :method, name: "toString", is_optional: false }, } end |
Instance Method Details
#creation_stack ⇒ Array<String>
The creation stack of this resolvable which will be appended to errors thrown during resolution.
This may return an array with a single informational element indicating how to get this property populated, if it was skipped for performance reasons.
28 29 30 |
# File 'custom_resources/physical_resource_id_reference.rb', line 28 def creation_stack() jsii_get_property("creationStack") end |
#resolve(_context) ⇒ Object
Produce the Token's value at resolution time.
36 37 38 39 |
# File 'custom_resources/physical_resource_id_reference.rb', line 36 def resolve(_context) Jsii::Type.check_type(_context, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5JUmVzb2x2ZUNvbnRleHQifQ==")), "_context") jsii_call_method("resolve", [_context]) end |
#to_json ⇒ String
toJSON serialization to replace PhysicalResourceIdReference with a magic string.
44 45 46 |
# File 'custom_resources/physical_resource_id_reference.rb', line 44 def to_json() jsii_call_method("toJSON", []) end |
#to_string ⇒ String
Return a string representation of this resolvable object.
Returns a reversible string representation.
53 54 55 |
# File 'custom_resources/physical_resource_id_reference.rb', line 53 def to_string() jsii_call_method("toString", []) end |