Skip to content

FnJoin

The intrinsic function Fn::Join appends a set of values into a single value, separated by the specified delimiter.

If a delimiter is the empty string, the set of values are concatenated with no delimiter.

Initializers

import ros_cdk_core
ros_cdk_core.FnJoin(
  delimiter: str,
  list_of_values: typing.List[typing.Any]
)
Name Type Description
delimiter str The value you want to occur between fragments.
list_of_values typing.List[typing.Any] The list of values you want combined.

delimiterRequired

  • Type: str

The value you want to occur between fragments.

The delimiter will occur between fragments only. It will not terminate the final value.


list_of_valuesRequired

  • Type: typing.List[typing.Any]

The list of values you want combined.


Methods

Name Description
resolve Produce the Token's value at resolution time.
to_jso_n No description.
to_string Return a string representation of this resolvable object.

resolve

def resolve(
  context: IResolveContext
) -> typing.Any

Produce the Token's value at resolution time.

contextRequired


to_jso_n

def to_jso_n() -> str

to_string

def to_string() -> str

Return a string representation of this resolvable object.

Returns a reversible string representation.

Properties

Name Type Description
creation_stack typing.List[str] The creation stack of this resolvable which will be appended to errors thrown during resolution.

creation_stackRequired

creation_stack: typing.List[str]
  • Type: typing.List[str]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.