FnJoin
- Implements: IResolvable
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 { FnJoin } from '@alicloud/ros-cdk-core'
new FnJoin(delimiter: string, listOfValues: any[])
Name | Type | Description |
---|---|---|
delimiter |
string |
The value you want to occur between fragments. |
listOfValues |
any[] |
The list of values you want combined. |
delimiter
Required
- Type: string
The value you want to occur between fragments.
The delimiter will occur between fragments only. It will not terminate the final value.
listOfValues
Required
- Type: any[]
The list of values you want combined.
Methods
Name | Description |
---|---|
resolve |
Produce the Token's value at resolution time. |
toJSON |
No description. |
toString |
Return a string representation of this resolvable object. |
resolve
public resolve(context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: IResolveContext
toJSON
public toJSON(): string
toString
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
Properties
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
creationStack
Required
public readonly creationStack: string[];
- Type: string[]
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.