interface ExportValueOptions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.ExportValueOptions |
Go | github.com/aws/aws-cdk-go/awscdk/v2#ExportValueOptions |
Java | software.amazon.awscdk.ExportValueOptions |
Python | aws_cdk.ExportValueOptions |
TypeScript (source) | aws-cdk-lib » ExportValueOptions |
Options for the stack.exportValue() method.
Example
declare const stack: Stack;
stack.exportValue(myBucket.bucketName, {
name: 'TheAwesomeBucket',
description: 'The name of an S3 bucket',
});
Properties
| Name | Type | Description |
|---|---|---|
| description? | string | The description of the outputs. |
| name? | string | The name of the export to create. |
description?
Type:
string
(optional, default: No description)
The description of the outputs.
name?
Type:
string
(optional, default: A name is automatically chosen)
The name of the export to create.

.NET
Go
Java
Python
TypeScript (