Class CfnMitigationActionPropsMixin.ActionParamsProperty
Defines the type of action and the parameters for that action.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.IoT
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnMitigationActionPropsMixin.ActionParamsProperty : CfnMitigationActionPropsMixin.IActionParamsProperty
Syntax (vb)
Public Class CfnMitigationActionPropsMixin.ActionParamsProperty Implements CfnMitigationActionPropsMixin.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.CfnPropertyMixins.AWS.IoT;
var actionParamsProperty = new ActionParamsProperty {
AddThingsToThingGroupParams = new AddThingsToThingGroupParamsProperty {
OverrideDynamicGroups = false,
ThingGroupNames = new [] { "thingGroupNames" }
},
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() | Defines the type of action and the parameters for that action. |
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()
Defines the type of action and the parameters for that action.
public ActionParamsProperty()
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.CfnPropertyMixins.AWS.IoT;
var actionParamsProperty = new ActionParamsProperty {
AddThingsToThingGroupParams = new AddThingsToThingGroupParamsProperty {
OverrideDynamicGroups = false,
ThingGroupNames = new [] { "thingGroupNames" }
},
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"
}
};
Properties
AddThingsToThingGroupParams
Specifies the group to which you want to add the devices.
public object? AddThingsToThingGroupParams { get; set; }
Property Value
Remarks
EnableIoTLoggingParams
Specifies the logging level and the role with permissions for logging.
public object? EnableIoTLoggingParams { get; set; }
Property Value
Remarks
You cannot specify a logging level of DISABLED .
Type union: either IResolvable or CfnMitigationActionPropsMixin.IEnableIoTLoggingParamsProperty
PublishFindingToSnsParams
Specifies the topic to which the finding should be published.
public object? PublishFindingToSnsParams { get; set; }
Property Value
Remarks
ReplaceDefaultPolicyVersionParams
Replaces the policy version with a default or blank policy.
public object? ReplaceDefaultPolicyVersionParams { get; set; }
Property Value
Remarks
You specify the template name. Only a value of BLANK_POLICY is currently supported.
Type union: either IResolvable or CfnMitigationActionPropsMixin.IReplaceDefaultPolicyVersionParamsProperty
UpdateCaCertificateParams
Specifies the new state for the CA certificate.
public object? UpdateCaCertificateParams { get; set; }
Property Value
Remarks
Only a value of DEACTIVATE is currently supported.
Type union: either IResolvable or CfnMitigationActionPropsMixin.IUpdateCACertificateParamsProperty
UpdateDeviceCertificateParams
Specifies the new state for a device certificate.
public object? UpdateDeviceCertificateParams { get; set; }
Property Value
Remarks
Only a value of DEACTIVATE is currently supported.
Type union: either IResolvable or CfnMitigationActionPropsMixin.IUpdateDeviceCertificateParamsProperty