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 Details

    • create

      @Stability(Stable) public static CfnMitigationAction.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnMitigationAction.Builder.
    • actionParams

      @Stability(Stable) public CfnMitigationAction.Builder actionParams(IResolvable 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

      @Stability(Stable) public CfnMitigationAction.Builder roleArn(String 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

      @Stability(Stable) public CfnMitigationAction.Builder actionName(String actionName)
      The friendly name of the mitigation action.

      Parameters:
      actionName - The friendly name of the mitigation action. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnMitigationAction.Builder tags(List<? extends CfnTag> 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

      @Stability(Stable) public CfnMitigationAction build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnMitigationAction>
      Returns:
      a newly built instance of CfnMitigationAction.