ComponentActionParametersArgs

data class ComponentActionParametersArgs(val anchor: Output<ComponentPropertyArgs>? = null, val fields: Output<Map<String, ComponentPropertyArgs>>? = null, val global: Output<ComponentPropertyArgs>? = null, val id: Output<ComponentPropertyArgs>? = null, val model: Output<String>? = null, val state: Output<ComponentMutationActionSetStateParameterArgs>? = null, val target: Output<ComponentPropertyArgs>? = null, val type: Output<ComponentPropertyArgs>? = null, val url: Output<ComponentPropertyArgs>? = null) : ConvertibleToJava<ComponentActionParametersArgs>

Constructors

Link copied to clipboard
constructor(anchor: Output<ComponentPropertyArgs>? = null, fields: Output<Map<String, ComponentPropertyArgs>>? = null, global: Output<ComponentPropertyArgs>? = null, id: Output<ComponentPropertyArgs>? = null, model: Output<String>? = null, state: Output<ComponentMutationActionSetStateParameterArgs>? = null, target: Output<ComponentPropertyArgs>? = null, type: Output<ComponentPropertyArgs>? = null, url: Output<ComponentPropertyArgs>? = null)

Properties

Link copied to clipboard
val anchor: Output<ComponentPropertyArgs>? = null

The HTML anchor link to the location to open. Specify this value for a navigation action.

Link copied to clipboard
val fields: Output<Map<String, ComponentPropertyArgs>>? = null

A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model. Use when the action performs an operation on an Amplify DataStore model.

Link copied to clipboard
val global: Output<ComponentPropertyArgs>? = null

Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.

Link copied to clipboard
val id: Output<ComponentPropertyArgs>? = null

The unique ID of the component that the ActionParameters apply to.

Link copied to clipboard
val model: Output<String>? = null

The name of the data model. Use when the action performs an operation on an Amplify DataStore model.

Link copied to clipboard

A key-value pair that specifies the state property name and its initial value.

Link copied to clipboard
val target: Output<ComponentPropertyArgs>? = null

The element within the same component to modify when the action occurs.

Link copied to clipboard
val type: Output<ComponentPropertyArgs>? = null

The type of navigation action. Valid values are url and anchor . This value is required for a navigation action.

Link copied to clipboard
val url: Output<ComponentPropertyArgs>? = null

The URL to the location to open. Specify this value for a navigation action.

Functions

Link copied to clipboard
open override fun toJava(): ComponentActionParametersArgs