# CFNScanEc2InstanceWithFindingsConfigurationProperty

Struct · External

Describes whether Malware Protection for EC2 instances with findings will be enabled as a data source.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_guardduty as guardduty } from 'aws-cdk-lib';
const cFNScanEc2InstanceWithFindingsConfigurationProperty: guardduty.CfnDetector.CFNScanEc2InstanceWithFindingsConfigurationProperty = {
  ebsVolumes: false,
};
```

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_guardduty as guardduty

c_fn_scan_ec2_instance_with_findings_configuration_property = guardduty.CfnDetector.CFNScanEc2InstanceWithFindingsConfigurationProperty(
    ebs_volumes=False
)
```

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

CFNScanEc2InstanceWithFindingsConfigurationProperty cFNScanEc2InstanceWithFindingsConfigurationProperty = CFNScanEc2InstanceWithFindingsConfigurationProperty.builder()
        .ebsVolumes(false)
        .build();
```

C#:

```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.GuardDuty;

var cFNScanEc2InstanceWithFindingsConfigurationProperty = new CFNScanEc2InstanceWithFindingsConfigurationProperty {
    EbsVolumes = false
};
```

Go:

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

cFNScanEc2InstanceWithFindingsConfigurationProperty := &CFNScanEc2InstanceWithFindingsConfigurationProperty{
	EbsVolumes: jsii.Boolean(false),
}
```

## Properties

- `ebsVolumes`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Describes the configuration for scanning EBS volumes as data source.
