CfnComponent

class aws_cdk.aws_amplifyuibuilder.CfnComponent(scope, id, *, binding_properties, component_type, name, overrides, properties, variants, app_id=None, children=None, collection_properties=None, environment_name=None, events=None, schema_version=None, source_id=None, tags=None)

Bases: CfnResource

A CloudFormation AWS::AmplifyUIBuilder::Component.

The AWS::AmplifyUIBuilder::Component resource specifies a component within an Amplify app. A component is a user interface (UI) element that you can customize. Use ComponentChild to configure an instance of a Component . A ComponentChild instance inherits the configuration of the main Component .

CloudformationResource:

AWS::AmplifyUIBuilder::Component

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

# component_child_property_: amplifyuibuilder.CfnComponent.ComponentChildProperty
# component_property_property_: amplifyuibuilder.CfnComponent.ComponentPropertyProperty
# overrides: Any
# predicate_property_: amplifyuibuilder.CfnComponent.PredicateProperty

cfn_component = amplifyuibuilder.CfnComponent(self, "MyCfnComponent",
    binding_properties={
        "binding_properties_key": amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValueProperty(
            binding_properties=amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValuePropertiesProperty(
                bucket="bucket",
                default_value="defaultValue",
                field="field",
                key="key",
                model="model",
                predicates=[amplifyuibuilder.CfnComponent.PredicateProperty(
                    and=[predicate_property_],
                    field="field",
                    operand="operand",
                    operator="operator",
                    or=[predicate_property_]
                )],
                user_attribute="userAttribute"
            ),
            default_value="defaultValue",
            type="type"
        )
    },
    component_type="componentType",
    name="name",
    overrides=overrides,
    properties={
        "properties_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"
        )
    },
    variants=[amplifyuibuilder.CfnComponent.ComponentVariantProperty(
        overrides=overrides,
        variant_values={
            "variant_values_key": "variantValues"
        }
    )],

    # the properties below are optional
    app_id="appId",
    children=[amplifyuibuilder.CfnComponent.ComponentChildProperty(
        component_type="componentType",
        name="name",
        properties={
            "properties_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"
            )
        },

        # the properties below are optional
        children=[component_child_property_],
        events={
            "events_key": amplifyuibuilder.CfnComponent.ComponentEventProperty(
                action="action",
                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"
                    )
                )
            )
        }
    )],
    collection_properties={
        "collection_properties_key": amplifyuibuilder.CfnComponent.ComponentDataConfigurationProperty(
            model="model",

            # the properties below are optional
            identifiers=["identifiers"],
            predicate=amplifyuibuilder.CfnComponent.PredicateProperty(
                and=[predicate_property_],
                field="field",
                operand="operand",
                operator="operator",
                or=[predicate_property_]
            ),
            sort=[amplifyuibuilder.CfnComponent.SortPropertyProperty(
                direction="direction",
                field="field"
            )]
        )
    },
    environment_name="environmentName",
    events={
        "events_key": amplifyuibuilder.CfnComponent.ComponentEventProperty(
            action="action",
            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"
                )
            )
        )
    },
    schema_version="schemaVersion",
    source_id="sourceId",
    tags={
        "tags_key": "tags"
    }
)

Create a new AWS::AmplifyUIBuilder::Component.

Parameters:
  • scope (Construct) –

    • scope in which this resource is defined.

  • id (str) –

    • scoped id of the resource.

  • binding_properties (Union[Mapping[str, Union[IResolvable, ComponentBindingPropertiesValueProperty, Dict[str, Any]]], IResolvable]) – The information to connect a component’s properties to data at runtime. You can’t specify tags as a valid property for bindingProperties .

  • component_type (str) – The type of the component. This can be an Amplify custom UI component or another custom component.

  • name (str) – The name of the component.

  • overrides (Any) – Describes the component’s properties that can be overriden in a customized instance of the component. You can’t specify tags as a valid property for overrides .

  • properties (Union[IResolvable, Mapping[str, Union[IResolvable, ComponentPropertyProperty, Dict[str, Any]]]]) – Describes the component’s properties. You can’t specify tags as a valid property for properties .

  • variants (Union[IResolvable, Sequence[Union[IResolvable, ComponentVariantProperty, Dict[str, Any]]]]) – A list of the component’s variants. A variant is a unique style configuration of a main component.

  • app_id (Optional[str]) – AWS::AmplifyUIBuilder::Component.AppId.

  • children (Union[IResolvable, Sequence[Union[IResolvable, ComponentChildProperty, Dict[str, Any]]], None]) – A list of the component’s ComponentChild instances.

  • collection_properties (Union[IResolvable, Mapping[str, Union[IResolvable, ComponentDataConfigurationProperty, Dict[str, Any]]], None]) – The data binding configuration for the component’s properties. Use this for a collection component. You can’t specify tags as a valid property for collectionProperties .

  • environment_name (Optional[str]) – AWS::AmplifyUIBuilder::Component.EnvironmentName.

  • events (Union[IResolvable, Mapping[str, Union[IResolvable, ComponentEventProperty, Dict[str, Any]]], None]) – Describes the events that can be raised on the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.

  • schema_version (Optional[str]) – The schema version of the component when it was imported.

  • source_id (Optional[str]) – The unique ID of the component in its original source system, such as Figma.

  • tags (Optional[Mapping[str, str]]) – One or more key-value pairs to use when tagging the component.

