Interface CfnMitigationActionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMitigationActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:57.584Z")
@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();
-
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.
-
getRoleArn
The IAM role ARN used to apply this mitigation action. -
getActionName
The friendly name of the mitigation action. -
getTags
Metadata that can be used to manage the mitigation action. -
builder
- Returns:
- a
CfnMitigationActionProps.Builder
ofCfnMitigationActionProps
-