Class CfnThreatIntelSet.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnThreatIntelSet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThreatIntelSet>
- Enclosing class:
CfnThreatIntelSet
@Stability(Stable)
public static final class CfnThreatIntelSet.Builder
extends Object
implements software.amazon.jsii.Builder<CfnThreatIntelSet>
A fluent builder for
CfnThreatIntelSet
.-
Method Summary
Modifier and TypeMethodDescriptionA Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.activate
(IResolvable activate) A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.build()
static CfnThreatIntelSet.Builder
detectorId
(String detectorId) The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.The format of the file that contains the ThreatIntelSet.The URI of the file that contains the ThreatIntelSet.A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.The tags to be added to a new threat list resource.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnThreatIntelSet.Builder
.
-
activate
A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.- Parameters:
activate
- A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet. This parameter is required.- Returns:
this
-
activate
A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.- Parameters:
activate
- A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet. This parameter is required.- Returns:
this
-
detectorId
The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.- Parameters:
detectorId
- The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for. This parameter is required.- Returns:
this
-
format
The format of the file that contains the ThreatIntelSet.- Parameters:
format
- The format of the file that contains the ThreatIntelSet. This parameter is required.- Returns:
this
-
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
-
name
A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.- Parameters:
name
- A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet. This parameter is required.- Returns:
this
-
tags
The tags to be added to a new threat list 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 list resource. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnThreatIntelSet>
- Returns:
- a newly built instance of
CfnThreatIntelSet
.
-