Skip to content
v2.277.0

ReverseOptions Struct ​

Options for the 'reverse()' operation.

Example ​

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
# 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
// 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();
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
};
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 ​

failConcatoptionalbooleanfail_concatoptionalboolfailConcatoptionalBooleanFailConcatoptionalboolFailConcatoptional*bool = true #
Fail if the given string is a concatenation.

If false, just return undefined.