Methods

add_deletion_override(path)

Syntactic sugar for addOverride(path, undefined).

Parameters:

path (str) – The path of the value to delete.

Return type:

None

add_depends_on(target)

Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.

Parameters:

target (CfnResource) –

Return type:

None

add_metadata(key, value)

Add a value to the CloudFormation Resource Metadata.

Parameters:
  • key (str) –

  • value (Any) –

See:

Return type:

None

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

add_override(path, value)

Adds an override to the synthesized CloudFormation resource.

To add a property override, either use addPropertyOverride or prefix path with “Properties.” (i.e. Properties.TopicName).

If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.

To include a literal . in the property name, prefix with a \. In most programming languages you will need to write this as "\\." because the \ itself will need to be escaped.

For example:

cfn_resource.add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"])
cfn_resource.add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")

would add the overrides Example:

"Properties": {
   "GlobalSecondaryIndexes": [
     {
       "Projection": {
         "NonKeyAttributes": [ "myattribute" ]
         ...
       }
       ...
     },
     {
       "ProjectionType": "INCLUDE"
       ...
     },
   ]
   ...
}

The value argument to addOverride will not be processed or translated in any way. Pass raw JSON values in here with the correct capitalization for CloudFormation. If you pass CDK classes or structs, they will be rendered with lowercased key names, and CloudFormation will reject the template.

Parameters:
  • path (str) –

    • The path of the property, you can use dot notation to override values in complex types. Any intermdediate keys will be created as needed.

  • value (Any) –

    • The value. Could be primitive or complex.

Return type:

None

add_property_deletion_override(property_path)

Adds an override that deletes the value of a property from the resource definition.

Parameters:

property_path (str) – The path to the property.

Return type:

None

add_property_override(property_path, value)

Adds an override to a resource property.

Syntactic sugar for addOverride("Properties.<...>", value).

Parameters:
  • property_path (str) – The path of the property.

  • value (Any) – The value.

Return type:

None

apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)

Sets the deletion policy of the resource based on the removal policy specified.

The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you’ve removed it from the CDK application or because you’ve made a change that requires the resource to be replaced.

The resource can be deleted (RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).

