aws-cdk-lib.StringConcat

class StringConcat

LanguageType name
.NETAmazon.CDK.StringConcat
Gogithub.com/aws/aws-cdk-go/awscdk/v2#StringConcat
Javasoftware.amazon.awscdk.StringConcat
Pythonaws_cdk.StringConcat
TypeScript (source)aws-cdk-lib » StringConcat

Implements IFragmentConcatenator

Converts all fragments to strings and concats those.

Drops 'undefined's.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const stringConcat = new cdk.StringConcat();

Initializer

new StringConcat()

Methods

NameDescription
join(left, right)Join the fragment on the left and on the right.

join(left, right)

public join(left: any, right: any): any

Parameters

  • left any
  • right any

Returns

  • any

Join the fragment on the left and on the right.