Skip to content
v2.278.0

IntrinsicProps ​

Struct Stable

Customization properties for an Intrinsic 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 intrinsicProps: cdk.IntrinsicProps = {
  stackTrace: false,
  typeHint: cdk.ResolutionTypeHint.STRING,
};
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

intrinsic_props = cdk.IntrinsicProps(
    stack_trace=False,
    type_hint=cdk.ResolutionTypeHint.STRING
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;

IntrinsicProps intrinsicProps = IntrinsicProps.builder()
        .stackTrace(false)
        .typeHint(ResolutionTypeHint.STRING)
        .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 intrinsicProps = new IntrinsicProps {
    StackTrace = false,
    TypeHint = ResolutionTypeHint.STRING
};
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"

intrinsicProps := &IntrinsicProps{
	StackTrace: jsii.Boolean(false),
	TypeHint: cdk.ResolutionTypeHint_STRING,
}

Properties ​

stackTraceoptionalbooleanstack_traceoptionalboolstackTraceoptionalBooleanStackTraceoptionalboolStackTraceoptional*bool = true #
Capture the stack trace of where this token is created.
typeHintoptionalResolutionTypeHinttype_hintoptionalResolutionTypeHinttypeHintoptionalResolutionTypeHintTypeHintoptionalResolutionTypeHintTypeHintoptionalResolutionTypeHint = ResolutionTypeHint.STRING #
Type that this token is expected to evaluate to.