# StringConcat

Converts all fragments to strings and concats those.

Drops 'undefined's.

Implements: [IFragmentConcatenator](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IFragmentConcatenator.html)

- Source: [`core/lib/resolvable.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/aws-cdk-lib/core/lib/resolvable.ts#L143)

## Example

TypeScript:

```ts
// 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();
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

string_concat = cdk.StringConcat()
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;

StringConcat stringConcat = new StringConcat();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;

var stringConcat = new StringConcat();
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import cdk "github.com/aws/aws-cdk-go/awscdk"

stringConcat := cdk.NewStringConcat()
```

## Initializer

TypeScript:

```ts
new StringConcat()
```

Python:

```python
StringConcat()
```

Java:

```java
new StringConcat()
```

C# / .NET:

```csharp
new StringConcat()
```

Golang:

```go
NewStringConcat()
```

## Methods

- `join(left: any, right: any): any` — Join the fragment on the left and on the right.
