Class CfnMitigationAction
Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask.
Inherited Members
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMitigationAction : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnMitigationAction Inherits CfnResource Implements IInspectable, ITaggable
Remarks
For API reference, see CreateMitigationAction and for general information, see Mitigation actions .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
CloudformationResource: AWS::IoT::MitigationAction
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 cfnMitigationAction = new CfnMitigationAction(this, "MyCfnMitigationAction", 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
Constructors
CfnMitigationAction(Construct, string, ICfnMitigationActionProps) | Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. |
Properties
ActionName | The friendly name of the mitigation action. |
ActionParams | The set of parameters for this mitigation action. |
AttrMitigationActionArn | The Amazon Resource Name (ARN) of the mitigation action. |
AttrMitigationActionId | The ID of the mitigation action. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. |
RoleArn | The IAM role ARN used to apply this mitigation action. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | Metadata that can be used to manage the mitigation action. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. |
Constructors
CfnMitigationAction(Construct, string, ICfnMitigationActionProps)
Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask.
public CfnMitigationAction(Construct scope, string id, ICfnMitigationActionProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnMitigationActionProps
Resource properties.
Remarks
For API reference, see CreateMitigationAction and for general information, see Mitigation actions .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
CloudformationResource: AWS::IoT::MitigationAction
ExampleMetadata: fixture=_generated
Properties
ActionName
The friendly name of the mitigation action.
public virtual string? ActionName { get; set; }
Property Value
Remarks
For API reference, see CreateMitigationAction and for general information, see Mitigation actions .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
CloudformationResource: AWS::IoT::MitigationAction
ExampleMetadata: fixture=_generated
ActionParams
The set of parameters for this mitigation action.
public virtual object ActionParams { get; set; }
Property Value
Remarks
For API reference, see CreateMitigationAction and for general information, see Mitigation actions .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
CloudformationResource: AWS::IoT::MitigationAction
ExampleMetadata: fixture=_generated
AttrMitigationActionArn
The Amazon Resource Name (ARN) of the mitigation action.
public virtual string AttrMitigationActionArn { get; }
Property Value
Remarks
CloudformationAttribute: MitigationActionArn
AttrMitigationActionId
The ID of the mitigation action.
public virtual string AttrMitigationActionId { get; }
Property Value
Remarks
CloudformationAttribute: MitigationActionId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
For API reference, see CreateMitigationAction and for general information, see Mitigation actions .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
CloudformationResource: AWS::IoT::MitigationAction
ExampleMetadata: fixture=_generated
CfnProperties
Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
For API reference, see CreateMitigationAction and for general information, see Mitigation actions .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
CloudformationResource: AWS::IoT::MitigationAction
ExampleMetadata: fixture=_generated
RoleArn
The IAM role ARN used to apply this mitigation action.
public virtual string RoleArn { get; set; }
Property Value
Remarks
For API reference, see CreateMitigationAction and for general information, see Mitigation actions .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
CloudformationResource: AWS::IoT::MitigationAction
ExampleMetadata: fixture=_generated
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
For API reference, see CreateMitigationAction and for general information, see Mitigation actions .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
CloudformationResource: AWS::IoT::MitigationAction
ExampleMetadata: fixture=_generated
TagsRaw
Metadata that can be used to manage the mitigation action.
public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value
ICfnTag[]
Remarks
For API reference, see CreateMitigationAction and for general information, see Mitigation actions .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
CloudformationResource: AWS::IoT::MitigationAction
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
For API reference, see CreateMitigationAction and for general information, see Mitigation actions .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
CloudformationResource: AWS::IoT::MitigationAction
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
For API reference, see CreateMitigationAction and for general information, see Mitigation actions .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-mitigationaction.html
CloudformationResource: AWS::IoT::MitigationAction
ExampleMetadata: fixture=_generated