interface CfnCustomDetectionRuleAssociationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.GuardDuty.CfnCustomDetectionRuleAssociationProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsguardduty#CfnCustomDetectionRuleAssociationProps |
Java | software.amazon.awscdk.services.guardduty.CfnCustomDetectionRuleAssociationProps |
Python | aws_cdk.aws_guardduty.CfnCustomDetectionRuleAssociationProps |
TypeScript | aws-cdk-lib » aws_guardduty » CfnCustomDetectionRuleAssociationProps |
Properties for defining a CfnCustomDetectionRuleAssociation.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_guardduty as guardduty } from 'aws-cdk-lib';
const cfnCustomDetectionRuleAssociationProps: guardduty.CfnCustomDetectionRuleAssociationProps = {
mode: 'mode',
ruleId: 'ruleId',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| mode | string | Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings). |
| rule | string | The catalog identifier of the custom detection rule to associate. |
| tags? | Tag[] | The tags applied to the association. |
mode
Type:
string
Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).
ruleId
Type:
string
The catalog identifier of the custom detection rule to associate.
tags?
Type:
Tag[]
(optional)
The tags applied to the association.

.NET
Go
Java
Python
TypeScript