Interface CfnMitigationActionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMitigationActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:40.104Z")
@Stability(Stable)
public interface CfnMitigationActionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnMitigationAction.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iot.*;
CfnMitigationActionProps cfnMitigationActionProps = CfnMitigationActionProps.builder()
.actionParams(ActionParamsProperty.builder()
.addThingsToThingGroupParams(AddThingsToThingGroupParamsProperty.builder()
.thingGroupNames(List.of("thingGroupNames"))
// the properties below are optional
.overrideDynamicGroups(false)
.build())
.enableIoTLoggingParams(EnableIoTLoggingParamsProperty.builder()
.logLevel("logLevel")
.roleArnForLogging("roleArnForLogging")
.build())
.publishFindingToSnsParams(PublishFindingToSnsParamsProperty.builder()
.topicArn("topicArn")
.build())
.replaceDefaultPolicyVersionParams(ReplaceDefaultPolicyVersionParamsProperty.builder()
.templateName("templateName")
.build())
.updateCaCertificateParams(UpdateCACertificateParamsProperty.builder()
.action("action")
.build())
.updateDeviceCertificateParams(UpdateDeviceCertificateParamsProperty.builder()
.action("action")
.build())
.build())
.roleArn("roleArn")
// the properties below are optional
.actionName("actionName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMitigationActionPropsstatic final classAn implementation forCfnMitigationActionProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionParams
The set of parameters for this mitigation action.The parameters vary, depending on the kind of action you apply.
Returns union: either
IResolvableorCfnMitigationAction.ActionParamsProperty- See Also:
-
getRoleArn
The IAM role ARN used to apply this mitigation action.- See Also:
-
getActionName
The friendly name of the mitigation action.- See Also:
-
getTags
Metadata that can be used to manage the mitigation action.- See Also:
-
builder
- Returns:
- a
CfnMitigationActionProps.BuilderofCfnMitigationActionProps
-