Interface CfnMitigationAction.ActionParamsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMitigationAction.ActionParamsProperty.Jsii$Proxy
- Enclosing class:
CfnMitigationAction
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
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.Returns union: either
IResolvableorCfnMitigationAction.AddThingsToThingGroupParamsProperty- See Also:
-
getEnableIoTLoggingParams
Specifies the logging level and the role with permissions for logging.You cannot specify a logging level of
DISABLED.Returns union: either
IResolvableorCfnMitigationAction.EnableIoTLoggingParamsProperty- See Also:
-
getPublishFindingToSnsParams
Specifies the topic to which the finding should be published.Returns union: either
IResolvableorCfnMitigationAction.PublishFindingToSnsParamsProperty- See Also:
-
getReplaceDefaultPolicyVersionParams
Replaces the policy version with a default or blank policy.You specify the template name. Only a value of
BLANK_POLICYis currently supported.Returns union: either
IResolvableorCfnMitigationAction.ReplaceDefaultPolicyVersionParamsProperty- See Also:
-
getUpdateCaCertificateParams
Specifies the new state for the CA certificate.Only a value of
DEACTIVATEis currently supported.Returns union: either
IResolvableorCfnMitigationAction.UpdateCACertificateParamsProperty- See Also:
-
getUpdateDeviceCertificateParams
Specifies the new state for a device certificate.Only a value of
DEACTIVATEis currently supported.Returns union: either
IResolvableorCfnMitigationAction.UpdateDeviceCertificateParamsProperty- See Also:
-
builder
-