package awsamplifyuibuilder // 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. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // var componentPropertyProperty_ componentPropertyProperty // // componentPropertyProperty := &componentPropertyProperty{ // BindingProperties: &ComponentPropertyBindingPropertiesProperty{ // Property: jsii.String("property"), // // // the properties below are optional // Field: jsii.String("field"), // }, // Bindings: map[string]interface{}{ // "bindingsKey": &FormBindingElementProperty{ // "element": jsii.String("element"), // "property": jsii.String("property"), // }, // }, // CollectionBindingProperties: &ComponentPropertyBindingPropertiesProperty{ // Property: jsii.String("property"), // // // the properties below are optional // Field: jsii.String("field"), // }, // ComponentName: jsii.String("componentName"), // Concat: []interface{}{ // componentPropertyProperty_, // }, // Condition: &ComponentConditionPropertyProperty{ // Else: componentPropertyProperty_, // Field: jsii.String("field"), // Operand: jsii.String("operand"), // OperandType: jsii.String("operandType"), // Operator: jsii.String("operator"), // Property: jsii.String("property"), // Then: componentPropertyProperty_, // }, // Configured: jsii.Boolean(false), // DefaultValue: jsii.String("defaultValue"), // Event: jsii.String("event"), // ImportedValue: jsii.String("importedValue"), // Model: jsii.String("model"), // Property: jsii.String("property"), // Type: jsii.String("type"), // UserAttribute: jsii.String("userAttribute"), // Value: jsii.String("value"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html // type CfnComponent_ComponentPropertyProperty struct { // The information to bind the component property to data at runtime. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-bindingproperties // BindingProperties interface{} `field:"optional" json:"bindingProperties" yaml:"bindingProperties"` // The information to bind the component property to form data. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-bindings // Bindings interface{} `field:"optional" json:"bindings" yaml:"bindings"` // The information to bind the component property to data at runtime. // // Use this for collection components. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-collectionbindingproperties // CollectionBindingProperties interface{} `field:"optional" json:"collectionBindingProperties" yaml:"collectionBindingProperties"` // The name of the component that is affected by an event. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-componentname // ComponentName *string `field:"optional" json:"componentName" yaml:"componentName"` // A list of component properties to concatenate to create the value to assign to this component property. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-concat // Concat interface{} `field:"optional" json:"concat" yaml:"concat"` // The conditional expression to use to assign a value to the component property. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-condition // Condition interface{} `field:"optional" json:"condition" yaml:"condition"` // Specifies whether the user configured the property in Amplify Studio after importing it. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-configured // Configured interface{} `field:"optional" json:"configured" yaml:"configured"` // The default value to assign to the component property. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-defaultvalue // DefaultValue *string `field:"optional" json:"defaultValue" yaml:"defaultValue"` // An event that occurs in your app. // // Use this for workflow data binding. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-event // Event *string `field:"optional" json:"event" yaml:"event"` // The default value assigned to the property when the component is imported into an app. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-importedvalue // ImportedValue *string `field:"optional" json:"importedValue" yaml:"importedValue"` // The data model to use to assign a value to the component property. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-model // Model *string `field:"optional" json:"model" yaml:"model"` // The name of the component's property that is affected by an event. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-property // Property *string `field:"optional" json:"property" yaml:"property"` // The component type. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-type // Type *string `field:"optional" json:"type" yaml:"type"` // An authenticated user attribute to use to assign a value to the component property. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-userattribute // UserAttribute *string `field:"optional" json:"userAttribute" yaml:"userAttribute"` // The value to assign to the component property. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-componentproperty.html#cfn-amplifyuibuilder-component-componentproperty-value // Value *string `field:"optional" json:"value" yaml:"value"` }