@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:36.502Z") public class CfnThreatIntelSet extends CfnResource implements IInspectable
The AWS::GuardDuty::ThreatIntelSet
resource specifies a new ThreatIntelSet
. A ThreatIntelSet
consists of known malicious IP addresses. 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();
Modifier and Type | Class and Description |
---|---|
static class |
CfnThreatIntelSet.Builder
A fluent builder for
CfnThreatIntelSet . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnThreatIntelSet(Construct scope,
java.lang.String id,
CfnThreatIntelSetProps props)
Create a new `AWS::GuardDuty::ThreatIntelSet`.
|
protected |
CfnThreatIntelSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnThreatIntelSet(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getActivate()
A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDetectorId()
The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.
|
java.lang.String |
getFormat()
The format of the file that contains the ThreatIntelSet.
|
java.lang.String |
getLocation()
The URI of the file that contains the ThreatIntelSet.
|
java.lang.String |
getName()
A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.
|
TagManager |
getTags()
The tags to be added to a new threat list resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setActivate(java.lang.Boolean value)
A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.
|
void |
setActivate(IResolvable value)
A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.
|
void |
setDetectorId(java.lang.String value)
The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.
|
void |
setFormat(java.lang.String value)
The format of the file that contains the ThreatIntelSet.
|
void |
setLocation(java.lang.String value)
The URI of the file that contains the ThreatIntelSet.
|
void |
setName(java.lang.String value)
A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnThreatIntelSet(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnThreatIntelSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnThreatIntelSet(Construct scope, java.lang.String id, CfnThreatIntelSetProps props)
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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
public java.lang.Object getActivate()
public void setActivate(java.lang.Boolean value)
public void setActivate(IResolvable value)
public java.lang.String getDetectorId()
public void setDetectorId(java.lang.String value)
public java.lang.String getFormat()
public void setFormat(java.lang.String value)
public java.lang.String getLocation()
public void setLocation(java.lang.String value)
public java.lang.String getName()
public void setName(java.lang.String value)