interface CfnMitigationActionProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoT.CfnMitigationActionProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnMitigationActionProps |
![]() | software.amazon.awscdk.services.iot.CfnMitigationActionProps |
![]() | aws_cdk.aws_iot.CfnMitigationActionProps |
![]() | aws-cdk-lib » aws_iot » CfnMitigationActionProps |
Properties for defining a CfnMitigationAction
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const cfnMitigationActionProps: iot.CfnMitigationActionProps = {
actionParams: {
addThingsToThingGroupParams: {
thingGroupNames: ['thingGroupNames'],
// the properties below are optional
overrideDynamicGroups: false,
},
enableIoTLoggingParams: {
logLevel: 'logLevel',
roleArnForLogging: 'roleArnForLogging',
},
publishFindingToSnsParams: {
topicArn: 'topicArn',
},
replaceDefaultPolicyVersionParams: {
templateName: 'templateName',
},
updateCaCertificateParams: {
action: 'action',
},
updateDeviceCertificateParams: {
action: 'action',
},
},
roleArn: 'roleArn',
// the properties below are optional
actionName: 'actionName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
action | IResolvable | Action | The set of parameters for this mitigation action. |
role | string | The IAM role ARN used to apply this mitigation action. |
action | string | The friendly name of the mitigation action. |
tags? | Cfn [] | Metadata that can be used to manage the mitigation action. |
actionParams
Type:
IResolvable
|
Action
The set of parameters for this mitigation action.
The parameters vary, depending on the kind of action you apply.
roleArn
Type:
string
The IAM role ARN used to apply this mitigation action.
actionName?
Type:
string
(optional)
The friendly name of the mitigation action.
tags?
Type:
Cfn
[]
(optional)
Metadata that can be used to manage the mitigation action.