Garret Harp
10/28/2021, 8:52 PMFrank
new MyStack(app, "my-stack", {
stackName: `$stage-my-stage`
});
Frank
Garret Harp
10/28/2021, 8:59 PMFrank
-> BackendStack
-> Resource StackI see.. I can’t image what this does
Frank
Garret Harp
10/28/2021, 9:05 PMGarret Harp
10/28/2021, 9:09 PMGarret Harp
10/28/2021, 9:33 PMGarret Harp
10/28/2021, 9:44 PMexport class NestedStack extends cdk.NestedStack {
public readonly stage: string;
public readonly defaultFunctionProps: sst.FunctionProps[];
constructor (scope: sst.Stack | NestedStack, id: string, props?: cdk.NestedStackProps) {
super(scope, id, props)
this.stage = scope.stage
this.defaultFunctionProps = scope.defaultFunctionProps
}
}
Doesn't fully implement all of what sst.Stack has but all that I needed personally, might have to work on a pr for adding in everything.Garret Harp
10/28/2021, 10:06 PMGarret Harp
10/28/2021, 10:10 PMMischa Spiegelmock
12/06/2021, 1:01 PM{}
) list of resources for my nested stack. Any idea what that’s about?Frank