Interface ActionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ActionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:30.656Z")
@Stability(Stable)
public interface ActionProps
extends software.amazon.jsii.JsiiSerializable
Properties for the Action construct.
Example:
Function fn;
Extension.Builder.create(this, "MyExtension")
.actions(List.of(
Action.Builder.create()
.actionPoints(List.of(ActionPoint.ON_DEPLOYMENT_START))
.eventDestination(new LambdaDestination(fn))
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forActionPropsstatic final classAn implementation forActionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ActionProps.Builderbuilder()The action points that will trigger the extension action.default StringThe description for the action.The event destination for the action.default IRoleThe execution role for the action.default BooleanThe flag that specifies whether or not to create the execution role.default StringgetName()The name for the action.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionPoints
The action points that will trigger the extension action. -
getEventDestination
The event destination for the action. -
getDescription
The description for the action.Default: - No description.
-
getExecutionRole
The execution role for the action.Default: - A role is generated.
-
getInvokeWithoutExecutionRole
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
-
getName
The name for the action.Default: - A name is generated.
-
builder
- Returns:
- a
ActionProps.BuilderofActionProps
-