Parameters:
  • policy (Optional[RemovalPolicy]) –

  • apply_to_update_replace_policy (Optional[bool]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: true

  • default (Optional[RemovalPolicy]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resoure, please consult that specific resource’s documentation.

Return type:

None

get_att(attribute_name)

Returns a token for an runtime attribute of this resource.

Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.

Parameters:

attribute_name (str) – The name of the attribute.

Return type:

Reference

get_metadata(key)

Retrieve a value value from the CloudFormation Resource Metadata.

Parameters:

key (str) –

See:

Return type:

Any

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html

Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.

inspect(inspector)

Examines the CloudFormation resource and discloses attributes.

Parameters:

inspector (TreeInspector) –

  • tree inspector to collect and process attributes.

Return type:

None

override_logical_id(new_logical_id)

Overrides the auto-generated logical ID with a specific ID.

Parameters:

new_logical_id (str) – The new logical ID to use for this stack element.

Return type:

None

to_string()

Returns a string representation of this construct.

Return type:

str

Returns:

a string representation of this resource

Attributes

CFN_RESOURCE_TYPE_NAME = 'AWS::AmplifyUIBuilder::Component'
app_id

AWS::AmplifyUIBuilder::Component.AppId.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-appid

attr_id

The unique ID of the component.

CloudformationAttribute:

Id

binding_properties

The information to connect a component’s properties to data at runtime.

You can’t specify tags as a valid property for bindingProperties .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-bindingproperties

cfn_options

Options for this resource, such as condition, update policy etc.

cfn_resource_type

AWS resource type.

children

A list of the component’s ComponentChild instances.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-children

collection_properties

The data binding configuration for the component’s properties.

Use this for a collection component. You can’t specify tags as a valid property for collectionProperties .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-collectionproperties

component_type

The type of the component.

This can be an Amplify custom UI component or another custom component.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-componenttype

creation_stack

return:

the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.

environment_name

AWS::AmplifyUIBuilder::Component.EnvironmentName.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-environmentname

events

Describes the events that can be raised on the component.

Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-events

logical_id

The logical ID for this CloudFormation stack element.

The logical ID of the element is calculated from the path of the resource node in the construct tree.

To override this value, use overrideLogicalId(newLogicalId).

Returns:

the logical ID as a stringified token. This value will only get resolved during synthesis.

name

The name of the component.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-name

node

The construct tree node associated with this construct.

overrides

Describes the component’s properties that can be overriden in a customized instance of the component.

You can’t specify tags as a valid property for overrides .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-overrides

properties

Describes the component’s properties.

You can’t specify tags as a valid property for properties .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-properties

ref

Return a string that will be resolved to a CloudFormation { Ref } for this element.

If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).

schema_version

The schema version of the component when it was imported.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-schemaversion

source_id

The unique ID of the component in its original source system, such as Figma.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-sourceid

stack

The stack in which this element is defined.

CfnElements must be defined within a stack scope (directly or indirectly).

tags

One or more key-value pairs to use when tagging the component.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-tags

variants

A list of the component’s variants.

A variant is a unique style configuration of a main component.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-component.html#cfn-amplifyuibuilder-component-variants

Static Methods

classmethod is_cfn_element(x)

Returns true if a construct is a stack element (i.e. part of the synthesized cloudformation template).

Uses duck-typing instead of instanceof to allow stack elements from different versions of this library to be included in the same stack.

Parameters:

x (Any) –

Return type:

bool

Returns:

The construct as a stack element or undefined if it is not a stack element.

classmethod is_cfn_resource(construct)

Check whether the given construct is a CfnResource.

Parameters:

construct (IConstruct) –

Return type:

bool

classmethod is_construct(x)

Return whether the given object is a Construct.

Parameters:

x (Any) –

Return type:

bool

ActionParametersProperty

class CfnComponent.ActionParametersProperty(*, anchor=None, fields=None, global_=None, id=None, model=None, state=None, target=None, type=None, url=None)

Bases: object

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.

Parameters:
  • anchor (Union[IResolvable, ComponentPropertyProperty, Dict[str, Any], None]) – The HTML anchor link to the location to open. Specify this value for a navigation action.

  • fields (Union[IResolvable, Mapping[str, Union[IResolvable, ComponentPropertyProperty, Dict[str, Any]]], None]) – 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.

  • global – Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.

  • id (Union[IResolvable, ComponentPropertyProperty, Dict[str, Any], None]) – The unique ID of the component that the ActionParameters apply to.

  • model (Optional[str]) – The name of the data model. Use when the action performs an operation on an Amplify DataStore model.

  • state (Union[IResolvable, MutationActionSetStateParameterProperty, Dict[str, Any], None]) – A key-value pair that specifies the state property name and its initial value.

  • target (Union[IResolvable, ComponentPropertyProperty, Dict[str, Any], None]) – The element within the same component to modify when the action occurs.

  • type (Union[IResolvable, ComponentPropertyProperty, Dict[str, Any], None]) – The type of navigation action. Valid values are url and anchor . This value is required for a navigation action.

  • url (Union[IResolvable, ComponentPropertyProperty, Dict[str, Any], None]) – The URL to the location to open. Specify this value for a navigation action.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-actionparameters.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.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"
    )
)

Attributes

anchor

The HTML anchor link to the location to open.

Specify this value for a navigation action.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-actionparameters.html#cfn-amplifyuibuilder-component-actionparameters-anchor

fields

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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-actionparameters.html#cfn-amplifyuibuilder-component-actionparameters-fields

