# IntrinsicProps

Struct · Stable

Customization properties for an Intrinsic token.

Used as props by: [Intrinsic](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Intrinsic.html), [SecretValue](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.SecretValue.html)

- Source: [`core/lib/private/intrinsic.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/core/lib/private/intrinsic.ts#L11)
- Type last changed: v2.55.0 · 14 Dec 2022

## 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 intrinsicProps: cdk.IntrinsicProps = {
  stackTrace: false,
  typeHint: cdk.ResolutionTypeHint.STRING,
};
```

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

intrinsic_props = cdk.IntrinsicProps(
    stack_trace=False,
    type_hint=cdk.ResolutionTypeHint.STRING
)
```

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

IntrinsicProps intrinsicProps = IntrinsicProps.builder()
        .stackTrace(false)
        .typeHint(ResolutionTypeHint.STRING)
        .build();
```

C#:

```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:

```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

- `stackTrace`: boolean = true — Capture the stack trace of where this token is created.

- `typeHint`: [ResolutionTypeHint](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.ResolutionTypeHint.html) = ResolutionTypeHint.STRING — Type that this token is expected to evaluate to.
