Class CfnThreatIntelSet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThreatIntelSet>
- Enclosing class:
CfnThreatIntelSet
CfnThreatIntelSet
.-
Method Summary
Modifier and TypeMethodDescriptionA boolean value that determines if GuardDuty can start using this list for custom threat detection.activate
(IResolvable activate) A boolean value that determines if GuardDuty can start using this list for custom threat detection.build()
static CfnThreatIntelSet.Builder
detectorId
(String detectorId) The unique ID of the detector of the GuardDuty account for which you want to create athreatIntelSet
.expectedBucketOwner
(String expectedBucketOwner) The AWS account ID that owns the Amazon S3 bucket specified in the Location field.The format of the file that contains theThreatIntelSet
.The URI of the file that contains the ThreatIntelSet.The user-friendly name to identify the ThreatIntelSet.The tags to be added to a new threat entity set resource.
-
Method Details
-
create
@Stability(Stable) public static CfnThreatIntelSet.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnThreatIntelSet.Builder
.
-
format
The format of the file that contains theThreatIntelSet
.For information about supported formats, see List formats in the Amazon GuardDuty User Guide .
- Parameters:
format
- The format of the file that contains theThreatIntelSet
. This parameter is required.- Returns:
this
- See Also:
-
location
The URI of the file that contains the ThreatIntelSet.- Parameters:
location
- The URI of the file that contains the ThreatIntelSet. This parameter is required.- Returns:
this
- See Also:
-
activate
A boolean value that determines if GuardDuty can start using this list for custom threat detection.For GuardDuty to be able to generate findings based on an activity associated with these entries, this list must be active.
- Parameters:
activate
- A boolean value that determines if GuardDuty can start using this list for custom threat detection. This parameter is required.- Returns:
this
- See Also:
-
activate
A boolean value that determines if GuardDuty can start using this list for custom threat detection.For GuardDuty to be able to generate findings based on an activity associated with these entries, this list must be active.
- Parameters:
activate
- A boolean value that determines if GuardDuty can start using this list for custom threat detection. This parameter is required.- Returns:
this
- See Also:
-
detectorId
The unique ID of the detector of the GuardDuty account for which you want to create athreatIntelSet
.To find the
detectorId
in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.- Parameters:
detectorId
- The unique ID of the detector of the GuardDuty account for which you want to create athreatIntelSet
. This parameter is required.- Returns:
this
- See Also:
-
expectedBucketOwner
The AWS account ID that owns the Amazon S3 bucket specified in the Location field.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.
- Parameters:
expectedBucketOwner
- The AWS account ID that owns the Amazon S3 bucket specified in the Location field. This parameter is required.- Returns:
this
- See Also:
-
name
The user-friendly name to identify the ThreatIntelSet.The name of your list must be unique within an AWS account and Region. Valid characters are alphanumeric, whitespace, dash (-), and underscores (_).
- Parameters:
name
- The user-friendly name to identify the ThreatIntelSet. This parameter is required.- Returns:
this
- See Also:
-
tags
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 .
- Parameters:
tags
- The tags to be added to a new threat entity set resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnThreatIntelSet>
- Returns:
- a newly built instance of
CfnThreatIntelSet
.
-