-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
import { Construct } from 'constructs'; | ||
import { PloneBackend, PloneBackendOptions } from './backend'; | ||
import { PloneFrontend, PloneFrontendOptions } from './frontend'; | ||
|
||
export interface PloneOptions { | ||
readonly frontend?: PloneFrontendOptions; | ||
readonly backend?: PloneBackendOptions; | ||
} | ||
|
||
export class Plone extends Construct { | ||
|
||
constructor(scope: Construct, id: string, options: PloneOptions = {}) { | ||
super(scope, id); | ||
const frontendOptions = options.frontend ?? {}; | ||
const backendOptions = options.backend ?? {}; | ||
new PloneBackend(this, 'backend', backendOptions); | ||
new PloneFrontend(this, 'frontend', frontendOptions); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.