class StringConcat
Language | Type name |
---|---|
![]() | Amazon.CDK.StringConcat |
![]() | github.com/aws/aws-cdk-go/awscdk/v2#StringConcat |
![]() | software.amazon.awscdk.StringConcat |
![]() | aws_cdk.StringConcat |
![]() | aws-cdk-lib » StringConcat |
Implements
IFragment
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
Name | Description |
---|---|
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.