global_

Specifies whether the user should be signed out globally.

Specify this value for an auth sign out action.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-actionparameters.html#cfn-amplifyuibuilder-component-actionparameters-global

id

The unique ID of the component that the ActionParameters apply to.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-actionparameters.html#cfn-amplifyuibuilder-component-actionparameters-id

model

The name of the data model.

Use when the action performs an operation on an Amplify DataStore model.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-actionparameters.html#cfn-amplifyuibuilder-component-actionparameters-model

state

A key-value pair that specifies the state property name and its initial value.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-actionparameters.html#cfn-amplifyuibuilder-component-actionparameters-state

target

The element within the same component to modify when the action occurs.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-actionparameters.html#cfn-amplifyuibuilder-component-actionparameters-target

type

The type of navigation action.

Valid values are url and anchor . This value is required for a navigation action.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-actionparameters.html#cfn-amplifyuibuilder-component-actionparameters-type

url

The URL to the location to open.

Specify this value for a navigation action.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-actionparameters.html#cfn-amplifyuibuilder-component-actionparameters-url

ComponentBindingPropertiesValuePropertiesProperty

class CfnComponent.ComponentBindingPropertiesValuePropertiesProperty(*, bucket=None, default_value=None, field=None, key=None, model=None, predicates=None, user_attribute=None)

Bases: object

The ComponentBindingPropertiesValueProperties property specifies the data binding configuration for a specific property using data stored in AWS .

For AWS connected properties, you can bind a property to data stored in an Amazon S3 bucket, an Amplify DataStore model or an authenticated user attribute.

Parameters:
  • bucket (Optional[str]) – An Amazon S3 bucket.

  • default_value (Optional[str]) – The default value to assign to the property.

  • field (Optional[str]) – The field to bind the data to.

  • key (Optional[str]) – The storage key for an Amazon S3 bucket.

  • model (Optional[str]) – An Amplify DataStore model.

  • predicates (Union[IResolvable, Sequence[Union[IResolvable, PredicateProperty, Dict[str, Any]]], None]) – A list of predicates for binding a component’s properties to data.

  • user_attribute (Optional[str]) – An authenticated user attribute.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

# predicate_property_: amplifyuibuilder.CfnComponent.PredicateProperty

component_binding_properties_value_properties_property = amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValuePropertiesProperty(
    bucket="bucket",
    default_value="defaultValue",
    field="field",
    key="key",
    model="model",
    predicates=[amplifyuibuilder.CfnComponent.PredicateProperty(
        and=[predicate_property_],
        field="field",
        operand="operand",
        operator="operator",
        or=[predicate_property_]
    )],
    user_attribute="userAttribute"
)

Attributes

bucket

An Amazon S3 bucket.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalueproperties-bucket

default_value

The default value to assign to the property.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalueproperties-defaultvalue

field

The field to bind the data to.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalueproperties-field

key

The storage key for an Amazon S3 bucket.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalueproperties-key

model

An Amplify DataStore model.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalueproperties-model

predicates

A list of predicates for binding a component’s properties to data.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalueproperties-predicates

user_attribute

An authenticated user attribute.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalueproperties.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalueproperties-userattribute

ComponentBindingPropertiesValueProperty

class CfnComponent.ComponentBindingPropertiesValueProperty(*, binding_properties=None, default_value=None, type=None)

Bases: object

The ComponentBindingPropertiesValue property specifies the data binding configuration for a component at runtime.

You can use ComponentBindingPropertiesValue to add exposed properties to a component to allow different values to be entered when a component is reused in different places in an app.

Parameters:
Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalue.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

# predicate_property_: amplifyuibuilder.CfnComponent.PredicateProperty

component_binding_properties_value_property = amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValueProperty(
    binding_properties=amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValuePropertiesProperty(
        bucket="bucket",
        default_value="defaultValue",
        field="field",
        key="key",
        model="model",
        predicates=[amplifyuibuilder.CfnComponent.PredicateProperty(
            and=[predicate_property_],
            field="field",
            operand="operand",
            operator="operator",
            or=[predicate_property_]
        )],
        user_attribute="userAttribute"
    ),
    default_value="defaultValue",
    type="type"
)

Attributes

binding_properties

Describes the properties to customize with data at runtime.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalue.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalue-bindingproperties

default_value

The default value of the property.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalue.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalue-defaultvalue

type

