Interface CfnMitigationAction.ActionParamsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMitigationAction.ActionParamsProperty.Jsii$Proxy
- Enclosing class:
- CfnMitigationAction
@Stability(Stable)
public static interface CfnMitigationAction.ActionParamsProperty
extends software.amazon.jsii.JsiiSerializable
Defines the type of action and the parameters for that action.
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.*;
ActionParamsProperty actionParamsProperty = 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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMitigationAction.ActionParamsPropertystatic final classAn implementation forCfnMitigationAction.ActionParamsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies the group to which you want to add the devices.default ObjectSpecifies the logging level and the role with permissions for logging.default ObjectSpecifies the topic to which the finding should be published.default ObjectReplaces the policy version with a default or blank policy.default ObjectSpecifies the new state for the CA certificate.default ObjectSpecifies the new state for a device certificate.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAddThingsToThingGroupParams
Specifies the group to which you want to add the devices. -
getEnableIoTLoggingParams
Specifies the logging level and the role with permissions for logging.You cannot specify a logging level of
DISABLED. -
getPublishFindingToSnsParams
Specifies the topic to which the finding should be published. -
getReplaceDefaultPolicyVersionParams
Replaces the policy version with a default or blank policy.You specify the template name. Only a value of
BLANK_POLICYis currently supported. -
getUpdateCaCertificateParams
Specifies the new state for the CA certificate.Only a value of
DEACTIVATEis currently supported. -
getUpdateDeviceCertificateParams
Specifies the new state for a device certificate.Only a value of
DEACTIVATEis currently supported. -
builder
-