Stack

object Stack
Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[A](id: Option[String], props: Option[StackProps])(resources: Stack => A)(implicit appCtx: App): Stack

Create an anonymous instance of a custom stack.

Create an anonymous instance of a custom stack.

Type Params
A

Result of initializing stack resources.

Value Params
appCtx

CDK app context.

id

Optional stack ID.

props

Optional stack properties.

resources

Function for initializing stack resources.

Returns

CDK stack.