Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion src/stackset-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ export class StackSetStackSynthesizer extends StackSynthesizer {
}
}

/**
* Properties for a StackSet Deployment. Subset of normal Stack properties.
*/
interface StackSetStackProps {
Comment thread
arrjay marked this conversation as resolved.
readonly analyticsReporting?: boolean;
readonly description?: string;
readonly tags?: { [key: string]: string };
}

/**
* A StackSet stack, which is similar to a normal CloudFormation stack with
Expand All @@ -49,9 +57,10 @@ export class StackSetStack extends Stack {
public readonly templateFile: string;
private _templateUrl?: string;
private _parentStack: Stack;
constructor(scope: Construct, id: string) {
constructor(scope: Construct, id: string, props: StackSetStackProps) {
Comment thread
kaizencc marked this conversation as resolved.
Outdated
super(scope, id, {
synthesizer: new StackSetStackSynthesizer(),
...props,
});

this._parentStack = findParentStack(scope);
Expand Down