java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appconfig.Action
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:02.271Z") @Stability(Stable) public class Action extends software.amazon.jsii.JsiiObject
Defines an action for an extension.

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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    A fluent builder for Action.

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    Action(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Action(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The action points that will trigger the extension action.
    The description for the action.
    The event destination for the action.
    The execution role for the action.
    The flag that specifies whether to create the execution role.
    The name for the action.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • Action

      protected Action(software.amazon.jsii.JsiiObjectRef objRef)
    • Action

      protected Action(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Action

      @Stability(Stable) public Action(@NotNull ActionProps props)
      Parameters:
      props - This parameter is required.
  • Method Details

    • getActionPoints

      @Stability(Stable) @NotNull public List<ActionPoint> getActionPoints()
      The action points that will trigger the extension action.
    • getEventDestination

      @Stability(Stable) @NotNull public IEventDestination getEventDestination()
      The event destination for the action.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description for the action.
    • getExecutionRole

      @Stability(Stable) @Nullable public IRole getExecutionRole()
      The execution role for the action.
    • getInvokeWithoutExecutionRole

      @Stability(Stable) @Nullable public Boolean getInvokeWithoutExecutionRole()
      The flag that specifies whether to create the execution role.
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name for the action.