Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bug not firing nested stack for ssm paramter creation #1214

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Changes from all commits
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
6 changes: 3 additions & 3 deletions packages/prerender-fargate/lib/recaching/prerender-tokens.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Stack, StackProps } from "aws-cdk-lib";
import { NestedStack, NestedStackProps } from "aws-cdk-lib";
import { Construct } from "constructs";
import { StringListParameter } from "aws-cdk-lib/aws-ssm";

Expand All @@ -12,7 +12,7 @@ interface TokenUrlAssociation {
/**
* Interface for associating a token with a URL for prerendering.
*/
export interface PrerenderTokenUrlAssociationOptions extends StackProps {
export interface PrerenderTokenUrlAssociationOptions extends NestedStackProps {
/**
* Object containing the token and its associated URL.
* ### Example
Expand Down Expand Up @@ -42,7 +42,7 @@ export interface PrerenderTokenUrlAssociationOptions extends StackProps {
* The constructor loops through the tokenUrlAssociation object and
* creates an SSM parameter for each token.
*/
export class PrerenderTokenUrlAssociation extends Stack {
export class PrerenderTokenUrlAssociation extends NestedStack {
constructor(
scope: Construct,
id: string,
Expand Down
Loading