Class CfnFormPropsMixin
The AWS::AmplifyUIBuilder::Form resource specifies all of the information that is required to create a form.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnFormPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnFormPropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::AmplifyUIBuilder::Form
Mixin: true
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.CfnPropertyMixins.AWS.AmplifyUIBuilder;
using Amazon.CDK;
FormInputValuePropertyProperty formInputValuePropertyProperty_;
IMergeStrategy mergeStrategy;
var cfnFormPropsMixin = new CfnFormPropsMixin(new CfnFormMixinProps {
AppId = "appId",
Cta = new FormCTAProperty {
Cancel = new FormButtonProperty {
Children = "children",
Excluded = false,
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
}
},
Clear = new FormButtonProperty {
Children = "children",
Excluded = false,
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
}
},
Position = "position",
Submit = new FormButtonProperty {
Children = "children",
Excluded = false,
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
}
}
},
DataType = new FormDataTypeConfigProperty {
DataSourceType = "dataSourceType",
DataTypeName = "dataTypeName"
},
EnvironmentName = "environmentName",
Fields = new Dictionary<string, object> {
{ "fieldsKey", new FieldConfigProperty {
Excluded = false,
InputType = new FieldInputConfigProperty {
DefaultChecked = false,
DefaultCountryCode = "defaultCountryCode",
DefaultValue = "defaultValue",
DescriptiveText = "descriptiveText",
FileUploaderConfig = new FileUploaderFieldConfigProperty {
AcceptedFileTypes = new [] { "acceptedFileTypes" },
AccessLevel = "accessLevel",
IsResumable = false,
MaxFileCount = 123,
MaxSize = 123,
ShowThumbnails = false
},
IsArray = false,
MaxValue = 123,
MinValue = 123,
Name = "name",
Placeholder = "placeholder",
ReadOnly = false,
Required = false,
Step = 123,
Type = "type",
Value = "value",
ValueMappings = new ValueMappingsProperty {
BindingProperties = new Dictionary<string, object> {
{ "bindingPropertiesKey", new FormInputBindingPropertiesValueProperty {
BindingProperties = new FormInputBindingPropertiesValuePropertiesProperty {
Model = "model"
},
Type = "type"
} }
},
Values = new [] { new ValueMappingProperty {
DisplayValue = new FormInputValuePropertyProperty {
BindingProperties = new FormInputValuePropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
Concat = new [] { formInputValuePropertyProperty_ },
Value = "value"
},
Value = new FormInputValuePropertyProperty {
BindingProperties = new FormInputValuePropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
Concat = new [] { formInputValuePropertyProperty_ },
Value = "value"
}
} }
}
},
Label = "label",
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
},
Validations = new [] { new FieldValidationConfigurationProperty {
NumValues = new [] { 123 },
StrValues = new [] { "strValues" },
Type = "type",
ValidationMessage = "validationMessage"
} }
} }
},
FormActionType = "formActionType",
LabelDecorator = "labelDecorator",
Name = "name",
SchemaVersion = "schemaVersion",
SectionalElements = new Dictionary<string, object> {
{ "sectionalElementsKey", new SectionalElementProperty {
Excluded = false,
Level = 123,
Orientation = "orientation",
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
},
Text = "text",
Type = "type"
} }
},
Style = new FormStyleProperty {
HorizontalGap = new FormStyleConfigProperty {
TokenReference = "tokenReference",
Value = "value"
},
OuterPadding = new FormStyleConfigProperty {
TokenReference = "tokenReference",
Value = "value"
},
VerticalGap = new FormStyleConfigProperty {
TokenReference = "tokenReference",
Value = "value"
}
},
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnFormPropsMixin(ICfnFormMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | The AWS::AmplifyUIBuilder::Form resource specifies all of the information that is required to create a form. |
| Props | The AWS::AmplifyUIBuilder::Form resource specifies all of the information that is required to create a form. |
| Strategy | The AWS::AmplifyUIBuilder::Form resource specifies all of the information that is required to create a form. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnFormPropsMixin(ICfnFormMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::AmplifyUIBuilder::Form.
public CfnFormPropsMixin(ICfnFormMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnFormMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::AmplifyUIBuilder::Form
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
The AWS::AmplifyUIBuilder::Form resource specifies all of the information that is required to create a form.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::AmplifyUIBuilder::Form
Mixin: true
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.CfnPropertyMixins.AWS.AmplifyUIBuilder;
using Amazon.CDK;
FormInputValuePropertyProperty formInputValuePropertyProperty_;
IMergeStrategy mergeStrategy;
var cfnFormPropsMixin = new CfnFormPropsMixin(new CfnFormMixinProps {
AppId = "appId",
Cta = new FormCTAProperty {
Cancel = new FormButtonProperty {
Children = "children",
Excluded = false,
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
}
},
Clear = new FormButtonProperty {
Children = "children",
Excluded = false,
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
}
},
Position = "position",
Submit = new FormButtonProperty {
Children = "children",
Excluded = false,
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
}
}
},
DataType = new FormDataTypeConfigProperty {
DataSourceType = "dataSourceType",
DataTypeName = "dataTypeName"
},
EnvironmentName = "environmentName",
Fields = new Dictionary<string, object> {
{ "fieldsKey", new FieldConfigProperty {
Excluded = false,
InputType = new FieldInputConfigProperty {
DefaultChecked = false,
DefaultCountryCode = "defaultCountryCode",
DefaultValue = "defaultValue",
DescriptiveText = "descriptiveText",
FileUploaderConfig = new FileUploaderFieldConfigProperty {
AcceptedFileTypes = new [] { "acceptedFileTypes" },
AccessLevel = "accessLevel",
IsResumable = false,
MaxFileCount = 123,
MaxSize = 123,
ShowThumbnails = false
},
IsArray = false,
MaxValue = 123,
MinValue = 123,
Name = "name",
Placeholder = "placeholder",
ReadOnly = false,
Required = false,
Step = 123,
Type = "type",
Value = "value",
ValueMappings = new ValueMappingsProperty {
BindingProperties = new Dictionary<string, object> {
{ "bindingPropertiesKey", new FormInputBindingPropertiesValueProperty {
BindingProperties = new FormInputBindingPropertiesValuePropertiesProperty {
Model = "model"
},
Type = "type"
} }
},
Values = new [] { new ValueMappingProperty {
DisplayValue = new FormInputValuePropertyProperty {
BindingProperties = new FormInputValuePropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
Concat = new [] { formInputValuePropertyProperty_ },
Value = "value"
},
Value = new FormInputValuePropertyProperty {
BindingProperties = new FormInputValuePropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
Concat = new [] { formInputValuePropertyProperty_ },
Value = "value"
}
} }
}
},
Label = "label",
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
},
Validations = new [] { new FieldValidationConfigurationProperty {
NumValues = new [] { 123 },
StrValues = new [] { "strValues" },
Type = "type",
ValidationMessage = "validationMessage"
} }
} }
},
FormActionType = "formActionType",
LabelDecorator = "labelDecorator",
Name = "name",
SchemaVersion = "schemaVersion",
SectionalElements = new Dictionary<string, object> {
{ "sectionalElementsKey", new SectionalElementProperty {
Excluded = false,
Level = 123,
Orientation = "orientation",
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
},
Text = "text",
Type = "type"
} }
},
Style = new FormStyleProperty {
HorizontalGap = new FormStyleConfigProperty {
TokenReference = "tokenReference",
Value = "value"
},
OuterPadding = new FormStyleConfigProperty {
TokenReference = "tokenReference",
Value = "value"
},
VerticalGap = new FormStyleConfigProperty {
TokenReference = "tokenReference",
Value = "value"
}
},
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
The AWS::AmplifyUIBuilder::Form resource specifies all of the information that is required to create a form.
protected virtual ICfnFormMixinProps Props { get; }
Property Value
Remarks
CloudformationResource: AWS::AmplifyUIBuilder::Form
Mixin: true
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.CfnPropertyMixins.AWS.AmplifyUIBuilder;
using Amazon.CDK;
FormInputValuePropertyProperty formInputValuePropertyProperty_;
IMergeStrategy mergeStrategy;
var cfnFormPropsMixin = new CfnFormPropsMixin(new CfnFormMixinProps {
AppId = "appId",
Cta = new FormCTAProperty {
Cancel = new FormButtonProperty {
Children = "children",
Excluded = false,
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
}
},
Clear = new FormButtonProperty {
Children = "children",
Excluded = false,
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
}
},
Position = "position",
Submit = new FormButtonProperty {
Children = "children",
Excluded = false,
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
}
}
},
DataType = new FormDataTypeConfigProperty {
DataSourceType = "dataSourceType",
DataTypeName = "dataTypeName"
},
EnvironmentName = "environmentName",
Fields = new Dictionary<string, object> {
{ "fieldsKey", new FieldConfigProperty {
Excluded = false,
InputType = new FieldInputConfigProperty {
DefaultChecked = false,
DefaultCountryCode = "defaultCountryCode",
DefaultValue = "defaultValue",
DescriptiveText = "descriptiveText",
FileUploaderConfig = new FileUploaderFieldConfigProperty {
AcceptedFileTypes = new [] { "acceptedFileTypes" },
AccessLevel = "accessLevel",
IsResumable = false,
MaxFileCount = 123,
MaxSize = 123,
ShowThumbnails = false
},
IsArray = false,
MaxValue = 123,
MinValue = 123,
Name = "name",
Placeholder = "placeholder",
ReadOnly = false,
Required = false,
Step = 123,
Type = "type",
Value = "value",
ValueMappings = new ValueMappingsProperty {
BindingProperties = new Dictionary<string, object> {
{ "bindingPropertiesKey", new FormInputBindingPropertiesValueProperty {
BindingProperties = new FormInputBindingPropertiesValuePropertiesProperty {
Model = "model"
},
Type = "type"
} }
},
Values = new [] { new ValueMappingProperty {
DisplayValue = new FormInputValuePropertyProperty {
BindingProperties = new FormInputValuePropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
Concat = new [] { formInputValuePropertyProperty_ },
Value = "value"
},
Value = new FormInputValuePropertyProperty {
BindingProperties = new FormInputValuePropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
Concat = new [] { formInputValuePropertyProperty_ },
Value = "value"
}
} }
}
},
Label = "label",
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
},
Validations = new [] { new FieldValidationConfigurationProperty {
NumValues = new [] { 123 },
StrValues = new [] { "strValues" },
Type = "type",
ValidationMessage = "validationMessage"
} }
} }
},
FormActionType = "formActionType",
LabelDecorator = "labelDecorator",
Name = "name",
SchemaVersion = "schemaVersion",
SectionalElements = new Dictionary<string, object> {
{ "sectionalElementsKey", new SectionalElementProperty {
Excluded = false,
Level = 123,
Orientation = "orientation",
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
},
Text = "text",
Type = "type"
} }
},
Style = new FormStyleProperty {
HorizontalGap = new FormStyleConfigProperty {
TokenReference = "tokenReference",
Value = "value"
},
OuterPadding = new FormStyleConfigProperty {
TokenReference = "tokenReference",
Value = "value"
},
VerticalGap = new FormStyleConfigProperty {
TokenReference = "tokenReference",
Value = "value"
}
},
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
The AWS::AmplifyUIBuilder::Form resource specifies all of the information that is required to create a form.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::AmplifyUIBuilder::Form
Mixin: true
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.CfnPropertyMixins.AWS.AmplifyUIBuilder;
using Amazon.CDK;
FormInputValuePropertyProperty formInputValuePropertyProperty_;
IMergeStrategy mergeStrategy;
var cfnFormPropsMixin = new CfnFormPropsMixin(new CfnFormMixinProps {
AppId = "appId",
Cta = new FormCTAProperty {
Cancel = new FormButtonProperty {
Children = "children",
Excluded = false,
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
}
},
Clear = new FormButtonProperty {
Children = "children",
Excluded = false,
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
}
},
Position = "position",
Submit = new FormButtonProperty {
Children = "children",
Excluded = false,
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
}
}
},
DataType = new FormDataTypeConfigProperty {
DataSourceType = "dataSourceType",
DataTypeName = "dataTypeName"
},
EnvironmentName = "environmentName",
Fields = new Dictionary<string, object> {
{ "fieldsKey", new FieldConfigProperty {
Excluded = false,
InputType = new FieldInputConfigProperty {
DefaultChecked = false,
DefaultCountryCode = "defaultCountryCode",
DefaultValue = "defaultValue",
DescriptiveText = "descriptiveText",
FileUploaderConfig = new FileUploaderFieldConfigProperty {
AcceptedFileTypes = new [] { "acceptedFileTypes" },
AccessLevel = "accessLevel",
IsResumable = false,
MaxFileCount = 123,
MaxSize = 123,
ShowThumbnails = false
},
IsArray = false,
MaxValue = 123,
MinValue = 123,
Name = "name",
Placeholder = "placeholder",
ReadOnly = false,
Required = false,
Step = 123,
Type = "type",
Value = "value",
ValueMappings = new ValueMappingsProperty {
BindingProperties = new Dictionary<string, object> {
{ "bindingPropertiesKey", new FormInputBindingPropertiesValueProperty {
BindingProperties = new FormInputBindingPropertiesValuePropertiesProperty {
Model = "model"
},
Type = "type"
} }
},
Values = new [] { new ValueMappingProperty {
DisplayValue = new FormInputValuePropertyProperty {
BindingProperties = new FormInputValuePropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
Concat = new [] { formInputValuePropertyProperty_ },
Value = "value"
},
Value = new FormInputValuePropertyProperty {
BindingProperties = new FormInputValuePropertyBindingPropertiesProperty {
Field = "field",
Property = "property"
},
Concat = new [] { formInputValuePropertyProperty_ },
Value = "value"
}
} }
}
},
Label = "label",
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
},
Validations = new [] { new FieldValidationConfigurationProperty {
NumValues = new [] { 123 },
StrValues = new [] { "strValues" },
Type = "type",
ValidationMessage = "validationMessage"
} }
} }
},
FormActionType = "formActionType",
LabelDecorator = "labelDecorator",
Name = "name",
SchemaVersion = "schemaVersion",
SectionalElements = new Dictionary<string, object> {
{ "sectionalElementsKey", new SectionalElementProperty {
Excluded = false,
Level = 123,
Orientation = "orientation",
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
},
Text = "text",
Type = "type"
} }
},
Style = new FormStyleProperty {
HorizontalGap = new FormStyleConfigProperty {
TokenReference = "tokenReference",
Value = "value"
},
OuterPadding = new FormStyleConfigProperty {
TokenReference = "tokenReference",
Value = "value"
},
VerticalGap = new FormStyleConfigProperty {
TokenReference = "tokenReference",
Value = "value"
}
},
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
CloudformationResource: AWS::AmplifyUIBuilder::Form
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
CloudformationResource: AWS::AmplifyUIBuilder::Form
Mixin: true
ExampleMetadata: fixture=_generated