Package io.dataspray.aws.cdk
Class SynthMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- io.dataspray.aws.cdk.AbstractCdkMojo
-
- io.dataspray.aws.cdk.SynthMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="synth", instantiationStrategy=PER_LOOKUP, defaultPhase=PACKAGE, requiresDependencyResolution=COMPILE_PLUS_RUNTIME) public class SynthMojo extends AbstractCdkMojo implements org.apache.maven.plugin.ContextEnabledSynthesizes CloudFormation templates for a CDK application.
-
-
Constructor Summary
Constructors Constructor Description SynthMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(Path cloudAssemblyDirectory, Optional<String> profileOpt)protected software.amazon.awscdk.cloudassembly.schema.AssemblyManifestsynthesize(String app, List<String> arguments, Path outputDirectory, EnvironmentResolver environmentResolver)-
Methods inherited from class io.dataspray.aws.cdk.AbstractCdkMojo
execute
-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-
-
-
Method Detail
-
execute
public void execute(Path cloudAssemblyDirectory, Optional<String> profileOpt)
- Specified by:
executein classAbstractCdkMojo
-
synthesize
protected software.amazon.awscdk.cloudassembly.schema.AssemblyManifest synthesize(String app, List<String> arguments, Path outputDirectory, EnvironmentResolver environmentResolver)
-
-