Class: AWSCDK::CustomResources::PhysicalResourceIdReference

Inherits:
Jsii::Object
  • Object
show all
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

Constructor Details

#initializePhysicalResourceIdReference

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_methodsObject



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_stackArray<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.

Returns:

  • (Array<String>)


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.

Parameters:

Returns:

  • (Object)


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_jsonString

toJSON serialization to replace PhysicalResourceIdReference with a magic string.

Returns:

  • (String)


44
45
46
# File 'custom_resources/physical_resource_id_reference.rb', line 44

def to_json()
  jsii_call_method("toJSON", [])
end

#to_stringString

Return a string representation of this resolvable object.

Returns a reversible string representation.

Returns:

  • (String)


53
54
55
# File 'custom_resources/physical_resource_id_reference.rb', line 53

def to_string()
  jsii_call_method("toString", [])
end