Skip to content

Updates the mode of an existing custom detection rule association

Description

Updates the mode of an existing custom detection rule association.

Usage

guardduty_update_custom_detection_rule_association(RuleId,
  AssociationId, Mode)

Arguments

  • RuleId

[required] The unique identifier for the custom detection rule.

  • AssociationId

[required] The unique identifier for the association to update.

  • Mode

[required] The rule execution mode. Valid values: LIVE | DRY_RUN.

Value

An empty list.

Request syntax

svc$update_custom_detection_rule_association(
  RuleId = "string",
  AssociationId = "string",
  Mode = "LIVE"|"DRY_RUN"
)