class StringConcat
Language | Type name |
---|---|
.NET | Amazon.CDK.StringConcat |
Java | software.amazon.awscdk.core.StringConcat |
Python | aws_cdk.core.StringConcat |
TypeScript (source) | @aws-cdk/core » 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/core';
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.