Skip to content
v2.278.0

FormStyleConfigProperty Struct ​

The FormStyleConfig property specifies the configuration settings for the form's style properties.

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';
const formStyleConfigProperty: amplifyuibuilder.CfnForm.FormStyleConfigProperty = {
  tokenReference: 'tokenReference',
  value: 'value',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_amplifyuibuilder as amplifyuibuilder

form_style_config_property = amplifyuibuilder.CfnForm.FormStyleConfigProperty(
    token_reference="tokenReference",
    value="value"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.amplifyuibuilder.*;

FormStyleConfigProperty formStyleConfigProperty = FormStyleConfigProperty.builder()
        .tokenReference("tokenReference")
        .value("value")
        .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.AWS.AmplifyUIBuilder;

var formStyleConfigProperty = new FormStyleConfigProperty {
    TokenReference = "tokenReference",
    Value = "value"
};
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"

formStyleConfigProperty := &FormStyleConfigProperty{
	TokenReference: jsii.String("tokenReference"),
	Value: jsii.String("value"),
}

Properties ​

tokenReferenceoptionalstringtoken_referenceoptionalstrtokenReferenceoptionalStringTokenReferenceoptionalstringTokenReferenceoptional*string #
A reference to a design token to use to bind the form's style properties to an existing theme.
valueoptionalstringvalueoptionalstrvalueoptionalStringValueoptionalstringValueoptional*string #
The value of the style setting.