ExportValueOptions

class aws_cdk.ExportValueOptions(*, description=None, name=None)

Bases: object

Options for the stack.exportValue() method.

Parameters:
  • description (Optional[str]) – The description of the outputs. Default: - No description

  • name (Optional[str]) – The name of the export to create. Default: - A name is automatically chosen

ExampleMetadata:

infused

Example:

# stack: Stack


stack.export_value(my_bucket.bucket_name,
    name="TheAwesomeBucket",
    description="The name of an S3 bucket"
)

Attributes

description

The description of the outputs.

Default:
  • No description

name

The name of the export to create.

Default:
  • A name is automatically chosen