Skip to content
v2.277.0

LazyStringValueOptions Struct ​

Options for creating a lazy string token.

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 lazyStringValueOptions: cdk.LazyStringValueOptions = {
  displayHint: 'displayHint',
};
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

lazy_string_value_options = cdk.LazyStringValueOptions(
    display_hint="displayHint"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;

LazyStringValueOptions lazyStringValueOptions = LazyStringValueOptions.builder()
        .displayHint("displayHint")
        .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 lazyStringValueOptions = new LazyStringValueOptions {
    DisplayHint = "displayHint"
};
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"

lazyStringValueOptions := &LazyStringValueOptions{
	DisplayHint: jsii.String("displayHint"),
}

Properties ​

displayHintoptionalstringdisplay_hintoptionalstrdisplayHintoptionalStringDisplayHintoptionalstringDisplayHintoptional*string #
Use the given name as a display hint.

Default: No hint