AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::IoT::MitigationAction

CfnMitigationAction

Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. For API reference, see [CreateMitigationAction](https://docs.aws.amazon.com/iot/latest/apireference/API_CreateMitigationAction.html) and for general information, see [Mitigation actions](https://docs.aws.amazon.com/iot/latest/developerguide/dd-mitigation-actions.html) .

Import

import { CfnMitigationAction } from 'aws-cdk-lib/aws-iot';

Or use the module namespace:

import * as iot from 'aws-cdk-lib/aws-iot';
// iot.CfnMitigationAction

Properties

Configuration passed to the constructor as CfnMitigationActionProps.

actionParamsRequired
IResolvable | ActionParamsProperty

The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.

roleArnRequired
string

The IAM role ARN used to apply this mitigation action.

actionNameOptional
string

The friendly name of the mitigation action.

tagsOptional
CfnTag[]

Metadata that can be used to manage the mitigation action.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter