Interface CfnComponent.ActionParametersProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnComponent.ActionParametersProperty.Jsii$Proxy
Enclosing class:
CfnComponent

@Stability(Stable) public static interface CfnComponent.ActionParametersProperty extends software.amazon.jsii.JsiiSerializable
Represents the event action configuration for an element of a Component or ComponentChild .

Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components. ActionParameters defines the action that is performed when an event occurs on the component.

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.amplifyuibuilder.*;
 ComponentPropertyProperty componentPropertyProperty_;
 ActionParametersProperty actionParametersProperty = ActionParametersProperty.builder()
         .anchor(ComponentPropertyProperty.builder()
                 .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                         .property("property")
                         // the properties below are optional
                         .field("field")
                         .build())
                 .bindings(Map.of(
                         "bindingsKey", FormBindingElementProperty.builder()
                                 .element("element")
                                 .property("property")
                                 .build()))
                 .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                         .property("property")
                         // the properties below are optional
                         .field("field")
                         .build())
                 .componentName("componentName")
                 .concat(List.of(componentPropertyProperty_))
                 .condition(ComponentConditionPropertyProperty.builder()
                         .else(componentPropertyProperty_)
                         .field("field")
                         .operand("operand")
                         .operandType("operandType")
                         .operator("operator")
                         .property("property")
                         .then(componentPropertyProperty_)
                         .build())
                 .configured(false)
                 .defaultValue("defaultValue")
                 .event("event")
                 .importedValue("importedValue")
                 .model("model")
                 .property("property")
                 .type("type")
                 .userAttribute("userAttribute")
                 .value("value")
                 .build())
         .fields(Map.of(
                 "fieldsKey", ComponentPropertyProperty.builder()
                         .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                                 .property("property")
                                 // the properties below are optional
                                 .field("field")
                                 .build())
                         .bindings(Map.of(
                                 "bindingsKey", FormBindingElementProperty.builder()
                                         .element("element")
                                         .property("property")
                                         .build()))
                         .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                                 .property("property")
                                 // the properties below are optional
                                 .field("field")
                                 .build())
                         .componentName("componentName")
                         .concat(List.of(componentPropertyProperty_))
                         .condition(ComponentConditionPropertyProperty.builder()
                                 .else(componentPropertyProperty_)
                                 .field("field")
                                 .operand("operand")
                                 .operandType("operandType")
                                 .operator("operator")
                                 .property("property")
                                 .then(componentPropertyProperty_)
                                 .build())
                         .configured(false)
                         .defaultValue("defaultValue")
                         .event("event")
                         .importedValue("importedValue")
                         .model("model")
                         .property("property")
                         .type("type")
                         .userAttribute("userAttribute")
                         .value("value")
                         .build()))
         .global(ComponentPropertyProperty.builder()
                 .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                         .property("property")
                         // the properties below are optional
                         .field("field")
                         .build())
                 .bindings(Map.of(
                         "bindingsKey", FormBindingElementProperty.builder()
                                 .element("element")
                                 .property("property")
                                 .build()))
                 .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                         .property("property")
                         // the properties below are optional
                         .field("field")
                         .build())
                 .componentName("componentName")
                 .concat(List.of(componentPropertyProperty_))
                 .condition(ComponentConditionPropertyProperty.builder()
                         .else(componentPropertyProperty_)
                         .field("field")
                         .operand("operand")
                         .operandType("operandType")
                         .operator("operator")
                         .property("property")
                         .then(componentPropertyProperty_)
                         .build())
                 .configured(false)
                 .defaultValue("defaultValue")
                 .event("event")
                 .importedValue("importedValue")
                 .model("model")
                 .property("property")
                 .type("type")
                 .userAttribute("userAttribute")
                 .value("value")
                 .build())
         .id(ComponentPropertyProperty.builder()
                 .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                         .property("property")
                         // the properties below are optional
                         .field("field")
                         .build())
                 .bindings(Map.of(
                         "bindingsKey", FormBindingElementProperty.builder()
                                 .element("element")
                                 .property("property")
                                 .build()))
                 .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                         .property("property")
                         // the properties below are optional
                         .field("field")
                         .build())
                 .componentName("componentName")
                 .concat(List.of(componentPropertyProperty_))
                 .condition(ComponentConditionPropertyProperty.builder()
                         .else(componentPropertyProperty_)
                         .field("field")
                         .operand("operand")
                         .operandType("operandType")
                         .operator("operator")
                         .property("property")
                         .then(componentPropertyProperty_)
                         .build())
                 .configured(false)
                 .defaultValue("defaultValue")
                 .event("event")
                 .importedValue("importedValue")
                 .model("model")
                 .property("property")
                 .type("type")
                 .userAttribute("userAttribute")
                 .value("value")
                 .build())
         .model("model")
         .state(MutationActionSetStateParameterProperty.builder()
                 .componentName("componentName")
                 .property("property")
                 .set(ComponentPropertyProperty.builder()
                         .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                                 .property("property")
                                 // the properties below are optional
                                 .field("field")
                                 .build())
                         .bindings(Map.of(
                                 "bindingsKey", FormBindingElementProperty.builder()
                                         .element("element")
                                         .property("property")
                                         .build()))
                         .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                                 .property("property")
                                 // the properties below are optional
                                 .field("field")
                                 .build())
                         .componentName("componentName")
                         .concat(List.of(componentPropertyProperty_))
                         .condition(ComponentConditionPropertyProperty.builder()
                                 .else(componentPropertyProperty_)
                                 .field("field")
                                 .operand("operand")
                                 .operandType("operandType")
                                 .operator("operator")
                                 .property("property")
                                 .then(componentPropertyProperty_)
                                 .build())
                         .configured(false)
                         .defaultValue("defaultValue")
                         .event("event")
                         .importedValue("importedValue")
                         .model("model")
                         .property("property")
                         .type("type")
                         .userAttribute("userAttribute")
                         .value("value")
                         .build())
                 .build())
         .target(ComponentPropertyProperty.builder()
                 .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                         .property("property")
                         // the properties below are optional
                         .field("field")
                         .build())
                 .bindings(Map.of(
                         "bindingsKey", FormBindingElementProperty.builder()
                                 .element("element")
                                 .property("property")
                                 .build()))
                 .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                         .property("property")
                         // the properties below are optional
                         .field("field")
                         .build())
                 .componentName("componentName")
                 .concat(List.of(componentPropertyProperty_))
                 .condition(ComponentConditionPropertyProperty.builder()
                         .else(componentPropertyProperty_)
                         .field("field")
                         .operand("operand")
                         .operandType("operandType")
                         .operator("operator")
                         .property("property")
                         .then(componentPropertyProperty_)
                         .build())
                 .configured(false)
                 .defaultValue("defaultValue")
                 .event("event")
                 .importedValue("importedValue")
                 .model("model")
                 .property("property")
                 .type("type")
                 .userAttribute("userAttribute")
                 .value("value")
                 .build())
         .type(ComponentPropertyProperty.builder()
                 .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                         .property("property")
                         // the properties below are optional
                         .field("field")
                         .build())
                 .bindings(Map.of(
                         "bindingsKey", FormBindingElementProperty.builder()
                                 .element("element")
                                 .property("property")
                                 .build()))
                 .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                         .property("property")
                         // the properties below are optional
                         .field("field")
                         .build())
                 .componentName("componentName")
                 .concat(List.of(componentPropertyProperty_))
                 .condition(ComponentConditionPropertyProperty.builder()
                         .else(componentPropertyProperty_)
                         .field("field")
                         .operand("operand")
                         .operandType("operandType")
                         .operator("operator")
                         .property("property")
                         .then(componentPropertyProperty_)
                         .build())
                 .configured(false)
                 .defaultValue("defaultValue")
                 .event("event")
                 .importedValue("importedValue")
                 .model("model")
                 .property("property")
                 .type("type")
                 .userAttribute("userAttribute")
                 .value("value")
                 .build())
         .url(ComponentPropertyProperty.builder()
                 .bindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                         .property("property")
                         // the properties below are optional
                         .field("field")
                         .build())
                 .bindings(Map.of(
                         "bindingsKey", FormBindingElementProperty.builder()
                                 .element("element")
                                 .property("property")
                                 .build()))
                 .collectionBindingProperties(ComponentPropertyBindingPropertiesProperty.builder()
                         .property("property")
                         // the properties below are optional
                         .field("field")
                         .build())
                 .componentName("componentName")
                 .concat(List.of(componentPropertyProperty_))
                 .condition(ComponentConditionPropertyProperty.builder()
                         .else(componentPropertyProperty_)
                         .field("field")
                         .operand("operand")
                         .operandType("operandType")
                         .operator("operator")
                         .property("property")
                         .then(componentPropertyProperty_)
                         .build())
                 .configured(false)
                 .defaultValue("defaultValue")
                 .event("event")
                 .importedValue("importedValue")
                 .model("model")
                 .property("property")
                 .type("type")
                 .userAttribute("userAttribute")
                 .value("value")
                 .build())
         .build();
 

See Also: