aws-cdk-lib.ExportValueOptions

interface ExportValueOptions

LanguageType name
.NETAmazon.CDK.ExportValueOptions
Gogithub.com/aws/aws-cdk-go/awscdk/v2#ExportValueOptions
Javasoftware.amazon.awscdk.ExportValueOptions
Pythonaws_cdk.ExportValueOptions
TypeScript (source)aws-cdk-lib » ExportValueOptions

Options for the stack.exportValue() method.

Example

// 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 exportValueOptions: cdk.ExportValueOptions = {
  name: 'name',
};

Properties

NameTypeDescription
name?stringThe name of the export to create.

name?

Type: string (optional, default: A name is automatically chosen)

The name of the export to create.