# FieldInputConfigProperty

The `FieldInputConfig` property specifies the configuration for the default input values to display for a field.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_amplifyuibuilder as amplifyuibuilder } from 'aws-cdk-lib';

declare const formInputValuePropertyProperty_: amplifyuibuilder.CfnForm.FormInputValuePropertyProperty;
const fieldInputConfigProperty: amplifyuibuilder.CfnForm.FieldInputConfigProperty = {
  type: 'type',

  // the properties below are optional
  defaultChecked: false,
  defaultCountryCode: 'defaultCountryCode',
  defaultValue: 'defaultValue',
  descriptiveText: 'descriptiveText',
  fileUploaderConfig: {
    acceptedFileTypes: ['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: {
    values: [{
      value: {
        bindingProperties: {
          property: 'property',

          // the properties below are optional
          field: 'field',
        },
        concat: [formInputValuePropertyProperty_],
        value: 'value',
      },

      // the properties below are optional
      displayValue: {
        bindingProperties: {
          property: 'property',

          // the properties below are optional
          field: 'field',
        },
        concat: [formInputValuePropertyProperty_],
        value: 'value',
      },
    }],

    // the properties below are optional
    bindingProperties: {
      bindingPropertiesKey: {
        bindingProperties: {
          model: 'model',
        },
        type: 'type',
      },
    },
  },
};
```

## Properties

- `defaultChecked`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether a field has a default value.

- `defaultCountryCode`: string — The default country code for a phone number.

- `defaultValue`: string — The default value for the field.

- `descriptiveText`: string — The text to display to describe the field.

- `fileUploaderConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnForm.FileUploaderFieldConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_amplifyuibuilder.CfnForm.FileUploaderFieldConfigProperty.html) — The configuration for the file uploader field.

- `isArray`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether to render the field as an array.

  This property is ignored if the `dataSourceType` for the form is a Data Store.

- `maxValue`: number — The maximum value to display for the field.

- `minValue`: number — The minimum value to display for the field.

- `name`: string — The name of the field.

- `placeholder`: string — The text to display as a placeholder for the field.

- `readOnly`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies a read only field.

- `required`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies a field that requires input.

- `step`: number — The stepping increment for a numeric value in a field.

- `type`: string (required) — The input type for the field.

- `value`: string — The value for the field.

- `valueMappings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnForm.ValueMappingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_amplifyuibuilder.CfnForm.ValueMappingsProperty.html) — The information to use to customize the input fields with data at runtime.
