@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:35.425Z") @Stability(value=Stable) 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. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnThreatIntelSet(Construct scope,
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 |
|---|---|
Object |
getActivate()
A Boolean value that indicates whether GuardDuty is to start using the uploaded ThreatIntelSet.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDetectorId()
The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.
|
String |
getFormat()
The format of the file that contains the ThreatIntelSet.
|
String |
getLocation()
The URI of the file that contains the ThreatIntelSet.
|
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 Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setActivate(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(String value)
The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.
|
void |
setFormat(String value)
The format of the file that contains the ThreatIntelSet.
|
void |
setLocation(String value)
The URI of the file that contains the ThreatIntelSet.
|
void |
setName(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, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnThreatIntelSet(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnThreatIntelSet(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnThreatIntelSet(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
@Stability(value=Stable) @NotNull public Object getActivate()
@Stability(value=Stable)
public void setActivate(@NotNull
Boolean value)
@Stability(value=Stable)
public void setActivate(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getDetectorId()
@Stability(value=Stable)
public void setDetectorId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getFormat()
@Stability(value=Stable)
public void setFormat(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getLocation()
@Stability(value=Stable)
public void setLocation(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getName()
@Stability(value=Stable)
public void setName(@Nullable
String value)
Copyright © 2022. All rights reserved.