Skip to content
v2.273.0

CfnCustomDetectionRuleAssociationProps Struct ​

Properties for defining a CfnCustomDetectionRuleAssociation.

Example ​

ts
// 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 ​

modestringmodestrmodeStringModestringMode*stringrequired#
Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).
ruleIdstringrule_idstrruleIdStringRuleIdstringRuleId*stringrequired#
The catalog identifier of the custom detection rule to associate.
The tags applied to the association.

Used as props by ​