public static interface CfnMitigationAction.ActionParamsProperty
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 java.lang.Object |
getAddThingsToThingGroupParams()
Specifies the group to which you want to add the devices.
|
default java.lang.Object |
getEnableIoTLoggingParams()
Specifies the logging level and the role with permissions for logging.
|
default java.lang.Object |
getPublishFindingToSnsParams()
Specifies the topic to which the finding should be published.
|
default java.lang.Object |
getReplaceDefaultPolicyVersionParams()
Replaces the policy version with a default or blank policy.
|
default java.lang.Object |
getUpdateCaCertificateParams()
Specifies the new state for the CA certificate.
|
default java.lang.Object |
getUpdateDeviceCertificateParams()
Specifies the new state for a device certificate.
|
default java.lang.Object getAddThingsToThingGroupParams()
default java.lang.Object getEnableIoTLoggingParams()
You cannot specify a logging level of DISABLED
.
default java.lang.Object getPublishFindingToSnsParams()
default java.lang.Object getReplaceDefaultPolicyVersionParams()
You specify the template name. Only a value of BLANK_POLICY
is currently supported.
default java.lang.Object getUpdateCaCertificateParams()
Only a value of DEACTIVATE
is currently supported.
default java.lang.Object getUpdateDeviceCertificateParams()
Only a value of DEACTIVATE
is currently supported.
static CfnMitigationAction.ActionParamsProperty.Builder builder()