aws-cdk-lib.aws_amplifyuibuilder.CfnComponent.MutationActionSetStateParameterProperty

interface MutationActionSetStateParameterProperty

LanguageType name
.NETAmazon.CDK.AWS.AmplifyUIBuilder.CfnComponent.MutationActionSetStateParameterProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsamplifyuibuilder#CfnComponent_MutationActionSetStateParameterProperty
Javasoftware.amazon.awscdk.services.amplifyuibuilder.CfnComponent.MutationActionSetStateParameterProperty
Pythonaws_cdk.aws_amplifyuibuilder.CfnComponent.MutationActionSetStateParameterProperty
TypeScript aws-cdk-lib » aws_amplifyuibuilder » CfnComponent » MutationActionSetStateParameterProperty

Represents the state configuration when an action modifies a property of another element within the same component.

Example

// 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 componentPropertyProperty_: amplifyuibuilder.CfnComponent.ComponentPropertyProperty;
const mutationActionSetStateParameterProperty: amplifyuibuilder.CfnComponent.MutationActionSetStateParameterProperty = {
  componentName: 'componentName',
  property: 'property',
  set: {
    bindingProperties: {
      property: 'property',

      // the properties below are optional
      field: 'field',
    },
    bindings: {
      bindingsKey: {
        element: 'element',
        property: 'property',
      },
    },
    collectionBindingProperties: {
      property: 'property',

      // the properties below are optional
      field: 'field',
    },
    componentName: 'componentName',
    concat: [componentPropertyProperty_],
    condition: {
      else: componentPropertyProperty_,
      field: 'field',
      operand: 'operand',
      operandType: 'operandType',
      operator: 'operator',
      property: 'property',
      then: componentPropertyProperty_,
    },
    configured: false,
    defaultValue: 'defaultValue',
    event: 'event',
    importedValue: 'importedValue',
    model: 'model',
    property: 'property',
    type: 'type',
    userAttribute: 'userAttribute',
    value: 'value',
  },
};

Properties

NameTypeDescription
componentNamestringThe name of the component that is being modified.
propertystringThe name of the component property to apply the state configuration to.
setIResolvable | ComponentPropertyPropertyThe state configuration to assign to the property.

componentName

Type: string

The name of the component that is being modified.


property

Type: string

The name of the component property to apply the state configuration to.


set

Type: IResolvable | ComponentPropertyProperty

The state configuration to assign to the property.