Class PDKNagApp
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- software.amazon.awscdk.Stage
-
- software.amazon.awscdk.App
-
- software.aws.awsprototypingsdk.pdknag.PDKNagApp
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-02-01T23:43:16.033Z") @Stability(Stable) public class PDKNagApp extends software.amazon.awscdk.App
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPDKNagApp.BuilderA fluent builder forPDKNagApp.
-
Constructor Summary
Constructors Modifier Constructor Description PDKNagApp()protectedPDKNagApp(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedPDKNagApp(software.amazon.jsii.JsiiObjectRef objRef)PDKNagApp(PDKNagAppProps props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNagResult(NagResult result)List<io.github.cdklabs.cdknag.NagPack>getNagPacks()List<NagResult>nagResults()Returns a list of NagResult.software.amazon.awscdk.cxapi.CloudAssemblysynth()Synthesize this stage into a cloud assembly.software.amazon.awscdk.cxapi.CloudAssemblysynth(software.amazon.awscdk.StageSynthesisOptions options)Synthesize this stage into a cloud assembly.-
Methods inherited from class software.amazon.awscdk.Stage
getAccount, getArtifactId, getAssetOutdir, getOutdir, getParentStage, getRegion, getStageName, isStage, of
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
PDKNagApp
protected PDKNagApp(software.amazon.jsii.JsiiObjectRef objRef)
-
PDKNagApp
protected PDKNagApp(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
PDKNagApp
@Stability(Stable) public PDKNagApp(@Nullable PDKNagAppProps props)- Parameters:
props-
-
PDKNagApp
@Stability(Stable) public PDKNagApp()
-
-
Method Detail
-
addNagResult
@Stability(Stable) public void addNagResult(@NotNull NagResult result)- Parameters:
result- This parameter is required.
-
nagResults
@Stability(Stable) @NotNull public List<NagResult> nagResults()
Returns a list of NagResult.Note: app.synth() must be called before this to retrieve results.
-
synth
@Stability(Stable) @NotNull public software.amazon.awscdk.cxapi.CloudAssembly synth(@Nullable software.amazon.awscdk.StageSynthesisOptions options)Synthesize this stage into a cloud assembly.Once an assembly has been synthesized, it cannot be modified. Subsequent calls will return the same assembly.
- Overrides:
synthin classsoftware.amazon.awscdk.Stage- Parameters:
options-
-
synth
@Stability(Stable) @NotNull public software.amazon.awscdk.cxapi.CloudAssembly synth()
Synthesize this stage into a cloud assembly.Once an assembly has been synthesized, it cannot be modified. Subsequent calls will return the same assembly.
- Overrides:
synthin classsoftware.amazon.awscdk.Stage
-
getNagPacks
@Stability(Stable) @NotNull public List<io.github.cdklabs.cdknag.NagPack> getNagPacks()
-
-