# ExportValueOptions

Options for the `stack.exportValue()` method.

- Source: [`core/lib/stack.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/core/lib/stack.ts#L1921)
- Type last changed: v2.131.0 · 1 Mar 2024

## Example

```ts
declare const stack: Stack;

stack.exportValue(myBucket.bucketName, {
  name: 'TheAwesomeBucket',
  description: 'The name of an S3 bucket',
});
```

## Properties

- `description`: string — The description of the outputs.

  **Default:** No description

- `name`: string — The name of the export to create.

  **Default:** A name is automatically chosen
