Interface ICfnMitigationActionProps
Properties for defining a CfnMitigationAction
.
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnMitigationActionProps
Syntax (vb)
Public Interface ICfnMitigationActionProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
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 cfnMitigationActionProps = new CfnMitigationActionProps {
ActionParams = 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"
}
},
RoleArn = "roleArn",
// the properties below are optional
ActionName = "actionName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
ActionName | The friendly name of the mitigation action. |
ActionParams | The set of parameters for this mitigation action. |
RoleArn | The IAM role ARN used to apply this mitigation action. |
Tags | Metadata that can be used to manage the mitigation action. |
Properties
ActionName
The friendly name of the mitigation action.
virtual string ActionName { get; }
Property Value
System.String
Remarks
ActionParams
The set of parameters for this mitigation action.
object ActionParams { get; }
Property Value
System.Object
Remarks
The parameters vary, depending on the kind of action you apply.
RoleArn
The IAM role ARN used to apply this mitigation action.
string RoleArn { get; }
Property Value
System.String
Remarks
Tags
Metadata that can be used to manage the mitigation action.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]