Skip to content
v2.276.0

EncodingOptions Struct ​

Properties to string encodings.

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 encodingOptions: cdk.EncodingOptions = {
  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

encoding_options = cdk.EncodingOptions(
    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.*;

EncodingOptions encodingOptions = EncodingOptions.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 encodingOptions = new EncodingOptions {
    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"

encodingOptions := &EncodingOptions{
	DisplayHint: jsii.String("displayHint"),
}

Properties ​

displayHintoptionalstringdisplay_hintoptionalstrdisplayHintoptionalStringDisplayHintoptionalstringDisplayHintoptional*string#
A hint for the Token's purpose when stringifying it.