Interface IActionProps
Properties for the Action construct.
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IActionProps
Syntax (vb)
Public Interface IActionProps
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
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 or not to create the execution role. |
| Name | The name for the action. |
Properties
ActionPoints
The action points that will trigger the extension action.
ActionPoint[] ActionPoints { get; }
Property Value
Remarks
ExampleMetadata: infused
Description
The description for the action.
string? Description { get; }
Property Value
Remarks
Default: - No description.
EventDestination
The event destination for the action.
IEventDestination EventDestination { get; }
Property Value
Remarks
ExampleMetadata: infused
ExecutionRole
The execution role for the action.
IRole? ExecutionRole { get; }
Property Value
Remarks
Default: - A role is generated.
InvokeWithoutExecutionRole
The flag that specifies whether or not to create the execution role.
bool? InvokeWithoutExecutionRole { get; }
Property Value
bool?
Remarks
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
Name
The name for the action.
string? Name { get; }
Property Value
Remarks
Default: - A name is generated.