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 "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore"
alicloudroscdkcore.NewFnJoin(delimiter *string, listOfValues *[]interface{}) FnJoin
Name Type Description
delimiter *string The value you want to occur between fragments.
listOfValues *[]interface{} The list of values you want combined.

delimiterRequired

  • Type: *string

The value you want to occur between fragments.

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


listOfValuesRequired

  • Type: *[]interface{}

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

func Resolve(context IResolveContext) interface{}

Produce the Token's value at resolution time.

contextRequired


ToJSON

func ToJSON() *string

ToString

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

CreationStackRequired

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