CFNScanEc2InstanceWithFindingsConfigurationProperty Struct
Describes whether Malware Protection for EC2 instances with findings will be enabled as a data source.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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
// 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
ebsVolumesoptionalboolean | IResolvableebs_volumesoptionaltyping.Union[bool, IResolvable]ebsVolumesoptionalBooleanEbsVolumesoptionalboolEbsVolumesoptionalinterface{} #Describes the configuration for scanning EBS volumes as data source.