Class CfnThreatEntitySetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnThreatEntitySetPropsMixin>
- Enclosing class:
CfnThreatEntitySetPropsMixin
CfnThreatEntitySetPropsMixin.-
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()create()create(CfnPropertyMixinOptions options) detectorId(String detectorId) The unique regional detector ID of the GuardDuty account for which you want to create a threat entity set.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 the threat entity set.The URI of the file that contains the threat entity set.The user-friendly name to identify the threat entity set.tags(List<? extends CfnThreatEntitySetPropsMixin.TagItemProperty> tags) The tags to be added to a new threat entity set resource.
-
Method Details
-
create
@Stability(Stable) public static CfnThreatEntitySetPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnThreatEntitySetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnThreatEntitySetPropsMixin.Builder.
-
activate
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.
- 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 consider the entries in this list and generate findings based on associated activity, 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 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.- Parameters:
detectorId- The unique regional detector ID of the GuardDuty account for which you want to create a threat entity set. This parameter is required.- Returns:
this- See Also:
-
expectedBucketOwner
@Stability(Stable) public CfnThreatEntitySetPropsMixin.Builder expectedBucketOwner(String expectedBucketOwner) 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.- 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:
-
format
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 .
- Parameters:
format- The format of the file that contains the threat entity set. This parameter is required.- Returns:
this- See Also:
-
location
The URI of the file that contains the threat entity set.- Parameters:
location- The URI of the file that contains the threat entity set. This parameter is required.- Returns:
this- See Also:
-
name
The user-friendly name to identify the threat entity set.Valid characters are alphanumeric, whitespace, dash (-), and underscores (_).
- Parameters:
name- The user-friendly name to identify the threat entity set. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnThreatEntitySetPropsMixin.Builder tags(List<? extends CfnThreatEntitySetPropsMixin.TagItemProperty> 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnThreatEntitySetPropsMixin>- Returns:
- a newly built instance of
CfnThreatEntitySetPropsMixin.
-