The property type.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentbindingpropertiesvalue.html#cfn-amplifyuibuilder-component-componentbindingpropertiesvalue-type

ComponentChildProperty

class CfnComponent.ComponentChildProperty(*, component_type, name, properties, children=None, events=None)

Bases: object

The ComponentChild property specifies a nested UI configuration within a parent Component .

Parameters:
  • component_type (str) – The type of the child component.

  • name (str) – The name of the child component.

  • properties (Union[IResolvable, Mapping[str, Union[IResolvable, ComponentPropertyProperty, Dict[str, Any]]]]) – Describes the properties of the child component. You can’t specify tags as a valid property for properties .

  • children (Union[IResolvable, Sequence[Union[IResolvable, ComponentChildProperty, Dict[str, Any]]], None]) – The list of ComponentChild instances for this component.

  • events (Union[IResolvable, Mapping[str, Union[IResolvable, ComponentEventProperty, Dict[str, Any]]], None]) – Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentchild.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

# component_child_property_: amplifyuibuilder.CfnComponent.ComponentChildProperty
# component_property_property_: amplifyuibuilder.CfnComponent.ComponentPropertyProperty

component_child_property = amplifyuibuilder.CfnComponent.ComponentChildProperty(
    component_type="componentType",
    name="name",
    properties={
        "properties_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"
        )
    },

    # the properties below are optional
    children=[amplifyuibuilder.CfnComponent.ComponentChildProperty(
        component_type="componentType",
        name="name",
        properties={
            "properties_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"
            )
        },

        # the properties below are optional
        children=[component_child_property_],
        events={
            "events_key": amplifyuibuilder.CfnComponent.ComponentEventProperty(
                action="action",
                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"
                    )
                )
            )
        }
    )],
    events={
        "events_key": amplifyuibuilder.CfnComponent.ComponentEventProperty(
            action="action",
            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"
                )
            )
        )
    }
)

Attributes

children

The list of ComponentChild instances for this component.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentchild.html#cfn-amplifyuibuilder-component-componentchild-children

component_type

The type of the child component.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentchild.html#cfn-amplifyuibuilder-component-componentchild-componenttype

events

Describes the events that can be raised on the child component.

Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentchild.html#cfn-amplifyuibuilder-component-componentchild-events

name

The name of the child component.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentchild.html#cfn-amplifyuibuilder-component-componentchild-name

properties

Describes the properties of the child component.

You can’t specify tags as a valid property for properties .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentchild.html#cfn-amplifyuibuilder-component-componentchild-properties

ComponentConditionPropertyProperty

class CfnComponent.ComponentConditionPropertyProperty(*, else_=None, field=None, operand=None, operand_type=None, operator=None, property=None, then=None)

Bases: object

The ComponentConditionProperty property specifies a conditional expression for setting a component property.

Use ComponentConditionProperty to set a property to different values conditionally, based on the value of another property.

Parameters:
  • else – The value to assign to the property if the condition is not met.

  • field (Optional[str]) – The name of a field. Specify this when the property is a data model.

  • operand (Optional[str]) – The value of the property to evaluate.

  • operand_type (Optional[str]) – The type of the property to evaluate.

  • operator (Optional[str]) – The operator to use to perform the evaluation, such as eq to represent equals.

  • property (Optional[str]) – The name of the conditional property.

  • then (Union[IResolvable, ComponentPropertyProperty, Dict[str, Any], None]) – The value to assign to the property if the condition is met.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

# component_property_property_: amplifyuibuilder.CfnComponent.ComponentPropertyProperty

component_condition_property_property = amplifyuibuilder.CfnComponent.ComponentConditionPropertyProperty(
    else=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"
    ),
    field="field",
    operand="operand",
    operand_type="operandType",
    operator="operator",
    property="property",
    then=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"
    )
)

Attributes

else_

The value to assign to the property if the condition is not met.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-else

field

The name of a field.

Specify this when the property is a data model.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-field

operand

The value of the property to evaluate.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-operand

operand_type

The type of the property to evaluate.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-operandtype

operator

The operator to use to perform the evaluation, such as eq to represent equals.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-operator

property

The name of the conditional property.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-property

then

The value to assign to the property if the condition is met.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentconditionproperty.html#cfn-amplifyuibuilder-component-componentconditionproperty-then

ComponentDataConfigurationProperty

