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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnMitigationAction.ActionParamsProperty
static final class
An implementation forCfnMitigationAction.ActionParamsProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Specifies the group to which you want to add the devices.default Object
Specifies the logging level and the role with permissions for logging.default Object
Specifies the topic to which the finding should be published.default Object
Replaces the policy version with a default or blank policy.default Object
Specifies the new state for the CA certificate.default Object
Specifies 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.- See Also:
-
getEnableIoTLoggingParams
Specifies the logging level and the role with permissions for logging.You cannot specify a logging level of
DISABLED
.- See Also:
-
getPublishFindingToSnsParams
Specifies the topic to which the finding should be published.- See Also:
-
getReplaceDefaultPolicyVersionParams
Replaces the policy version with a default or blank policy.You specify the template name. Only a value of
BLANK_POLICY
is currently supported.- See Also:
-
getUpdateCaCertificateParams
Specifies the new state for the CA certificate.Only a value of
DEACTIVATE
is currently supported.- See Also:
-
getUpdateDeviceCertificateParams
Specifies the new state for a device certificate.Only a value of
DEACTIVATE
is currently supported.- See Also:
-
builder
-