Skip to content
v2.278.0

ScanActionResourceTypeProperty Struct ​

Example ​

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 scanActionResourceTypeProperty: backup.CfnBackupPlan.ScanActionResourceTypeProperty = {
  malwareScanner: 'malwareScanner',
  scanMode: 'scanMode',
};
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_action_resource_type_property = backup.CfnBackupPlan.ScanActionResourceTypeProperty(
    malware_scanner="malwareScanner",
    scan_mode="scanMode"
)
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.*;

ScanActionResourceTypeProperty scanActionResourceTypeProperty = ScanActionResourceTypeProperty.builder()
        .malwareScanner("malwareScanner")
        .scanMode("scanMode")
        .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.Backup;

var scanActionResourceTypeProperty = new ScanActionResourceTypeProperty {
    MalwareScanner = "malwareScanner",
    ScanMode = "scanMode"
};
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"

scanActionResourceTypeProperty := &ScanActionResourceTypeProperty{
	MalwareScanner: jsii.String("malwareScanner"),
	ScanMode: jsii.String("scanMode"),
}

Properties ​

malwareScanneroptionalstringmalware_scanneroptionalstrmalwareScanneroptionalStringMalwareScanneroptionalstringMalwareScanneroptional*string #
scanModeoptionalstringscan_modeoptionalstrscanModeoptionalStringScanModeoptionalstringScanModeoptional*string #