Show / Hide Table of Contents

Interface CfnForm.IFieldConfigProperty

The FieldConfig property specifies the configuration information for a field in a table.

Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.AWS.AmplifyUIBuilder.dll
Syntax (csharp)
public interface IFieldConfigProperty
Syntax (vb)
Public Interface IFieldConfigProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-fieldconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AmplifyUIBuilder;

var fieldConfigProperty = new FieldConfigProperty {
    Excluded = false,
    InputType = new FieldInputConfigProperty {
        Type = "type",

        // the properties below are optional
        DefaultChecked = false,
        DefaultCountryCode = "defaultCountryCode",
        DefaultValue = "defaultValue",
        DescriptiveText = "descriptiveText",
        FileUploaderConfig = new FileUploaderFieldConfigProperty {
            AcceptedFileTypes = new [] { "acceptedFileTypes" },
            AccessLevel = "accessLevel",

            // the properties below are optional
            IsResumable = false,
            MaxFileCount = 123,
            MaxSize = 123,
            ShowThumbnails = false
        },
        IsArray = false,
        MaxValue = 123,
        MinValue = 123,
        Name = "name",
        Placeholder = "placeholder",
        ReadOnly = false,
        Required = false,
        Step = 123,
        Value = "value",
        ValueMappings = new ValueMappingsProperty {
            Values = new [] { new ValueMappingProperty {
                Value = new FormInputValuePropertyProperty {
                    Value = "value"
                },

                // the properties below are optional
                DisplayValue = new FormInputValuePropertyProperty {
                    Value = "value"
                }
            } }
        }
    },
    Label = "label",
    Position = new FieldPositionProperty {
        Below = "below",
        Fixed = "fixed",
        RightOf = "rightOf"
    },
    Validations = new [] { new FieldValidationConfigurationProperty {
        Type = "type",

        // the properties below are optional
        NumValues = new [] { 123 },
        StrValues = new [] { "strValues" },
        ValidationMessage = "validationMessage"
    } }
};

Synopsis

Properties

Excluded

Specifies whether to hide a field.

InputType

Describes the configuration for the default input value to display for a field.

Label

The label for the field.

Position

Specifies the field position.

Validations

The validations to perform on the value in the field.

Properties

Excluded

Specifies whether to hide a field.

virtual object Excluded { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-fieldconfig.html#cfn-amplifyuibuilder-form-fieldconfig-excluded

InputType

Describes the configuration for the default input value to display for a field.

virtual object InputType { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-fieldconfig.html#cfn-amplifyuibuilder-form-fieldconfig-inputtype

Label

The label for the field.

virtual string Label { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-fieldconfig.html#cfn-amplifyuibuilder-form-fieldconfig-label

Position

Specifies the field position.

virtual object Position { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-fieldconfig.html#cfn-amplifyuibuilder-form-fieldconfig-position

Validations

The validations to perform on the value in the field.

virtual object Validations { get; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-form-fieldconfig.html#cfn-amplifyuibuilder-form-fieldconfig-validations

Back to top Generated by DocFX