# ReverseOptions

Options for the 'reverse()' operation.

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

## 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 reverseOptions: cdk.ReverseOptions = {
  failConcat: false,
};
```

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

reverse_options = cdk.ReverseOptions(
    fail_concat=False
)
```

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.*;

ReverseOptions reverseOptions = ReverseOptions.builder()
        .failConcat(false)
        .build();
```

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 reverseOptions = new ReverseOptions {
    FailConcat = false
};
```

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"

reverseOptions := &ReverseOptions{
	FailConcat: jsii.Boolean(false),
}
```

## Properties

- `failConcat`: boolean = true — Fail if the given string is a concatenation.

  If `false`, just return `undefined`.
