Interface ActionProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
ActionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-04-10T22:22:37.122Z") @Stability(Deprecated) @Deprecated public interface ActionProps extends software.amazon.jsii.JsiiSerializable
Deprecated.
(deprecated) Properties for the Action construct.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.appconfig.alpha.*;
 import software.amazon.awscdk.services.iam.*;
 IEventDestination eventDestination;
 Role role;
 ActionProps actionProps = ActionProps.builder()
         .actionPoints(List.of(ActionPoint.PRE_CREATE_HOSTED_CONFIGURATION_VERSION))
         .eventDestination(eventDestination)
         // the properties below are optional
         .description("description")
         .executionRole(role)
         .invokeWithoutExecutionRole(false)
         .name("name")
         .build();
 
  • Method Details

    • getActionPoints

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

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

      @Stability(Deprecated) @Deprecated @Nullable default String getDescription()
      Deprecated.
      (deprecated) The description for the action.

      Default: - No description.

    • getExecutionRole

      @Stability(Deprecated) @Deprecated @Nullable default IRole getExecutionRole()
      Deprecated.
      (deprecated) The execution role for the action.

      Default: - A role is generated.

    • getInvokeWithoutExecutionRole

      @Stability(Deprecated) @Deprecated @Nullable default Boolean getInvokeWithoutExecutionRole()
      Deprecated.
      (deprecated) 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

      @Stability(Deprecated) @Deprecated @Nullable default String getName()
      Deprecated.
      (deprecated) The name for the action.

      Default: - A name is generated.

    • builder

      @Stability(Deprecated) @Deprecated static ActionProps.Builder builder()
      Deprecated.
      Returns:
      a ActionProps.Builder of ActionProps