Skip to content
v2.278.0

FormReference Struct ​

A reference to a Form resource.

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 interfaces_amplifyuibuilder } from 'aws-cdk-lib/interfaces';
const formReference: interfaces_amplifyuibuilder.FormReference = {
  appId: 'appId',
  environmentName: 'environmentName',
  formId: 'formId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_amplifyuibuilder as interfaces_amplifyuibuilder

form_reference = interfaces_amplifyuibuilder.FormReference(
    app_id="appId",
    environment_name="environmentName",
    form_id="formId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.amplifyuibuilder.*;

FormReference formReference = FormReference.builder()
        .appId("appId")
        .environmentName("environmentName")
        .formId("formId")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.AmplifyUIBuilder;

var formReference = new FormReference {
    AppId = "appId",
    EnvironmentName = "environmentName",
    FormId = "formId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"

formReference := &FormReference{
	AppId: jsii.String("appId"),
	EnvironmentName: jsii.String("environmentName"),
	FormId: jsii.String("formId"),
}

Properties ​

appIdstringapp_idstrappIdStringAppIdstringAppId*string required #
The AppId of the Form resource.
environmentNamestringenvironment_namestrenvironmentNameStringEnvironmentNamestringEnvironmentName*string required #
The EnvironmentName of the Form resource.
formIdstringform_idstrformIdStringFormIdstringFormId*string required #
The Id of the Form resource.