Interface ICdkGraphPlugin.Jsii$Default
-
- All Superinterfaces:
ICdkGraphPlugin,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ICdkGraphPlugin.Jsii$Proxy
- Enclosing interface:
- ICdkGraphPlugin
@Internal public static interface ICdkGraphPlugin.Jsii$Default extends ICdkGraphPlugin
Internal default implementation forICdkGraphPlugin.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface software.aws.awsprototypingsdk.cdkgraph.ICdkGraphPlugin
ICdkGraphPlugin.Jsii$Default, ICdkGraphPlugin.Jsii$Proxy
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default IGraphPluginBindCallbackgetBind()(experimental) Binds the plugin to the CdkGraph instance.default List<String>getDependencies()(experimental) List of plugins this plugin depends on, including optional semver version (eg: ["foo", "bar@1.2"]).default StringgetId()(experimental) Unique identifier for this plugin.default IGraphVisitorCallbackgetInspect()(experimental) Node visitor callback for construct tree traversal.default IGraphReportCallbackgetReport()(experimental) Generate asynchronous reports based on the graph.default IGraphSynthesizeCallbackgetSynthesize()(experimental) Called during CDK synthesize to generate synchronous artifacts based on the in-memory graph passed to the plugin.default StringgetVersion()(experimental) Plugin version.default voidsetBind(IGraphPluginBindCallback value)(experimental) Binds the plugin to the CdkGraph instance.default voidsetInspect(IGraphVisitorCallback value)(experimental) Node visitor callback for construct tree traversal.default voidsetReport(IGraphReportCallback value)(experimental) Generate asynchronous reports based on the graph.default voidsetSynthesize(IGraphSynthesizeCallback value)(experimental) Called during CDK synthesize to generate synchronous artifacts based on the in-memory graph passed to the plugin.
-
-
-
Method Detail
-
getId
@Stability(Experimental) @NotNull default String getId()
(experimental) Unique identifier for this plugin.- Specified by:
getIdin interfaceICdkGraphPlugin
-
getVersion
@Stability(Experimental) @NotNull default String getVersion()
(experimental) Plugin version.- Specified by:
getVersionin interfaceICdkGraphPlugin
-
getDependencies
@Stability(Experimental) @Nullable default List<String> getDependencies()
(experimental) List of plugins this plugin depends on, including optional semver version (eg: ["foo", "bar@1.2"]).- Specified by:
getDependenciesin interfaceICdkGraphPlugin
-
getBind
@Stability(Experimental) @NotNull default IGraphPluginBindCallback getBind()
(experimental) Binds the plugin to the CdkGraph instance.Enables plugins to receive base configs.
- Specified by:
getBindin interfaceICdkGraphPlugin
-
setBind
@Stability(Experimental) default void setBind(@NotNull IGraphPluginBindCallback value)(experimental) Binds the plugin to the CdkGraph instance.Enables plugins to receive base configs.
- Specified by:
setBindin interfaceICdkGraphPlugin
-
getInspect
@Stability(Experimental) @Nullable default IGraphVisitorCallback getInspect()
(experimental) Node visitor callback for construct tree traversal.This follows IAspect.visit pattern, but the order of visitor traversal in managed by the CdkGraph.
- Specified by:
getInspectin interfaceICdkGraphPlugin
-
setInspect
@Stability(Experimental) default void setInspect(@Nullable IGraphVisitorCallback value)(experimental) Node visitor callback for construct tree traversal.This follows IAspect.visit pattern, but the order of visitor traversal in managed by the CdkGraph.
- Specified by:
setInspectin interfaceICdkGraphPlugin
-
getReport
@Stability(Experimental) @Nullable default IGraphReportCallback getReport()
(experimental) Generate asynchronous reports based on the graph.This is not automatically called when synthesizing CDK. Developer must explicitly add
await graphInstance.report()to the CDK bin or invoke this outside of the CDK synth. In either case, the plugin receives the in-memory graph interface when invoked, as the CdkGraph will deserialize the graph prior to invoking the plugin report.- Specified by:
getReportin interfaceICdkGraphPlugin
-
setReport
@Stability(Experimental) default void setReport(@Nullable IGraphReportCallback value)(experimental) Generate asynchronous reports based on the graph.This is not automatically called when synthesizing CDK. Developer must explicitly add
await graphInstance.report()to the CDK bin or invoke this outside of the CDK synth. In either case, the plugin receives the in-memory graph interface when invoked, as the CdkGraph will deserialize the graph prior to invoking the plugin report.- Specified by:
setReportin interfaceICdkGraphPlugin
-
getSynthesize
@Stability(Experimental) @Nullable default IGraphSynthesizeCallback getSynthesize()
(experimental) Called during CDK synthesize to generate synchronous artifacts based on the in-memory graph passed to the plugin.This is called in fifo order of plugins.
- Specified by:
getSynthesizein interfaceICdkGraphPlugin
-
setSynthesize
@Stability(Experimental) default void setSynthesize(@Nullable IGraphSynthesizeCallback value)(experimental) Called during CDK synthesize to generate synchronous artifacts based on the in-memory graph passed to the plugin.This is called in fifo order of plugins.
- Specified by:
setSynthesizein interfaceICdkGraphPlugin
-
-