Class CfnThreatIntelSetProps
Properties for defining a CfnThreatIntelSet
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.GuardDuty
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnThreatIntelSetProps : ICfnThreatIntelSetProps
Syntax (vb)
Public Class CfnThreatIntelSetProps Implements 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
Constructors
CfnThreatIntelSetProps() | Properties for defining a |
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. |
Constructors
CfnThreatIntelSetProps()
Properties for defining a CfnThreatIntelSet
.
public CfnThreatIntelSetProps()
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"
} }
};
Properties
Activate
A boolean value that determines if GuardDuty can start using this list for custom threat detection.
public object? Activate { get; set; }
Property Value
Remarks
For GuardDuty to be able to generate findings based on an activity associated with these entries, this list must be active.
DetectorId
The unique ID of the detector of the GuardDuty account for which you want to create a threatIntelSet
.
public string? DetectorId { get; set; }
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.
public string? ExpectedBucketOwner { get; set; }
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
.
public string Format { get; set; }
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.
public string Location { get; set; }
Property Value
Remarks
Name
The user-friendly name to identify the ThreatIntelSet.
public string? Name { get; set; }
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 (_).
Tags
The tags to be added to a new threat entity set resource.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .