Class CfnMitigationAction.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnMitigationAction.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMitigationAction>
- Enclosing class:
CfnMitigationAction
@Stability(Stable)
public static final class CfnMitigationAction.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMitigationAction>
A fluent builder for
CfnMitigationAction
.-
Method Summary
Modifier and TypeMethodDescriptionactionName
(String actionName) The friendly name of the mitigation action.actionParams
(IResolvable actionParams) The set of parameters for this mitigation action.actionParams
(CfnMitigationAction.ActionParamsProperty actionParams) The set of parameters for this mitigation action.build()
static CfnMitigationAction.Builder
The IAM role ARN used to apply this mitigation action.Metadata that can be used to manage the mitigation action.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnMitigationAction.Builder
.
-
actionParams
The set of parameters for this mitigation action.The parameters vary, depending on the kind of action you apply.
- Parameters:
actionParams
- The set of parameters for this mitigation action. This parameter is required.- Returns:
this
-
actionParams
@Stability(Stable) public CfnMitigationAction.Builder actionParams(CfnMitigationAction.ActionParamsProperty actionParams) The set of parameters for this mitigation action.The parameters vary, depending on the kind of action you apply.
- Parameters:
actionParams
- The set of parameters for this mitigation action. This parameter is required.- Returns:
this
-
roleArn
The IAM role ARN used to apply this mitigation action.- Parameters:
roleArn
- The IAM role ARN used to apply this mitigation action. This parameter is required.- Returns:
this
-
actionName
The friendly name of the mitigation action.- Parameters:
actionName
- The friendly name of the mitigation action. This parameter is required.- Returns:
this
-
tags
Metadata that can be used to manage the mitigation action.- Parameters:
tags
- Metadata that can be used to manage the mitigation action. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMitigationAction>
- Returns:
- a newly built instance of
CfnMitigationAction
.
-