Class Action
Defines an action for an extension.
Inheritance
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Action : DeputyBase
Syntax (vb)
Public Class Action
Inherits DeputyBase
Remarks
ExampleMetadata: infused
Examples
Function fn;
new Extension(this, "MyExtension", new ExtensionProps {
Actions = new [] {
new Action(new ActionProps {
ActionPoints = new [] { ActionPoint.ON_DEPLOYMENT_START },
EventDestination = new LambdaDestination(fn)
}) }
});
Synopsis
Constructors
Action(IActionProps) | |
Action(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Action(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
ActionPoints | The action points that will trigger the extension action. |
Description | The description for the action. |
EventDestination | The event destination for the action. |
ExecutionRole | The execution role for the action. |
InvokeWithoutExecutionRole | The flag that specifies whether to create the execution role. |
Name | The name for the action. |
Constructors
Action(IActionProps)
Action(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Action(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Action(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Action(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
ActionPoints
The action points that will trigger the extension action.
public virtual ActionPoint[] ActionPoints { get; }
Property Value
Description
The description for the action.
public virtual string Description { get; }
Property Value
System.String
EventDestination
The event destination for the action.
public virtual IEventDestination EventDestination { get; }
Property Value
ExecutionRole
InvokeWithoutExecutionRole
The flag that specifies whether to create the execution role.
public virtual Nullable<bool> InvokeWithoutExecutionRole { get; }
Property Value
System.Nullable<System.Boolean>
Name
The name for the action.
public virtual string Name { get; }
Property Value
System.String