class CfnComponent.ComponentDataConfigurationProperty(*, model, identifiers=None, predicate=None, sort=None)

Bases: object

The ComponentDataConfiguration property specifies the configuration for binding a component’s properties to data.

Parameters:
  • model (str) – The name of the data model to use to bind data to a component.

  • identifiers (Optional[Sequence[str]]) – A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.

  • predicate (Union[IResolvable, PredicateProperty, Dict[str, Any], None]) – Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.

  • sort (Union[IResolvable, Sequence[Union[IResolvable, SortPropertyProperty, Dict[str, Any]]], None]) – Describes how to sort the component’s properties.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentdataconfiguration.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

# predicate_property_: amplifyuibuilder.CfnComponent.PredicateProperty

component_data_configuration_property = amplifyuibuilder.CfnComponent.ComponentDataConfigurationProperty(
    model="model",

    # the properties below are optional
    identifiers=["identifiers"],
    predicate=amplifyuibuilder.CfnComponent.PredicateProperty(
        and=[predicate_property_],
        field="field",
        operand="operand",
        operator="operator",
        or=[predicate_property_]
    ),
    sort=[amplifyuibuilder.CfnComponent.SortPropertyProperty(
        direction="direction",
        field="field"
    )]
)

Attributes

identifiers

A list of IDs to use to bind data to a component.

Use this property to bind specifically chosen data, rather than data retrieved from a query.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentdataconfiguration.html#cfn-amplifyuibuilder-component-componentdataconfiguration-identifiers

model

The name of the data model to use to bind data to a component.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentdataconfiguration.html#cfn-amplifyuibuilder-component-componentdataconfiguration-model

predicate

Represents the conditional logic to use when binding data to a component.

Use this property to retrieve only a subset of the data in a collection.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentdataconfiguration.html#cfn-amplifyuibuilder-component-componentdataconfiguration-predicate

sort

Describes how to sort the component’s properties.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentdataconfiguration.html#cfn-amplifyuibuilder-component-componentdataconfiguration-sort

ComponentEventProperty

class CfnComponent.ComponentEventProperty(*, action=None, parameters=None)

Bases: object

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.

Parameters:
  • action (Optional[str]) – The action to perform when a specific event is raised.

  • parameters (Union[IResolvable, ActionParametersProperty, Dict[str, Any], None]) – Describes information about the action.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentevent.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

# component_property_property_: amplifyuibuilder.CfnComponent.ComponentPropertyProperty

component_event_property = amplifyuibuilder.CfnComponent.ComponentEventProperty(
    action="action",
    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"
        )
    )
)

Attributes

action

The action to perform when a specific event is raised.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentevent.html#cfn-amplifyuibuilder-component-componentevent-action

parameters

Describes information about the action.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentevent.html#cfn-amplifyuibuilder-component-componentevent-parameters

ComponentPropertyBindingPropertiesProperty

class CfnComponent.ComponentPropertyBindingPropertiesProperty(*, property, field=None)

Bases: object

The ComponentPropertyBindingProperties property specifies a component property to associate with a binding property.

This enables exposed properties on the top level component to propagate data to the component’s property values.

Parameters:
  • property (str) – The component property to bind to the data field.

  • field (Optional[str]) – The data field to bind the property to.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentpropertybindingproperties.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

component_property_binding_properties_property = amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty(
    property="property",

    # the properties below are optional
    field="field"
)

Attributes

field

The data field to bind the property to.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentpropertybindingproperties.html#cfn-amplifyuibuilder-component-componentpropertybindingproperties-field

property

The component property to bind to the data field.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentpropertybindingproperties.html#cfn-amplifyuibuilder-component-componentpropertybindingproperties-property

ComponentPropertyProperty

class CfnComponent.ComponentPropertyProperty(*, binding_properties=None, bindings=None, collection_binding_properties=None, component_name=None, concat=None, condition=None, configured=None, default_value=None, event=None, imported_value=None, model=None, property=None, type=None, user_attribute=None, value=None)

Bases: object

The ComponentProperty property specifies the configuration for all of a component’s properties.

Use ComponentProperty to specify the values to render or bind by default.

