Interface ICfnThreatIntelSetProps
Properties for defining a CfnThreatIntelSet.
Namespace: Amazon.CDK.AWS.GuardDuty
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnThreatIntelSetProps
Syntax (vb)
Public Interface ICfnThreatIntelSetProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 cfnThreatIntelSetProps = new CfnThreatIntelSetProps {
Format = "format",
Location = "location",
// the properties below are optional
Activate = false,
DetectorId = "detectorId",
ExpectedBucketOwner = "expectedBucketOwner",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
| Activate | A boolean value that determines if GuardDuty can start using this list for custom threat detection. |
| DetectorId | The unique ID of the detector of the GuardDuty account for which you want to create a |
| ExpectedBucketOwner | The AWS account ID that owns the Amazon S3 bucket specified in the Location field. |
| Format | The format of the file that contains the |
| Location | The URI of the file that contains the ThreatIntelSet. |
| Name | The user-friendly name to identify the ThreatIntelSet. |
| Tags | The tags to be added to a new threat entity set resource. |
Properties
Activate
A boolean value that determines if GuardDuty can start using this list for custom threat detection.
object? Activate { get; }
Property Value
Remarks
For GuardDuty to be able to generate findings based on an activity associated with these entries, this list must be active.
Type union: either bool or IResolvable
DetectorId
The unique ID of the detector of the GuardDuty account for which you want to create a threatIntelSet .
string? DetectorId { get; }
Property Value
Remarks
To find the detectorId in the current Region, see the
Settings page in the GuardDuty console, or run the ListDetectors API.
ExpectedBucketOwner
The AWS account ID that owns the Amazon S3 bucket specified in the Location field.
string? ExpectedBucketOwner { get; }
Property Value
Remarks
When you provide this account ID, GuardDuty will validate that the S3 bucket belongs to this account. If you don't specify an account ID owner, GuardDuty doesn't perform any validation.
Format
The format of the file that contains the ThreatIntelSet .
string Format { get; }
Property Value
Remarks
For information about supported formats, see List formats in the Amazon GuardDuty User Guide .
Location
The URI of the file that contains the ThreatIntelSet.
string Location { get; }
Property Value
Remarks
Name
The user-friendly name to identify the ThreatIntelSet.
string? Name { get; }
Property Value
Remarks
The name of your list must be unique within an AWS account and Region. Valid characters are alphanumeric, whitespace, dash (-), and underscores (_).