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();
 
  • Method Details

    • getAddThingsToThingGroupParams

      @Stability(Stable) @Nullable default Object getAddThingsToThingGroupParams()
      Specifies the group to which you want to add the devices.
    • getEnableIoTLoggingParams

      @Stability(Stable) @Nullable default Object getEnableIoTLoggingParams()
      Specifies the logging level and the role with permissions for logging.

      You cannot specify a logging level of DISABLED .

    • getPublishFindingToSnsParams

      @Stability(Stable) @Nullable default Object getPublishFindingToSnsParams()
      Specifies the topic to which the finding should be published.
    • getReplaceDefaultPolicyVersionParams

      @Stability(Stable) @Nullable default Object 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.

    • getUpdateCaCertificateParams

      @Stability(Stable) @Nullable default Object getUpdateCaCertificateParams()
      Specifies the new state for the CA certificate.

      Only a value of DEACTIVATE is currently supported.

    • getUpdateDeviceCertificateParams

      @Stability(Stable) @Nullable default Object getUpdateDeviceCertificateParams()
      Specifies the new state for a device certificate.

      Only a value of DEACTIVATE is currently supported.

    • builder

      @Stability(Stable) static CfnMitigationAction.ActionParamsProperty.Builder builder()
      Returns:
      a CfnMitigationAction.ActionParamsProperty.Builder of CfnMitigationAction.ActionParamsProperty