Class CfnMitigationAction.ActionParamsProperty
Defines the type of action and the parameters for that action.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.AWS.IoT.dll
Syntax (csharp)
public class ActionParamsProperty : Object, CfnMitigationAction.IActionParamsProperty
Syntax (vb)
Public Class ActionParamsProperty
Inherits Object
Implements CfnMitigationAction.IActionParamsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var actionParamsProperty = new ActionParamsProperty {
AddThingsToThingGroupParams = new AddThingsToThingGroupParamsProperty {
ThingGroupNames = new [] { "thingGroupNames" },
// the properties below are optional
OverrideDynamicGroups = false
},
EnableIoTLoggingParams = new EnableIoTLoggingParamsProperty {
LogLevel = "logLevel",
RoleArnForLogging = "roleArnForLogging"
},
PublishFindingToSnsParams = new PublishFindingToSnsParamsProperty {
TopicArn = "topicArn"
},
ReplaceDefaultPolicyVersionParams = new ReplaceDefaultPolicyVersionParamsProperty {
TemplateName = "templateName"
},
UpdateCaCertificateParams = new UpdateCACertificateParamsProperty {
Action = "action"
},
UpdateDeviceCertificateParams = new UpdateDeviceCertificateParamsProperty {
Action = "action"
}
};
Synopsis
Constructors
ActionParamsProperty() |
Properties
AddThingsToThingGroupParams | Specifies the group to which you want to add the devices. |
EnableIoTLoggingParams | Specifies the logging level and the role with permissions for logging. |
PublishFindingToSnsParams | Specifies the topic to which the finding should be published. |
ReplaceDefaultPolicyVersionParams | Replaces the policy version with a default or blank policy. |
UpdateCaCertificateParams | Specifies the new state for the CA certificate. |
UpdateDeviceCertificateParams | Specifies the new state for a device certificate. |
Constructors
ActionParamsProperty()
public ActionParamsProperty()
Properties
AddThingsToThingGroupParams
Specifies the group to which you want to add the devices.
public object AddThingsToThingGroupParams { get; set; }
Property Value
System.Object
Remarks
EnableIoTLoggingParams
Specifies the logging level and the role with permissions for logging.
public object EnableIoTLoggingParams { get; set; }
Property Value
System.Object
Remarks
You cannot specify a logging level of DISABLED
.
PublishFindingToSnsParams
Specifies the topic to which the finding should be published.
public object PublishFindingToSnsParams { get; set; }
Property Value
System.Object
Remarks
ReplaceDefaultPolicyVersionParams
Replaces the policy version with a default or blank policy.
public object ReplaceDefaultPolicyVersionParams { get; set; }
Property Value
System.Object
Remarks
You specify the template name. Only a value of BLANK_POLICY
is currently supported.
UpdateCaCertificateParams
Specifies the new state for the CA certificate.
public object UpdateCaCertificateParams { get; set; }
Property Value
System.Object
Remarks
Only a value of DEACTIVATE
is currently supported.
UpdateDeviceCertificateParams
Specifies the new state for a device certificate.
public object UpdateDeviceCertificateParams { get; set; }
Property Value
System.Object
Remarks
Only a value of DEACTIVATE
is currently supported.