ActionParametersProperty Struct
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.
| 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 actionParametersProperty: amplifyuibuilder.CfnComponent.ActionParametersProperty = {
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
action_parameters_property = 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_;
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();
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 actionParametersProperty = 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
actionParametersProperty := &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
anchoroptionalIResolvable | CfnComponent.anchoroptionaltyping.Union[IResolvable, ComponentPropertyProperty]anchoroptionalIResolvableAnchoroptionalIResolvableAnchoroptionalinterface{} #The HTML anchor link to the location to open.
Specify this value for a navigation action.
fieldsoptionalIResolvable | { [key: string]: IResolvable | CfnComponent.fieldsoptionaltyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, ComponentPropertyProperty]]]fieldsoptionalIResolvableFieldsoptionalIResolvableFieldsoptionalinterface{} #A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model.
Use when the action performs an operation on an Amplify DataStore model.
globaloptionalIResolvable | CfnComponent.globaloptionaltyping.Union[IResolvable, ComponentPropertyProperty]globaloptionalIResolvableGlobaloptionalIResolvableGlobaloptionalinterface{} #Specifies whether the user should be signed out globally.
Specify this value for an auth sign out action.
idoptionalIResolvable | CfnComponent.idoptionaltyping.Union[IResolvable, ComponentPropertyProperty]idoptionalIResolvableIdoptionalIResolvableIdoptionalinterface{} #The unique ID of the component that the `ActionParameters` apply to.
The name of the data model.
Use when the action performs an operation on an Amplify DataStore model.
stateoptionalIResolvable | CfnComponent.stateoptionaltyping.Union[IResolvable, MutationActionSetStateParameterProperty]stateoptionalIResolvableStateoptionalIResolvableStateoptionalinterface{} #A key-value pair that specifies the state property name and its initial value.
targetoptionalIResolvable | CfnComponent.targetoptionaltyping.Union[IResolvable, ComponentPropertyProperty]targetoptionalIResolvableTargetoptionalIResolvableTargetoptionalinterface{} #The element within the same component to modify when the action occurs.
typeoptionalIResolvable | CfnComponent.typeoptionaltyping.Union[IResolvable, ComponentPropertyProperty]typeoptionalIResolvableTypeoptionalIResolvableTypeoptionalinterface{} #The type of navigation action.
Valid values are url and anchor . This value is required for a navigation action.
urloptionalIResolvable | CfnComponent.urloptionaltyping.Union[IResolvable, ComponentPropertyProperty]urloptionalIResolvableUrloptionalIResolvableUrloptionalinterface{} #The URL to the location to open.
Specify this value for a navigation action.