# ScanSettingResourceTypeProperty

- Source: Generated at build time
- Type last changed: v2.237.0 · 2 Feb 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_backup as backup } from 'aws-cdk-lib';
const scanSettingResourceTypeProperty: backup.CfnBackupPlan.ScanSettingResourceTypeProperty = {
  malwareScanner: 'malwareScanner',
  resourceTypes: ['resourceTypes'],
  scannerRoleArn: 'scannerRoleArn',
};
```

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_backup as backup

scan_setting_resource_type_property = backup.CfnBackupPlan.ScanSettingResourceTypeProperty(
    malware_scanner="malwareScanner",
    resource_types=["resourceTypes"],
    scanner_role_arn="scannerRoleArn"
)
```

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.backup.*;

ScanSettingResourceTypeProperty scanSettingResourceTypeProperty = ScanSettingResourceTypeProperty.builder()
        .malwareScanner("malwareScanner")
        .resourceTypes(List.of("resourceTypes"))
        .scannerRoleArn("scannerRoleArn")
        .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.Backup;

var scanSettingResourceTypeProperty = new ScanSettingResourceTypeProperty {
    MalwareScanner = "malwareScanner",
    ResourceTypes = new [] { "resourceTypes" },
    ScannerRoleArn = "scannerRoleArn"
};
```

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"

scanSettingResourceTypeProperty := &ScanSettingResourceTypeProperty{
	MalwareScanner: jsii.String("malwareScanner"),
	ResourceTypes: []*string{
		jsii.String("resourceTypes"),
	},
	ScannerRoleArn: jsii.String("scannerRoleArn"),
}
```

## Properties

- `malwareScanner`: string

- `resourceTypes`: string[]

- `scannerRoleArn`: string
