class CfnThreatEntitySetPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Mixins.CfnThreatEntitySetPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsguardduty/mixins#CfnThreatEntitySetPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.guardduty.mixins.CfnThreatEntitySetPropsMixin |
Python | aws_cdk.mixins_preview.aws_guardduty.mixins.CfnThreatEntitySetPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_guardduty » mixins » CfnThreatEntitySetPropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::GuardDuty::ThreatEntitySet resource helps you create a list of known malicious IP addresses and domain names in your AWS environment.
Once you activate this list, GuardDuty will use the entries in this list as an additional source of threat detection and generate findings when there is an activity associated with these known malicious IP addresses and domain names. GuardDuty continues to monitor independently of this custom threat entity set.
Only the users of the GuardDuty administrator account can manage this list. These settings automatically apply to the member accounts.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as guardduty_mixins } from '@aws-cdk/mixins-preview/aws-guardduty';
const cfnThreatEntitySetPropsMixin = new guardduty_mixins.CfnThreatEntitySetPropsMixin({
activate: false,
detectorId: 'detectorId',
expectedBucketOwner: 'expectedBucketOwner',
format: 'format',
location: 'location',
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnThreatEntitySetPropsMixin(props: CfnThreatEntitySetMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Threat Entity Set Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::GuardDuty::ThreatEntitySet.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript