Interface InspectorSourceCodeScanActionProps
- All Superinterfaces:
CommonActionProps,CommonAwsActionProps,InspectorScanActionBaseProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
InspectorSourceCodeScanActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:07.296Z")
@Stability(Stable)
public interface InspectorSourceCodeScanActionProps
extends software.amazon.jsii.JsiiSerializable, InspectorScanActionBaseProps
Construction properties of the
InspectorSourceCodeScanAction.
Example:
Pipeline pipeline;
Artifact sourceOutput = new Artifact();
CodeStarConnectionsSourceAction sourceAction = CodeStarConnectionsSourceAction.Builder.create()
.actionName("CodeStarConnectionsSourceAction")
.output(sourceOutput)
.connectionArn("your-connection-arn")
.owner("your-owner")
.repo("your-repo")
.build();
Artifact scanOutput = new Artifact();
InspectorSourceCodeScanAction scanAction = InspectorSourceCodeScanAction.Builder.create()
.actionName("InspectorSourceCodeScanAction")
.input(sourceOutput)
.output(scanOutput)
.build();
pipeline.addStage(StageOptions.builder()
.stageName("Source")
.actions(List.of(sourceAction))
.build());
pipeline.addStage(StageOptions.builder()
.stageName("Scan")
.actions(List.of(scanAction))
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forInspectorSourceCodeScanActionPropsstatic final classAn implementation forInspectorSourceCodeScanActionProps -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.codepipeline.CommonActionProps
getActionName, getRunOrder, getVariablesNamespaceMethods inherited from interface software.amazon.awscdk.services.codepipeline.CommonAwsActionProps
getRoleMethods inherited from interface software.amazon.awscdk.services.codepipeline.actions.InspectorScanActionBaseProps
getCriticalThreshold, getHighThreshold, getLowThreshold, getMediumThreshold, getOutputMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInput
The source code to scan for vulnerabilities. -
builder
-