Class CfnThreatIntelSet

java.lang.Object
software.amazon.jsii.JsiiObject
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:57.175Z") @Stability(Stable) public class CfnThreatIntelSet extends CfnResource implements IInspectable
A CloudFormation AWS::GuardDuty::ThreatIntelSet.

The AWS::GuardDuty::ThreatIntelSet resource specifies a new ThreatIntelSet . A ThreatIntelSet consists of known malicious IP addresses. GuardDuty generates findings based on the ThreatIntelSet when it is activated.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.guardduty.*;
 CfnThreatIntelSet cfnThreatIntelSet = CfnThreatIntelSet.Builder.create(this, "MyCfnThreatIntelSet")
         .activate(false)
         .detectorId("detectorId")
         .format("format")
         .location("location")
         // the properties below are optional
         .name("name")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnThreatIntelSet

      protected CfnThreatIntelSet(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnThreatIntelSet

      protected CfnThreatIntelSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnThreatIntelSet

      @Stability(Stable) public CfnThreatIntelSet(@NotNull Construct scope, @NotNull String id, @NotNull CfnThreatIntelSetProps props)
      Create a new AWS::GuardDuty::ThreatIntelSet.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
      This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector -
      • tree inspector to collect and process attributes.
      This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      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 .

    • getActivate

      @Stability(Stable) @NotNull public Object getActivate()
      A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.
    • setActivate

      @Stability(Stable) public void setActivate(@NotNull Boolean value)
      A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.
    • setActivate

      @Stability(Stable) public void setActivate(@NotNull IResolvable value)
      A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.
    • getDetectorId

      @Stability(Stable) @NotNull public String getDetectorId()
      The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.
    • setDetectorId

      @Stability(Stable) public void setDetectorId(@NotNull String value)
      The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.
    • getFormat

      @Stability(Stable) @NotNull public String getFormat()
      The format of the file that contains the ThreatIntelSet.
    • setFormat

      @Stability(Stable) public void setFormat(@NotNull String value)
      The format of the file that contains the ThreatIntelSet.
    • getLocation

      @Stability(Stable) @NotNull public String getLocation()
      The URI of the file that contains the ThreatIntelSet.
    • setLocation

      @Stability(Stable) public void setLocation(@NotNull String value)
      The URI of the file that contains the ThreatIntelSet.
    • getName

      @Stability(Stable) @Nullable public String getName()
      A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.