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.BuilderThe IAM role ARN used to apply this mitigation action.Metadata that can be used to manage the mitigation action.
-
Method Details
-
create
@Stability(Stable) public static CfnMitigationAction.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- 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- See Also:
-
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- See Also:
-
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- See Also:
-
actionName
The friendly name of the mitigation action.- Parameters:
actionName- The friendly name of the mitigation action. This parameter is required.- Returns:
this- See Also:
-
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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMitigationAction>- Returns:
- a newly built instance of
CfnMitigationAction.
-