@Stability(value=Stable)
public static interface CfnMitigationAction.ActionParamsProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnMitigationAction.ActionParamsProperty.Builder
A builder for
CfnMitigationAction.ActionParamsProperty |
static class |
CfnMitigationAction.ActionParamsProperty.Jsii$Proxy
An implementation for
CfnMitigationAction.ActionParamsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnMitigationAction.ActionParamsProperty.Builder |
builder() |
default Object |
getAddThingsToThingGroupParams()
Specifies the group to which you want to add the devices.
|
default Object |
getEnableIoTLoggingParams()
Specifies the logging level and the role with permissions for logging.
|
default Object |
getPublishFindingToSnsParams()
Specifies the topic to which the finding should be published.
|
default Object |
getReplaceDefaultPolicyVersionParams()
Replaces the policy version with a default or blank policy.
|
default Object |
getUpdateCaCertificateParams()
Specifies the new state for the CA certificate.
|
default Object |
getUpdateDeviceCertificateParams()
Specifies the new state for a device certificate.
|
@Stability(value=Stable) @Nullable default Object getAddThingsToThingGroupParams()
@Stability(value=Stable) @Nullable default Object getEnableIoTLoggingParams()
You cannot specify a logging level of DISABLED .
@Stability(value=Stable) @Nullable default Object getPublishFindingToSnsParams()
@Stability(value=Stable) @Nullable default Object getReplaceDefaultPolicyVersionParams()
You specify the template name. Only a value of BLANK_POLICY is currently supported.
@Stability(value=Stable) @Nullable default Object getUpdateCaCertificateParams()
Only a value of DEACTIVATE is currently supported.
@Stability(value=Stable) @Nullable default Object getUpdateDeviceCertificateParams()
Only a value of DEACTIVATE is currently supported.
@Stability(value=Stable) static CfnMitigationAction.ActionParamsProperty.Builder builder()
Copyright © 2022. All rights reserved.