Skip to content

Bedrock Agentcore  >  Structures  >  KeyPressArguments

KeyPressArguments

Structure Class

KeyPressArguments dataclass

Arguments for a key press action.

Attributes

key instance-attribute
key: str

The key name to press (for example, enter, tab, escape).

presses class-attribute instance-attribute
presses: int | None = None

The number of times to press the key. Valid range: 1--100. Defaults to 1.