AWS::AmplifyUIBuilder::Component ComponentEvent
The ComponentEvent
property specifies the configuration of an event. You can bind an event and a corresponding
action to a Component
or a ComponentChild
. A button click
is an example of an event.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Action" :
String
, "BindingEvent" :String
, "Parameters" :ActionParameters
}
YAML
Action:
String
BindingEvent:String
Parameters:ActionParameters
Properties
Action
-
The action to perform when a specific event is raised.
Required: No
Type: String
Update requires: No interruption
BindingEvent
-
Binds an event to an action on a component. When you specify a
bindingEvent
, the event is called when the action is performed.Required: No
Type: String
Update requires: No interruption
Parameters
-
Describes information about the action.
Required: No
Type: ActionParameters
Update requires: No interruption