Parameters:
  • binding_properties (Union[IResolvable, ComponentPropertyBindingPropertiesProperty, Dict[str, Any], None]) – The information to bind the component property to data at runtime.

  • bindings (Union[IResolvable, Mapping[str, Union[IResolvable, FormBindingElementProperty, Dict[str, Any]]], None]) – The information to bind the component property to form data.

  • collection_binding_properties (Union[IResolvable, ComponentPropertyBindingPropertiesProperty, Dict[str, Any], None]) – The information to bind the component property to data at runtime. Use this for collection components.

  • component_name (Optional[str]) – The name of the component that is affected by an event.

  • concat (Union[IResolvable, Sequence[Union[IResolvable, ComponentPropertyProperty, Dict[str, Any]]], None]) – A list of component properties to concatenate to create the value to assign to this component property.

  • condition (Union[IResolvable, ComponentConditionPropertyProperty, Dict[str, Any], None]) – The conditional expression to use to assign a value to the component property.

  • configured (Union[bool, IResolvable, None]) – Specifies whether the user configured the property in Amplify Studio after importing it.

  • default_value (Optional[str]) – The default value to assign to the component property.

  • event (Optional[str]) – An event that occurs in your app. Use this for workflow data binding.

  • imported_value (Optional[str]) – The default value assigned to the property when the component is imported into an app.

  • model (Optional[str]) – The data model to use to assign a value to the component property.

  • property (Optional[str]) – The name of the component’s property that is affected by an event.

  • type (Optional[str]) – The component type.

  • user_attribute (Optional[str]) – An authenticated user attribute to use to assign a value to the component property.

  • value (Optional[str]) – The value to assign to the component property.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

# component_condition_property_property_: amplifyuibuilder.CfnComponent.ComponentConditionPropertyProperty
# component_property_property_: amplifyuibuilder.CfnComponent.ComponentPropertyProperty

component_property_property = 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=[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"
    )],
    condition=amplifyuibuilder.CfnComponent.ComponentConditionPropertyProperty(
        else=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=component_condition_property_property_,
            configured=False,
            default_value="defaultValue",
            event="event",
            imported_value="importedValue",
            model="model",
            property="property",
            type="type",
            user_attribute="userAttribute",
            value="value"
        ),
        field="field",
        operand="operand",
        operand_type="operandType",
        operator="operator",
        property="property",
        then=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=component_condition_property_property_,
            configured=False,
            default_value="defaultValue",
            event="event",
            imported_value="importedValue",
            model="model",
            property="property",
            type="type",
            user_attribute="userAttribute",
            value="value"
        )
    ),
    configured=False,
    default_value="defaultValue",
    event="event",
    imported_value="importedValue",
    model="model",
    property="property",
    type="type",
    user_attribute="userAttribute",
    value="value"
)

Attributes

binding_properties

The information to bind the component property to data at runtime.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-bindingproperties

bindings

The information to bind the component property to form data.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-bindings

collection_binding_properties

The information to bind the component property to data at runtime.

Use this for collection components.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-collectionbindingproperties

component_name

The name of the component that is affected by an event.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-componentname

concat

A list of component properties to concatenate to create the value to assign to this component property.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-concat

condition

The conditional expression to use to assign a value to the component property.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-condition

configured

Specifies whether the user configured the property in Amplify Studio after importing it.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-configured

default_value

The default value to assign to the component property.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-defaultvalue

event

An event that occurs in your app.

Use this for workflow data binding.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-event

imported_value

The default value assigned to the property when the component is imported into an app.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-importedvalue

model

The data model to use to assign a value to the component property.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-model

property

The name of the component’s property that is affected by an event.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-property

type

The component type.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-type

user_attribute

An authenticated user attribute to use to assign a value to the component property.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-userattribute

value

The value to assign to the component property.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-value

ComponentVariantProperty

class CfnComponent.ComponentVariantProperty(*, overrides=None, variant_values=None)

Bases: object

The ComponentVariant property specifies the style configuration of a unique variation of a main component.

Parameters:
  • overrides (Optional[Any]) – The properties of the component variant that can be overriden when customizing an instance of the component. You can’t specify tags as a valid property for overrides .

  • variant_values (Union[IResolvable, Mapping[str, str], None]) – The combination of variants that comprise this variant.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentvariant.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

# overrides: Any

component_variant_property = amplifyuibuilder.CfnComponent.ComponentVariantProperty(
    overrides=overrides,
    variant_values={
        "variant_values_key": "variantValues"
    }
)

Attributes

overrides

The properties of the component variant that can be overriden when customizing an instance of the component.

