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 Summary
Modifier and TypeMethodDescriptionactionPoints
(List<? extends ActionPoint> actionPoints) The action points that will trigger the extension action.build()
static Action.Builder
create()
description
(String description) The description for the action.eventDestination
(IEventDestination eventDestination) The event destination for the action.executionRole
(IRole executionRole) The execution role for the action.invokeWithoutExecutionRole
(Boolean invokeWithoutExecutionRole) The flag that specifies whether or not to create the execution role.The name for the action.
-
Method Details
-
create
- Returns:
- a new instance of
Action.Builder
.
-
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
The event destination for the action.- Parameters:
eventDestination
- The event destination for the action. This parameter is required.- Returns:
this
-
description
The description for the action.Default: - No description.
- Parameters:
description
- The description for the action. This parameter is required.- Returns:
this
-
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
The name for the action.Default: - A name is generated.
- Parameters:
name
- The name for the action. This parameter is required.- Returns:
this
-
build
-