Class Action.Builder

java.lang.Object
software.amazon.awscdk.services.appconfig.Action.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<Action>
Enclosing class:
Action

@Stability(Stable) public static final class Action.Builder extends Object implements software.amazon.jsii.Builder<Action>
A fluent builder for Action.
  • Method Details

    • create

      @Stability(Stable) public static Action.Builder create()
      Returns:
      a new instance of Action.Builder.
    • actionPoints

      @Stability(Stable) public Action.Builder actionPoints(List<? extends ActionPoint> actionPoints)
      The action points that will trigger the extension action.

      Parameters:
      actionPoints - The action points that will trigger the extension action. This parameter is required.
      Returns:
      this
    • eventDestination

      @Stability(Stable) public Action.Builder eventDestination(IEventDestination eventDestination)
      The event destination for the action.

      Parameters:
      eventDestination - The event destination for the action. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public Action.Builder description(String description)
      The description for the action.

      Default: - No description.

      Parameters:
      description - The description for the action. This parameter is required.
      Returns:
      this
    • executionRole

      @Stability(Stable) public Action.Builder executionRole(IRole executionRole)
      The execution role for the action.

      Default: - A role is generated.

      Parameters:
      executionRole - The execution role for the action. This parameter is required.
      Returns:
      this
    • invokeWithoutExecutionRole

      @Stability(Stable) public Action.Builder invokeWithoutExecutionRole(Boolean invokeWithoutExecutionRole)
      The flag that specifies whether or not to create the execution role.

      If set to true, then the role will not be auto-generated under the assumption there is already the corresponding resource-based policy attached to the event destination. If false, the execution role will be generated if not provided.

      Default: false

      Parameters:
      invokeWithoutExecutionRole - The flag that specifies whether or not to create the execution role. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public Action.Builder name(String name)
      The name for the action.

      Default: - A name is generated.

      Parameters:
      name - The name for the action. This parameter is required.
      Returns:
      this
    • build

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