Stacktape
Stacktape


AWS CDK Construct

This example shows a basic aws cdk construct configuration.

Basic example

resources:
myAwsCdkConstruct:
type: aws-cdk-construct
properties:
# Path to file where construct resides
#
# Currently `.js` and `.ts` files are supported
#
# - Type: string
# - Required: true
entryfilePath: ./src/index.ts
# Name of the export (construct class)
#
# If export name is not provided, Stacktape will attempt to import "default" export
#
# - Type: string
# - Required: false
exportName: myExportName
# Object that will be passed as construct props
#
# Properties passed on to Construct's constructor
#
# - Required: false

Contents

  •  Basic example