# InspectorScanVariables

The CodePipeline variables emitted by the InspectorScan Action.

- Source: [`aws-codepipeline-actions/lib/inspector/scan-action-base.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-codepipeline-actions/lib/inspector/scan-action-base.ts#L10)
- Type last changed: v2.188.0 · 4 Apr 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `highestScannedSeverity`: string (required) — The highest severity output from the scan.

  Valid values are medium | high | critical.
