Module: AWSCDK::ICfnRuleConditionExpression

Includes:
ICfnConditionExpression
Defined in:
i_cfn_rule_condition_expression.rb

Overview

Interface to specify certain functions as Service Catalog rule-specific.

These functions can only be used in Rules section of template.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.jsii_overridable_methodsObject



55
56
57
58
59
60
61
62
63
# File 'i_cfn_rule_condition_expression.rb', line 55

def self.jsii_overridable_methods
  {
    :creation_stack => { kind: :property, name: "creationStack", is_optional: false },
    :type_hint => { kind: :property, name: "typeHint", is_optional: true },
    :disambiguator => { kind: :property, name: "disambiguator", is_optional: false },
    :resolve => { kind: :method, name: "resolve", is_optional: false },
    :to_string => { kind: :method, name: "toString", is_optional: false },
  }
end

Instance Method Details

#creation_stackArray<String>

Deprecated.

creationStack has been deprecated for low usefulness and cost to capture

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>)


17
18
19
# File 'i_cfn_rule_condition_expression.rb', line 17

def creation_stack()
  jsii_get_property("creationStack")
end

#disambiguatorBoolean

This field is only needed to defeat TypeScript's structural typing.

It is never used.

Returns:

  • (Boolean)


33
34
35
# File 'i_cfn_rule_condition_expression.rb', line 33

def disambiguator()
  jsii_get_property("disambiguator")
end

#resolve(context) ⇒ Object

Produce the Token's value at resolution time.

Parameters:

Returns:

  • (Object)


41
42
43
44
# File 'i_cfn_rule_condition_expression.rb', line 41

def resolve(context)
  Jsii::Type.check_type(context, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5JUmVzb2x2ZUNvbnRleHQifQ==")), "context")
  jsii_call_method("resolve", [context])
end

#to_stringString

Return a string representation of this resolvable object.

Returns a reversible string representation.

Returns:

  • (String)


51
52
53
# File 'i_cfn_rule_condition_expression.rb', line 51

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

#type_hintAWSCDK::ResolutionTypeHint?

The type that this token will likely resolve to.

Returns:



24
25
26
# File 'i_cfn_rule_condition_expression.rb', line 24

def type_hint()
  jsii_get_property("typeHint")
end