CfnCustomDetectionRuleAssociationMixinProps

class aws_cdk.cfn_property_mixins.aws_guardduty.CfnCustomDetectionRuleAssociationMixinProps(*, mode=None, rule_id=None, tags=None)

Bases: object

Properties for CfnCustomDetectionRuleAssociationPropsMixin.

Parameters:
  • mode (Optional[str]) – Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).

  • rule_id (Optional[str]) – The catalog identifier of the custom detection rule to associate.

  • tags (Optional[Sequence[Union[TagItemProperty, Dict[str, Any]]]]) – The tags applied to the association.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-customdetectionruleassociation.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_guardduty as guardduty

cfn_custom_detection_rule_association_mixin_props = guardduty.CfnCustomDetectionRuleAssociationMixinProps(
    mode="mode",
    rule_id="ruleId",
    tags=[guardduty.CfnCustomDetectionRuleAssociationPropsMixin.TagItemProperty(
        key="key",
        value="value"
    )]
)

Attributes

mode

Whether the rule runs in LIVE mode (generates findings) or DRY_RUN mode (evaluates without generating findings).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-customdetectionruleassociation.html#cfn-guardduty-customdetectionruleassociation-mode

rule_id

The catalog identifier of the custom detection rule to associate.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-customdetectionruleassociation.html#cfn-guardduty-customdetectionruleassociation-ruleid

tags

The tags applied to the association.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-customdetectionruleassociation.html#cfn-guardduty-customdetectionruleassociation-tags