@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.870Z") @Stability(value=Stable) public interface CfnMitigationActionProps 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.*;
CfnMitigationActionProps cfnMitigationActionProps = CfnMitigationActionProps.builder()
.actionParams(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())
.roleArn("roleArn")
// the properties below are optional
.actionName("actionName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnMitigationActionProps.Builder
A builder for
CfnMitigationActionProps |
static class |
CfnMitigationActionProps.Jsii$Proxy
An implementation for
CfnMitigationActionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnMitigationActionProps.Builder |
builder() |
default String |
getActionName()
The friendly name of the mitigation action.
|
Object |
getActionParams()
The set of parameters for this mitigation action.
|
String |
getRoleArn()
The IAM role ARN used to apply this mitigation action.
|
default List<CfnTag> |
getTags()
Metadata that can be used to manage the mitigation action.
|
@Stability(value=Stable) @NotNull Object getActionParams()
The parameters vary, depending on the kind of action you apply.
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @Nullable default String getActionName()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnMitigationActionProps.Builder builder()
CfnMitigationActionProps.Builder of CfnMitigationActionPropsCopyright © 2022. All rights reserved.