Interface ICfnCustomDetectionRuleAssociationProps
Properties for defining a CfnCustomDetectionRuleAssociation.
Namespace: Amazon.CDK.AWS.GuardDuty
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnCustomDetectionRuleAssociationProps
Syntax (vb)
Public Interface ICfnCustomDetectionRuleAssociationProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GuardDuty;
var cfnCustomDetectionRuleAssociationProps = new CfnCustomDetectionRuleAssociationProps {
Mode = "mode",
RuleId = "ruleId",
// the properties below are optional
Tags = new [] { new TagItemProperty {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
| Mode | Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings). |
| RuleId | The catalog identifier of the custom detection rule to associate. |
| Tags | The tags applied to the association. |
Properties
Mode
Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).
string Mode { get; }
Property Value
Remarks
RuleId
The catalog identifier of the custom detection rule to associate.
string RuleId { get; }
Property Value
Remarks
Tags
The tags applied to the association.
CfnCustomDetectionRuleAssociation.ITagItemProperty[]? Tags { get; }