Interface CfnThreatEntitySetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnThreatEntitySetProps.Jsii$Proxy
CfnThreatEntitySet.
Example:
// 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.*;
CfnThreatEntitySetProps cfnThreatEntitySetProps = CfnThreatEntitySetProps.builder()
.format("format")
.location("location")
// the properties below are optional
.activate(false)
.detectorId("detectorId")
.expectedBucketOwner("expectedBucketOwner")
.name("name")
.tags(List.of(TagItemProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnThreatEntitySetPropsstatic final classAn implementation forCfnThreatEntitySetProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA boolean value that determines if GuardDuty can start using this list for custom threat detection.default StringThe unique regional detector ID of the GuardDuty account for which you want to create a threat entity set.default StringThe AWS account ID that owns the Amazon S3 bucket specified in the Location field.The format of the file that contains the threat entity set.The URI of the file that contains the threat entity set.default StringgetName()The user-friendly name to identify the threat entity set.default List<CfnThreatEntitySet.TagItemProperty> getTags()The tags to be added to a new threat entity set resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFormat
The format of the file that contains the threat entity set.For information about supported formats, see List formats in the Amazon GuardDuty User Guide .
- See Also:
-
getLocation
The URI of the file that contains the threat entity set.- See Also:
-
getActivate
A boolean value that determines if GuardDuty can start using this list for custom threat detection.For GuardDuty to consider the entries in this list and generate findings based on associated activity, this list must be active.
Returns union: either
BooleanorIResolvable- See Also:
-
getDetectorId
The unique regional detector ID of the GuardDuty account for which you want to create a threat entity set.To find the
detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- See Also:
-
getExpectedBucketOwner
The AWS account ID that owns the Amazon S3 bucket specified in the Location field.Whether or not you provide the account ID for this optional field, GuardDuty validates that the account ID associated with the
DetectorIdowns the S3 bucket in theLocationfield. If GuardDuty finds that this S3 bucket doesn't belong to the specified account ID, you will get an error at the time of activating this list.- See Also:
-
getName
The user-friendly name to identify the threat entity set.Valid characters are alphanumeric, whitespace, dash (-), and underscores (_).
- See Also:
-
getTags
The tags to be added to a new threat entity set resource.Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnThreatEntitySetProps.BuilderofCfnThreatEntitySetProps
-