Interface CfnMitigationActionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMitigationActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:44.626Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnMitigationActionProps
static final class
An 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.
- 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.Builder
ofCfnMitigationActionProps
-