import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Definition of AWS::AmplifyUIBuilder::Form Resource Type */ export declare class Form extends pulumi.CustomResource { /** * Get an existing Form resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Form; /** * Returns true if the given object is an instance of Form. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Form; /** * The unique ID of the Amplify app associated with the form. */ readonly appId: pulumi.Output; /** * The ID for the form. */ readonly awsId: pulumi.Output; /** * The `FormCTA` object that stores the call to action configuration for the form. */ readonly cta: pulumi.Output; /** * The type of data source to use to create the form. */ readonly dataType: pulumi.Output; /** * The name of the backend environment that is a part of the Amplify app. */ readonly environmentName: pulumi.Output; /** * The configuration information for the form's fields. */ readonly fields: pulumi.Output<{ [key: string]: outputs.amplifyuibuilder.FormFieldConfig; } | undefined>; /** * Specifies whether to perform a create or update action on the form. */ readonly formActionType: pulumi.Output; /** * Specifies an icon or decoration to display on the form. */ readonly labelDecorator: pulumi.Output; /** * The name of the form. */ readonly name: pulumi.Output; /** * The schema version of the form. */ readonly schemaVersion: pulumi.Output; /** * The configuration information for the visual helper elements for the form. These elements are not associated with any data. */ readonly sectionalElements: pulumi.Output<{ [key: string]: outputs.amplifyuibuilder.FormSectionalElement; } | undefined>; /** * The configuration for the form's style. */ readonly style: pulumi.Output; /** * One or more key-value pairs to use when tagging the form data. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a Form resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: FormArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Form resource. */ export interface FormArgs { /** * The unique ID of the Amplify app associated with the form. */ appId?: pulumi.Input; /** * The `FormCTA` object that stores the call to action configuration for the form. */ cta?: pulumi.Input; /** * The type of data source to use to create the form. */ dataType?: pulumi.Input; /** * The name of the backend environment that is a part of the Amplify app. */ environmentName?: pulumi.Input; /** * The configuration information for the form's fields. */ fields?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Specifies whether to perform a create or update action on the form. */ formActionType?: pulumi.Input; /** * Specifies an icon or decoration to display on the form. */ labelDecorator?: pulumi.Input; /** * The name of the form. */ name?: pulumi.Input; /** * The schema version of the form. */ schemaVersion?: pulumi.Input; /** * The configuration information for the visual helper elements for the form. These elements are not associated with any data. */ sectionalElements?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The configuration for the form's style. */ style?: pulumi.Input; /** * One or more key-value pairs to use when tagging the form data. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }