Skip to content
v2.278.0

InspectorScanVariables Struct ​

The CodePipeline variables emitted by the InspectorScan Action.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline_actions as codepipeline_actions } from 'aws-cdk-lib';
const inspectorScanVariables: codepipeline_actions.InspectorScanVariables = {
  highestScannedSeverity: 'highestScannedSeverity',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codepipeline_actions as codepipeline_actions

inspector_scan_variables = codepipeline_actions.InspectorScanVariables(
    highest_scanned_severity="highestScannedSeverity"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codepipeline.actions.*;

InspectorScanVariables inspectorScanVariables = InspectorScanVariables.builder()
        .highestScannedSeverity("highestScannedSeverity")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodePipeline.Actions;

var inspectorScanVariables = new InspectorScanVariables {
    HighestScannedSeverity = "highestScannedSeverity"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

inspectorScanVariables := &InspectorScanVariables{
	HighestScannedSeverity: jsii.String("highestScannedSeverity"),
}

Properties ​

highestScannedSeveritystringhighest_scanned_severitystrhighestScannedSeverityStringHighestScannedSeveritystringHighestScannedSeverity*string required #
The highest severity output from the scan.

Valid values are medium | high | critical.