aws-cdk-lib.aws_iot.CfnMitigationAction.ActionParamsProperty

interface ActionParamsProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnMitigationAction.ActionParamsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnMitigationAction_ActionParamsProperty
Javasoftware.amazon.awscdk.services.iot.CfnMitigationAction.ActionParamsProperty
Pythonaws_cdk.aws_iot.CfnMitigationAction.ActionParamsProperty
TypeScript aws-cdk-lib » aws_iot » CfnMitigationAction » ActionParamsProperty

Defines the type of action and the parameters for that action.

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 actionParamsProperty: iot.CfnMitigationAction.ActionParamsProperty = {
  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',
  },
};

Properties

NameTypeDescription
addThingsToThingGroupParams?IResolvable | AddThingsToThingGroupParamsPropertySpecifies the group to which you want to add the devices.
enableIoTLoggingParams?IResolvable | EnableIoTLoggingParamsPropertySpecifies the logging level and the role with permissions for logging.
publishFindingToSnsParams?IResolvable | PublishFindingToSnsParamsPropertySpecifies the topic to which the finding should be published.
replaceDefaultPolicyVersionParams?IResolvable | ReplaceDefaultPolicyVersionParamsPropertyReplaces the policy version with a default or blank policy.
updateCaCertificateParams?IResolvable | UpdateCACertificateParamsPropertySpecifies the new state for the CA certificate.
updateDeviceCertificateParams?IResolvable | UpdateDeviceCertificateParamsPropertySpecifies the new state for a device certificate.

addThingsToThingGroupParams?

Type: IResolvable | AddThingsToThingGroupParamsProperty (optional)

Specifies the group to which you want to add the devices.


enableIoTLoggingParams?

Type: IResolvable | EnableIoTLoggingParamsProperty (optional)

Specifies the logging level and the role with permissions for logging.

You cannot specify a logging level of DISABLED .


publishFindingToSnsParams?

Type: IResolvable | PublishFindingToSnsParamsProperty (optional)

Specifies the topic to which the finding should be published.


replaceDefaultPolicyVersionParams?

Type: IResolvable | ReplaceDefaultPolicyVersionParamsProperty (optional)

Replaces the policy version with a default or blank policy.

You specify the template name. Only a value of BLANK_POLICY is currently supported.


updateCaCertificateParams?

Type: IResolvable | UpdateCACertificateParamsProperty (optional)

Specifies the new state for the CA certificate.

Only a value of DEACTIVATE is currently supported.


updateDeviceCertificateParams?

Type: IResolvable | UpdateDeviceCertificateParamsProperty (optional)

Specifies the new state for a device certificate.

Only a value of DEACTIVATE is currently supported.