export function addSARMetadata()

in lib/metadata-util.ts [3:17]


export function addSARMetadata(stack: cdk.Stack) {
  const metadata = {
    "AWS::ServerlessRepo::Application": {
      Name: "AuthenticatedStaticSite",
      Description:
        "Publish content of a GitHub repo to a static site hosted on S3/CloudFront and enforce Cognito authentication to access it.",
      Author: "Otto Kruse and Jerome Pasini",
      LicenseUrl: "LICENSE",
      ReadmeUrl: "README.md",
      SemanticVersion: "1.0.2",
      SourceCodeUrl: "https://github.com/aws-samples/authenticated-static-site",
    },
  };
  stack.templateOptions.metadata = metadata;
}