You can’t specify tags as a valid property for overrides .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentvariant.html#cfn-amplifyuibuilder-component-componentvariant-overrides

variant_values

The combination of variants that comprise this variant.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentvariant.html#cfn-amplifyuibuilder-component-componentvariant-variantvalues

FormBindingElementProperty

class CfnComponent.FormBindingElementProperty(*, element, property)

Bases: object

Parameters:
  • element (str) – CfnComponent.FormBindingElementProperty.Element.

  • property (str) – CfnComponent.FormBindingElementProperty.Property.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-formbindingelement.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

form_binding_element_property = amplifyuibuilder.CfnComponent.FormBindingElementProperty(
    element="element",
    property="property"
)

Attributes

element

CfnComponent.FormBindingElementProperty.Element.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-formbindingelement.html#cfn-amplifyuibuilder-component-formbindingelement-element

property

CfnComponent.FormBindingElementProperty.Property.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-formbindingelement.html#cfn-amplifyuibuilder-component-formbindingelement-property

MutationActionSetStateParameterProperty

class CfnComponent.MutationActionSetStateParameterProperty(*, component_name, property, set)

Bases: object

Represents the state configuration when an action modifies a property of another element within the same component.

Parameters:
  • component_name (str) – The name of the component that is being modified.

  • property (str) – The name of the component property to apply the state configuration to.

  • set (Union[IResolvable, ComponentPropertyProperty, Dict[str, Any]]) – The state configuration to assign to the property.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-mutationactionsetstateparameter.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

# component_property_property_: amplifyuibuilder.CfnComponent.ComponentPropertyProperty

mutation_action_set_state_parameter_property = 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"
    )
)

Attributes

component_name

The name of the component that is being modified.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-mutationactionsetstateparameter.html#cfn-amplifyuibuilder-component-mutationactionsetstateparameter-componentname

property

The name of the component property to apply the state configuration to.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-mutationactionsetstateparameter.html#cfn-amplifyuibuilder-component-mutationactionsetstateparameter-property

set

The state configuration to assign to the property.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-mutationactionsetstateparameter.html#cfn-amplifyuibuilder-component-mutationactionsetstateparameter-set

PredicateProperty

class CfnComponent.PredicateProperty(*, and_=None, field=None, operand=None, operator=None, or_=None)

Bases: object

The Predicate property specifies information for generating Amplify DataStore queries.

Use Predicate to retrieve a subset of the data in a collection.

Parameters:
  • and – A list of predicates to combine logically.

  • field (Optional[str]) – The field to query.

  • operand (Optional[str]) – The value to use when performing the evaluation.

  • operator (Optional[str]) – The operator to use to perform the evaluation.

  • or – A list of predicates to combine logically.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

# predicate_property_: amplifyuibuilder.CfnComponent.PredicateProperty

predicate_property = amplifyuibuilder.CfnComponent.PredicateProperty(
    and=[amplifyuibuilder.CfnComponent.PredicateProperty(
        and=[predicate_property_],
        field="field",
        operand="operand",
        operator="operator",
        or=[predicate_property_]
    )],
    field="field",
    operand="operand",
    operator="operator",
    or=[amplifyuibuilder.CfnComponent.PredicateProperty(
        and=[predicate_property_],
        field="field",
        operand="operand",
        operator="operator",
        or=[predicate_property_]
    )]
)

Attributes

and_

A list of predicates to combine logically.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-and

field

The field to query.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-field

operand

The value to use when performing the evaluation.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-operand

operator

The operator to use to perform the evaluation.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-operator

or_

A list of predicates to combine logically.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-predicate.html#cfn-amplifyuibuilder-component-predicate-or

SortPropertyProperty

class CfnComponent.SortPropertyProperty(*, direction, field)

Bases: object

The SortProperty property specifies how to sort the data that you bind to a component.

Parameters:
  • direction (str) – The direction of the sort, either ascending or descending.

  • field (str) – The field to perform the sort on.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-sortproperty.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplifyuibuilder as amplifyuibuilder

sort_property_property = amplifyuibuilder.CfnComponent.SortPropertyProperty(
    direction="direction",
    field="field"
)

Attributes

direction

The direction of the sort, either ascending or descending.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-sortproperty.html#cfn-amplifyuibuilder-component-sortproperty-direction

field

The field to perform the sort on.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-sortproperty.html#cfn-amplifyuibuilder-component-sortproperty-field