# AutomationRulesActionProperty

One or more actions that AWS Security Hub CSPM takes when a finding matches the defined criteria of a rule.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as securityhub } from 'aws-cdk-lib';
const automationRulesActionProperty: securityhub.CfnAutomationRule.AutomationRulesActionProperty = {
  findingFieldsUpdate: {
    confidence: 123,
    criticality: 123,
    note: {
      text: 'text',
      updatedBy: 'updatedBy',
    },
    relatedFindings: [{
      id: 'id',
      productArn: 'productArn',
    }],
    severity: {
      label: 'label',
      normalized: 123,
      product: 123,
    },
    types: ['types'],
    userDefinedFields: {
      userDefinedFieldsKey: 'userDefinedFields',
    },
    verificationState: 'verificationState',
    workflow: {
      status: 'status',
    },
  },
  type: 'type',
};
```

## Properties

- `findingFieldsUpdate`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAutomationRule.AutomationRulesFindingFieldsUpdateProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_securityhub.CfnAutomationRule.AutomationRulesFindingFieldsUpdateProperty.html) (required) — Specifies that the automation rule action is an update to a finding field.

- `type`: string (required) — Specifies the type of action that Security Hub CSPM takes when a finding matches the defined criteria of a rule.
