ComponentEventProperty Struct
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.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_amplifyuibuilder as amplifyuibuilder } from 'aws-cdk-lib';
declare const componentPropertyProperty_: amplifyuibuilder.CfnComponent.ComponentPropertyProperty;
const componentEventProperty: amplifyuibuilder.CfnComponent.ComponentEventProperty = {
action: 'action',
bindingEvent: 'bindingEvent',
parameters: {
anchor: {
bindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
bindings: {
bindingsKey: {
element: 'element',
property: 'property',
},
},
collectionBindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
componentName: 'componentName',
concat: [componentPropertyProperty_],
condition: {
else: componentPropertyProperty_,
field: 'field',
operand: 'operand',
operandType: 'operandType',
operator: 'operator',
property: 'property',
then: componentPropertyProperty_,
},
configured: false,
defaultValue: 'defaultValue',
event: 'event',
importedValue: 'importedValue',
model: 'model',
property: 'property',
type: 'type',
userAttribute: 'userAttribute',
value: 'value',
},
fields: {
fieldsKey: {
bindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
bindings: {
bindingsKey: {
element: 'element',
property: 'property',
},
},
collectionBindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
componentName: 'componentName',
concat: [componentPropertyProperty_],
condition: {
else: componentPropertyProperty_,
field: 'field',
operand: 'operand',
operandType: 'operandType',
operator: 'operator',
property: 'property',
then: componentPropertyProperty_,
},
configured: false,
defaultValue: 'defaultValue',
event: 'event',
importedValue: 'importedValue',
model: 'model',
property: 'property',
type: 'type',
userAttribute: 'userAttribute',
value: 'value',
},
},
global: {
bindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
bindings: {
bindingsKey: {
element: 'element',
property: 'property',
},
},
collectionBindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
componentName: 'componentName',
concat: [componentPropertyProperty_],
condition: {
else: componentPropertyProperty_,
field: 'field',
operand: 'operand',
operandType: 'operandType',
operator: 'operator',
property: 'property',
then: componentPropertyProperty_,
},
configured: false,
defaultValue: 'defaultValue',
event: 'event',
importedValue: 'importedValue',
model: 'model',
property: 'property',
type: 'type',
userAttribute: 'userAttribute',
value: 'value',
},
id: {
bindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
bindings: {
bindingsKey: {
element: 'element',
property: 'property',
},
},
collectionBindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
componentName: 'componentName',
concat: [componentPropertyProperty_],
condition: {
else: componentPropertyProperty_,
field: 'field',
operand: 'operand',
operandType: 'operandType',
operator: 'operator',
property: 'property',
then: componentPropertyProperty_,
},
configured: false,
defaultValue: 'defaultValue',
event: 'event',
importedValue: 'importedValue',
model: 'model',
property: 'property',
type: 'type',
userAttribute: 'userAttribute',
value: 'value',
},
model: 'model',
state: {
componentName: 'componentName',
property: 'property',
set: {
bindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
bindings: {
bindingsKey: {
element: 'element',
property: 'property',
},
},
collectionBindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
componentName: 'componentName',
concat: [componentPropertyProperty_],
condition: {
else: componentPropertyProperty_,
field: 'field',
operand: 'operand',
operandType: 'operandType',
operator: 'operator',
property: 'property',
then: componentPropertyProperty_,
},
configured: false,
defaultValue: 'defaultValue',
event: 'event',
importedValue: 'importedValue',
model: 'model',
property: 'property',
type: 'type',
userAttribute: 'userAttribute',
value: 'value',
},
},
target: {
bindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
bindings: {
bindingsKey: {
element: 'element',
property: 'property',
},
},
collectionBindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
componentName: 'componentName',
concat: [componentPropertyProperty_],
condition: {
else: componentPropertyProperty_,
field: 'field',
operand: 'operand',
operandType: 'operandType',
operator: 'operator',
property: 'property',
then: componentPropertyProperty_,
},
configured: false,
defaultValue: 'defaultValue',
event: 'event',
importedValue: 'importedValue',
model: 'model',
property: 'property',
type: 'type',
userAttribute: 'userAttribute',
value: 'value',
},
type: {
bindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
bindings: {
bindingsKey: {
element: 'element',
property: 'property',
},
},
collectionBindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
componentName: 'componentName',
concat: [componentPropertyProperty_],
condition: {
else: componentPropertyProperty_,
field: 'field',
operand: 'operand',
operandType: 'operandType',
operator: 'operator',
property: 'property',
then: componentPropertyProperty_,
},
configured: false,
defaultValue: 'defaultValue',
event: 'event',
importedValue: 'importedValue',
model: 'model',
property: 'property',
type: 'type',
userAttribute: 'userAttribute',
value: 'value',
},
url: {
bindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
bindings: {
bindingsKey: {
element: 'element',
property: 'property',
},
},
collectionBindingProperties: {
property: 'property',
// the properties below are optional
field: 'field',
},
componentName: 'componentName',
concat: [componentPropertyProperty_],
condition: {
else: componentPropertyProperty_,
field: 'field',
operand: 'operand',
operandType: 'operandType',
operator: 'operator',
property: 'property',
then: componentPropertyProperty_,
},
configured: false,
defaultValue: 'defaultValue',
event: 'event',
importedValue: 'importedValue',
model: 'model',
property: 'property',
type: 'type',
userAttribute: 'userAttribute',
value: 'value',
},
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_amplifyuibuilder as amplifyuibuilder
# component_property_property_: amplifyuibuilder.CfnComponent.ComponentPropertyProperty
component_event_property = amplifyuibuilder.CfnComponent.ComponentEventProperty(
action="action",
binding_event="bindingEvent",
parameters=amplifyuibuilder.CfnComponent.ActionParametersProperty(
anchor=amplifyuibuilder.CfnComponent.ComponentPropertyProperty(
binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
bindings={
"bindings_key": amplifyuibuilder.CfnComponent.FormBindingElementProperty(
element="element",
property="property"
)
},
collection_binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
component_name="componentName",
concat=[component_property_property_],
condition=amplifyuibuilder.CfnComponent.ComponentConditionPropertyProperty(
else=component_property_property_,
field="field",
operand="operand",
operand_type="operandType",
operator="operator",
property="property",
then=component_property_property_
),
configured=False,
default_value="defaultValue",
event="event",
imported_value="importedValue",
model="model",
property="property",
type="type",
user_attribute="userAttribute",
value="value"
),
fields={
"fields_key": amplifyuibuilder.CfnComponent.ComponentPropertyProperty(
binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
bindings={
"bindings_key": amplifyuibuilder.CfnComponent.FormBindingElementProperty(
element="element",
property="property"
)
},
collection_binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
component_name="componentName",
concat=[component_property_property_],
condition=amplifyuibuilder.CfnComponent.ComponentConditionPropertyProperty(
else=component_property_property_,
field="field",
operand="operand",
operand_type="operandType",
operator="operator",
property="property",
then=component_property_property_
),
configured=False,
default_value="defaultValue",
event="event",
imported_value="importedValue",
model="model",
property="property",
type="type",
user_attribute="userAttribute",
value="value"
)
},
global=amplifyuibuilder.CfnComponent.ComponentPropertyProperty(
binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
bindings={
"bindings_key": amplifyuibuilder.CfnComponent.FormBindingElementProperty(
element="element",
property="property"
)
},
collection_binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
component_name="componentName",
concat=[component_property_property_],
condition=amplifyuibuilder.CfnComponent.ComponentConditionPropertyProperty(
else=component_property_property_,
field="field",
operand="operand",
operand_type="operandType",
operator="operator",
property="property",
then=component_property_property_
),
configured=False,
default_value="defaultValue",
event="event",
imported_value="importedValue",
model="model",
property="property",
type="type",
user_attribute="userAttribute",
value="value"
),
id=amplifyuibuilder.CfnComponent.ComponentPropertyProperty(
binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
bindings={
"bindings_key": amplifyuibuilder.CfnComponent.FormBindingElementProperty(
element="element",
property="property"
)
},
collection_binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
component_name="componentName",
concat=[component_property_property_],
condition=amplifyuibuilder.CfnComponent.ComponentConditionPropertyProperty(
else=component_property_property_,
field="field",
operand="operand",
operand_type="operandType",
operator="operator",
property="property",
then=component_property_property_
),
configured=False,
default_value="defaultValue",
event="event",
imported_value="importedValue",
model="model",
property="property",
type="type",
user_attribute="userAttribute",
value="value"
),
model="model",
state=amplifyuibuilder.CfnComponent.MutationActionSetStateParameterProperty(
component_name="componentName",
property="property",
set=amplifyuibuilder.CfnComponent.ComponentPropertyProperty(
binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
bindings={
"bindings_key": amplifyuibuilder.CfnComponent.FormBindingElementProperty(
element="element",
property="property"
)
},
collection_binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
component_name="componentName",
concat=[component_property_property_],
condition=amplifyuibuilder.CfnComponent.ComponentConditionPropertyProperty(
else=component_property_property_,
field="field",
operand="operand",
operand_type="operandType",
operator="operator",
property="property",
then=component_property_property_
),
configured=False,
default_value="defaultValue",
event="event",
imported_value="importedValue",
model="model",
property="property",
type="type",
user_attribute="userAttribute",
value="value"
)
),
target=amplifyuibuilder.CfnComponent.ComponentPropertyProperty(
binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
bindings={
"bindings_key": amplifyuibuilder.CfnComponent.FormBindingElementProperty(
element="element",
property="property"
)
},
collection_binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
component_name="componentName",
concat=[component_property_property_],
condition=amplifyuibuilder.CfnComponent.ComponentConditionPropertyProperty(
else=component_property_property_,
field="field",
operand="operand",
operand_type="operandType",
operator="operator",
property="property",
then=component_property_property_
),
configured=False,
default_value="defaultValue",
event="event",
imported_value="importedValue",
model="model",
property="property",
type="type",
user_attribute="userAttribute",
value="value"
),
type=amplifyuibuilder.CfnComponent.ComponentPropertyProperty(
binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
bindings={
"bindings_key": amplifyuibuilder.CfnComponent.FormBindingElementProperty(
element="element",
property="property"
)
},
collection_binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
component_name="componentName",
concat=[component_property_property_],
condition=amplifyuibuilder.CfnComponent.ComponentConditionPropertyProperty(
else=component_property_property_,
field="field",
operand="operand",
operand_type="operandType",
operator="operator",
property="property",
then=component_property_property_
),
configured=False,
default_value="defaultValue",
event="event",
imported_value="importedValue",
model="model",
property="property",
type="type",
user_attribute="userAttribute",
value="value"
),
url=amplifyuibuilder.CfnComponent.ComponentPropertyProperty(
binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
bindings={
"bindings_key": amplifyuibuilder.CfnComponent.FormBindingElementProperty(
element="element",
property="property"
)
},
collection_binding_properties=amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
property="property",
# the properties below are optional
field="field"
),
component_name="componentName",
concat=[component_property_property_],
condition=amplifyuibuilder.CfnComponent.ComponentConditionPropertyProperty(
else=component_property_property_,
field="field",
operand="operand",
operand_type="operandType",
operator="operator",
property="property",
then=component_property_property_
),
configured=False,
default_value="defaultValue",
event="event",
imported_value="importedValue",
model="model",
property="property",
type="type",
user_attribute="userAttribute",
value="value"
)
)
)
java
// 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_;
ComponentEventProperty componentEventProperty = ComponentEventProperty.builder()
.action("action")
.bindingEvent("bindingEvent")
.parameters(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())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AmplifyUIBuilder;
ComponentPropertyProperty componentPropertyProperty_;
var componentEventProperty = new ComponentEventProperty {
Action = "action",
BindingEvent = "bindingEvent",
Parameters = new ActionParametersProperty {
Anchor = new ComponentPropertyProperty {
BindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
Bindings = new Dictionary<string, object> {
{ "bindingsKey", new FormBindingElementProperty {
Element = "element",
Property = "property"
} }
},
CollectionBindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
ComponentName = "componentName",
Concat = new [] { componentPropertyProperty_ },
Condition = new ComponentConditionPropertyProperty {
Else = componentPropertyProperty_,
Field = "field",
Operand = "operand",
OperandType = "operandType",
Operator = "operator",
Property = "property",
Then = componentPropertyProperty_
},
Configured = false,
DefaultValue = "defaultValue",
Event = "event",
ImportedValue = "importedValue",
Model = "model",
Property = "property",
Type = "type",
UserAttribute = "userAttribute",
Value = "value"
},
Fields = new Dictionary<string, object> {
{ "fieldsKey", new ComponentPropertyProperty {
BindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
Bindings = new Dictionary<string, object> {
{ "bindingsKey", new FormBindingElementProperty {
Element = "element",
Property = "property"
} }
},
CollectionBindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
ComponentName = "componentName",
Concat = new [] { componentPropertyProperty_ },
Condition = new ComponentConditionPropertyProperty {
Else = componentPropertyProperty_,
Field = "field",
Operand = "operand",
OperandType = "operandType",
Operator = "operator",
Property = "property",
Then = componentPropertyProperty_
},
Configured = false,
DefaultValue = "defaultValue",
Event = "event",
ImportedValue = "importedValue",
Model = "model",
Property = "property",
Type = "type",
UserAttribute = "userAttribute",
Value = "value"
} }
},
Global = new ComponentPropertyProperty {
BindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
Bindings = new Dictionary<string, object> {
{ "bindingsKey", new FormBindingElementProperty {
Element = "element",
Property = "property"
} }
},
CollectionBindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
ComponentName = "componentName",
Concat = new [] { componentPropertyProperty_ },
Condition = new ComponentConditionPropertyProperty {
Else = componentPropertyProperty_,
Field = "field",
Operand = "operand",
OperandType = "operandType",
Operator = "operator",
Property = "property",
Then = componentPropertyProperty_
},
Configured = false,
DefaultValue = "defaultValue",
Event = "event",
ImportedValue = "importedValue",
Model = "model",
Property = "property",
Type = "type",
UserAttribute = "userAttribute",
Value = "value"
},
Id = new ComponentPropertyProperty {
BindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
Bindings = new Dictionary<string, object> {
{ "bindingsKey", new FormBindingElementProperty {
Element = "element",
Property = "property"
} }
},
CollectionBindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
ComponentName = "componentName",
Concat = new [] { componentPropertyProperty_ },
Condition = new ComponentConditionPropertyProperty {
Else = componentPropertyProperty_,
Field = "field",
Operand = "operand",
OperandType = "operandType",
Operator = "operator",
Property = "property",
Then = componentPropertyProperty_
},
Configured = false,
DefaultValue = "defaultValue",
Event = "event",
ImportedValue = "importedValue",
Model = "model",
Property = "property",
Type = "type",
UserAttribute = "userAttribute",
Value = "value"
},
Model = "model",
State = new MutationActionSetStateParameterProperty {
ComponentName = "componentName",
Property = "property",
Set = new ComponentPropertyProperty {
BindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
Bindings = new Dictionary<string, object> {
{ "bindingsKey", new FormBindingElementProperty {
Element = "element",
Property = "property"
} }
},
CollectionBindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
ComponentName = "componentName",
Concat = new [] { componentPropertyProperty_ },
Condition = new ComponentConditionPropertyProperty {
Else = componentPropertyProperty_,
Field = "field",
Operand = "operand",
OperandType = "operandType",
Operator = "operator",
Property = "property",
Then = componentPropertyProperty_
},
Configured = false,
DefaultValue = "defaultValue",
Event = "event",
ImportedValue = "importedValue",
Model = "model",
Property = "property",
Type = "type",
UserAttribute = "userAttribute",
Value = "value"
}
},
Target = new ComponentPropertyProperty {
BindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
Bindings = new Dictionary<string, object> {
{ "bindingsKey", new FormBindingElementProperty {
Element = "element",
Property = "property"
} }
},
CollectionBindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
ComponentName = "componentName",
Concat = new [] { componentPropertyProperty_ },
Condition = new ComponentConditionPropertyProperty {
Else = componentPropertyProperty_,
Field = "field",
Operand = "operand",
OperandType = "operandType",
Operator = "operator",
Property = "property",
Then = componentPropertyProperty_
},
Configured = false,
DefaultValue = "defaultValue",
Event = "event",
ImportedValue = "importedValue",
Model = "model",
Property = "property",
Type = "type",
UserAttribute = "userAttribute",
Value = "value"
},
Type = new ComponentPropertyProperty {
BindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
Bindings = new Dictionary<string, object> {
{ "bindingsKey", new FormBindingElementProperty {
Element = "element",
Property = "property"
} }
},
CollectionBindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
ComponentName = "componentName",
Concat = new [] { componentPropertyProperty_ },
Condition = new ComponentConditionPropertyProperty {
Else = componentPropertyProperty_,
Field = "field",
Operand = "operand",
OperandType = "operandType",
Operator = "operator",
Property = "property",
Then = componentPropertyProperty_
},
Configured = false,
DefaultValue = "defaultValue",
Event = "event",
ImportedValue = "importedValue",
Model = "model",
Property = "property",
Type = "type",
UserAttribute = "userAttribute",
Value = "value"
},
Url = new ComponentPropertyProperty {
BindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
Bindings = new Dictionary<string, object> {
{ "bindingsKey", new FormBindingElementProperty {
Element = "element",
Property = "property"
} }
},
CollectionBindingProperties = new ComponentPropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
ComponentName = "componentName",
Concat = new [] { componentPropertyProperty_ },
Condition = new ComponentConditionPropertyProperty {
Else = componentPropertyProperty_,
Field = "field",
Operand = "operand",
OperandType = "operandType",
Operator = "operator",
Property = "property",
Then = componentPropertyProperty_
},
Configured = false,
DefaultValue = "defaultValue",
Event = "event",
ImportedValue = "importedValue",
Model = "model",
Property = "property",
Type = "type",
UserAttribute = "userAttribute",
Value = "value"
}
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var componentPropertyProperty_ ComponentPropertyProperty
componentEventProperty := &ComponentEventProperty{
Action: jsii.String("action"),
BindingEvent: jsii.String("bindingEvent"),
Parameters: &ActionParametersProperty{
Anchor: &ComponentPropertyProperty{
BindingProperties: &ComponentPropertyBindingPropertiesProperty{
Property: jsii.String("property"),
// the properties below are optional
Field: jsii.String("field"),
},
Bindings: map[string]interface{}{
"bindingsKey": &FormBindingElementProperty{
"element": jsii.String("element"),
"property": jsii.String("property"),
},
},
CollectionBindingProperties: &ComponentPropertyBindingPropertiesProperty{
Property: jsii.String("property"),
// the properties below are optional
Field: jsii.String("field"),
},
ComponentName: jsii.String("componentName"),
Concat: []interface{}{
componentPropertyProperty_,
},
Condition: &ComponentConditionPropertyProperty{
Else: componentPropertyProperty_,
Field: jsii.String("field"),
Operand: jsii.String("operand"),
OperandType: jsii.String("operandType"),
Operator: jsii.String("operator"),
Property: jsii.String("property"),
Then: componentPropertyProperty_,
},
Configured: jsii.Boolean(false),
DefaultValue: jsii.String("defaultValue"),
Event: jsii.String("event"),
ImportedValue: jsii.String("importedValue"),
Model: jsii.String("model"),
Property: jsii.String("property"),
Type: jsii.String("type"),
UserAttribute: jsii.String("userAttribute"),
Value: jsii.String("value"),
},
Fields: map[string]interface{}{
"fieldsKey": &ComponentPropertyProperty{
"bindingProperties": &ComponentPropertyBindingPropertiesProperty{
"property": jsii.String("property"),
// the properties below are optional
"field": jsii.String("field"),
},
"bindings": map[string]interface{}{
"bindingsKey": &FormBindingElementProperty{
"element": jsii.String("element"),
"property": jsii.String("property"),
},
},
"collectionBindingProperties": &ComponentPropertyBindingPropertiesProperty{
"property": jsii.String("property"),
// the properties below are optional
"field": jsii.String("field"),
},
"componentName": jsii.String("componentName"),
"concat": []interface{}{
componentPropertyProperty_,
},
"condition": &ComponentConditionPropertyProperty{
"else": componentPropertyProperty_,
"field": jsii.String("field"),
"operand": jsii.String("operand"),
"operandType": jsii.String("operandType"),
"operator": jsii.String("operator"),
"property": jsii.String("property"),
"then": componentPropertyProperty_,
},
"configured": jsii.Boolean(false),
"defaultValue": jsii.String("defaultValue"),
"event": jsii.String("event"),
"importedValue": jsii.String("importedValue"),
"model": jsii.String("model"),
"property": jsii.String("property"),
"type": jsii.String("type"),
"userAttribute": jsii.String("userAttribute"),
"value": jsii.String("value"),
},
},
Global: &ComponentPropertyProperty{
BindingProperties: &ComponentPropertyBindingPropertiesProperty{
Property: jsii.String("property"),
// the properties below are optional
Field: jsii.String("field"),
},
Bindings: map[string]interface{}{
"bindingsKey": &FormBindingElementProperty{
"element": jsii.String("element"),
"property": jsii.String("property"),
},
},
CollectionBindingProperties: &ComponentPropertyBindingPropertiesProperty{
Property: jsii.String("property"),
// the properties below are optional
Field: jsii.String("field"),
},
ComponentName: jsii.String("componentName"),
Concat: []interface{}{
componentPropertyProperty_,
},
Condition: &ComponentConditionPropertyProperty{
Else: componentPropertyProperty_,
Field: jsii.String("field"),
Operand: jsii.String("operand"),
OperandType: jsii.String("operandType"),
Operator: jsii.String("operator"),
Property: jsii.String("property"),
Then: componentPropertyProperty_,
},
Configured: jsii.Boolean(false),
DefaultValue: jsii.String("defaultValue"),
Event: jsii.String("event"),
ImportedValue: jsii.String("importedValue"),
Model: jsii.String("model"),
Property: jsii.String("property"),
Type: jsii.String("type"),
UserAttribute: jsii.String("userAttribute"),
Value: jsii.String("value"),
},
Id: &ComponentPropertyProperty{
BindingProperties: &ComponentPropertyBindingPropertiesProperty{
Property: jsii.String("property"),
// the properties below are optional
Field: jsii.String("field"),
},
Bindings: map[string]interface{}{
"bindingsKey": &FormBindingElementProperty{
"element": jsii.String("element"),
"property": jsii.String("property"),
},
},
CollectionBindingProperties: &ComponentPropertyBindingPropertiesProperty{
Property: jsii.String("property"),
// the properties below are optional
Field: jsii.String("field"),
},
ComponentName: jsii.String("componentName"),
Concat: []interface{}{
componentPropertyProperty_,
},
Condition: &ComponentConditionPropertyProperty{
Else: componentPropertyProperty_,
Field: jsii.String("field"),
Operand: jsii.String("operand"),
OperandType: jsii.String("operandType"),
Operator: jsii.String("operator"),
Property: jsii.String("property"),
Then: componentPropertyProperty_,
},
Configured: jsii.Boolean(false),
DefaultValue: jsii.String("defaultValue"),
Event: jsii.String("event"),
ImportedValue: jsii.String("importedValue"),
Model: jsii.String("model"),
Property: jsii.String("property"),
Type: jsii.String("type"),
UserAttribute: jsii.String("userAttribute"),
Value: jsii.String("value"),
},
Model: jsii.String("model"),
State: &MutationActionSetStateParameterProperty{
ComponentName: jsii.String("componentName"),
Property: jsii.String("property"),
Set: &ComponentPropertyProperty{
BindingProperties: &ComponentPropertyBindingPropertiesProperty{
Property: jsii.String("property"),
// the properties below are optional
Field: jsii.String("field"),
},
Bindings: map[string]interface{}{
"bindingsKey": &FormBindingElementProperty{
"element": jsii.String("element"),
"property": jsii.String("property"),
},
},
CollectionBindingProperties: &ComponentPropertyBindingPropertiesProperty{
Property: jsii.String("property"),
// the properties below are optional
Field: jsii.String("field"),
},
ComponentName: jsii.String("componentName"),
Concat: []interface{}{
componentPropertyProperty_,
},
Condition: &ComponentConditionPropertyProperty{
Else: componentPropertyProperty_,
Field: jsii.String("field"),
Operand: jsii.String("operand"),
OperandType: jsii.String("operandType"),
Operator: jsii.String("operator"),
Property: jsii.String("property"),
Then: componentPropertyProperty_,
},
Configured: jsii.Boolean(false),
DefaultValue: jsii.String("defaultValue"),
Event: jsii.String("event"),
ImportedValue: jsii.String("importedValue"),
Model: jsii.String("model"),
Property: jsii.String("property"),
Type: jsii.String("type"),
UserAttribute: jsii.String("userAttribute"),
Value: jsii.String("value"),
},
},
Target: &ComponentPropertyProperty{
BindingProperties: &ComponentPropertyBindingPropertiesProperty{
Property: jsii.String("property"),
// the properties below are optional
Field: jsii.String("field"),
},
Bindings: map[string]interface{}{
"bindingsKey": &FormBindingElementProperty{
"element": jsii.String("element"),
"property": jsii.String("property"),
},
},
CollectionBindingProperties: &ComponentPropertyBindingPropertiesProperty{
Property: jsii.String("property"),
// the properties below are optional
Field: jsii.String("field"),
},
ComponentName: jsii.String("componentName"),
Concat: []interface{}{
componentPropertyProperty_,
},
Condition: &ComponentConditionPropertyProperty{
Else: componentPropertyProperty_,
Field: jsii.String("field"),
Operand: jsii.String("operand"),
OperandType: jsii.String("operandType"),
Operator: jsii.String("operator"),
Property: jsii.String("property"),
Then: componentPropertyProperty_,
},
Configured: jsii.Boolean(false),
DefaultValue: jsii.String("defaultValue"),
Event: jsii.String("event"),
ImportedValue: jsii.String("importedValue"),
Model: jsii.String("model"),
Property: jsii.String("property"),
Type: jsii.String("type"),
UserAttribute: jsii.String("userAttribute"),
Value: jsii.String("value"),
},
Type: &ComponentPropertyProperty{
BindingProperties: &ComponentPropertyBindingPropertiesProperty{
Property: jsii.String("property"),
// the properties below are optional
Field: jsii.String("field"),
},
Bindings: map[string]interface{}{
"bindingsKey": &FormBindingElementProperty{
"element": jsii.String("element"),
"property": jsii.String("property"),
},
},
CollectionBindingProperties: &ComponentPropertyBindingPropertiesProperty{
Property: jsii.String("property"),
// the properties below are optional
Field: jsii.String("field"),
},
ComponentName: jsii.String("componentName"),
Concat: []interface{}{
componentPropertyProperty_,
},
Condition: &ComponentConditionPropertyProperty{
Else: componentPropertyProperty_,
Field: jsii.String("field"),
Operand: jsii.String("operand"),
OperandType: jsii.String("operandType"),
Operator: jsii.String("operator"),
Property: jsii.String("property"),
Then: componentPropertyProperty_,
},
Configured: jsii.Boolean(false),
DefaultValue: jsii.String("defaultValue"),
Event: jsii.String("event"),
ImportedValue: jsii.String("importedValue"),
Model: jsii.String("model"),
Property: jsii.String("property"),
Type: jsii.String("type"),
UserAttribute: jsii.String("userAttribute"),
Value: jsii.String("value"),
},
Url: &ComponentPropertyProperty{
BindingProperties: &ComponentPropertyBindingPropertiesProperty{
Property: jsii.String("property"),
// the properties below are optional
Field: jsii.String("field"),
},
Bindings: map[string]interface{}{
"bindingsKey": &FormBindingElementProperty{
"element": jsii.String("element"),
"property": jsii.String("property"),
},
},
CollectionBindingProperties: &ComponentPropertyBindingPropertiesProperty{
Property: jsii.String("property"),
// the properties below are optional
Field: jsii.String("field"),
},
ComponentName: jsii.String("componentName"),
Concat: []interface{}{
componentPropertyProperty_,
},
Condition: &ComponentConditionPropertyProperty{
Else: componentPropertyProperty_,
Field: jsii.String("field"),
Operand: jsii.String("operand"),
OperandType: jsii.String("operandType"),
Operator: jsii.String("operator"),
Property: jsii.String("property"),
Then: componentPropertyProperty_,
},
Configured: jsii.Boolean(false),
DefaultValue: jsii.String("defaultValue"),
Event: jsii.String("event"),
ImportedValue: jsii.String("importedValue"),
Model: jsii.String("model"),
Property: jsii.String("property"),
Type: jsii.String("type"),
UserAttribute: jsii.String("userAttribute"),
Value: jsii.String("value"),
},
},
}
Properties
actionoptionalstringactionoptionalstractionoptionalStringActionoptionalstringActionoptional*string #The action to perform when a specific event is raised.
bindingEventoptionalstringbinding_eventoptionalstrbindingEventoptionalStringBindingEventoptionalstringBindingEventoptional*string #Binds an event to an action on a component.
When you specify a bindingEvent , the event is called when the action is performed.
parametersoptionalIResolvable | CfnComponent.parametersoptionaltyping.Union[IResolvable, ActionParametersProperty]parametersoptionalIResolvableParametersoptionalIResolvableParametersoptionalinterface{} #Describes information about the action.