Class CfnThreatEntitySet

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

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-08-20T12:34:44.043Z") @Stability(Stable) public class CfnThreatEntitySet extends CfnResource implements IInspectable, ITaggableV2
Resource Type definition for AWS::GuardDuty::ThreatEntitySet.

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.*;
 CfnThreatEntitySet cfnThreatEntitySet = CfnThreatEntitySet.Builder.create(this, "MyCfnThreatEntitySet")
         .format("format")
         .location("location")
         // the properties below are optional
         .activate(false)
         .detectorId("detectorId")
         .expectedBucketOwner("expectedBucketOwner")
         .name("name")
         .tags(List.of(TagItemProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • 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

    • CfnThreatEntitySet

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

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

      @Stability(Stable) public CfnThreatEntitySet(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnThreatEntitySetProps props)
      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.
      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.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
    • getAttrErrorDetails

      @Stability(Stable) @NotNull public String getAttrErrorDetails()
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
    • getAttrUpdatedAt

      @Stability(Stable) @NotNull public String getAttrUpdatedAt()
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

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

      @Stability(Stable) @NotNull public String getFormat()
    • setFormat

      @Stability(Stable) public void setFormat(@NotNull String value)
    • getLocation

      @Stability(Stable) @NotNull public String getLocation()
    • setLocation

      @Stability(Stable) public void setLocation(@NotNull String value)
    • getActivate

      @Stability(Stable) @Nullable public Object getActivate()
    • setActivate

      @Stability(Stable) public void setActivate(@Nullable Boolean value)
    • setActivate

      @Stability(Stable) public void setActivate(@Nullable IResolvable value)
    • getDetectorId

      @Stability(Stable) @Nullable public String getDetectorId()
    • setDetectorId

      @Stability(Stable) public void setDetectorId(@Nullable String value)
    • getExpectedBucketOwner

      @Stability(Stable) @Nullable public String getExpectedBucketOwner()
    • setExpectedBucketOwner

      @Stability(Stable) public void setExpectedBucketOwner(@Nullable String value)
    • getName

      @Stability(Stable) @Nullable public String getName()
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
    • getTags

      @Stability(Stable) @Nullable public List<CfnThreatEntitySet.TagItemProperty> getTags()
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnThreatEntitySet.TagItemProperty> value)