Skip to main content

KeyValuePair

@prismatic-io/spectral"types/Inputs"KeyValuePair

KeyValuePair input parameter type. This allows users to input multiple keys / values as an input. To see an example of how this can be used, see the tagging input of the putObject action of the AWS S3 component: https://github.com/prismatic-io/examples/blob/main/components/aws-s3/src/actions.ts

Type parameters

V

Hierarchy

  • KeyValuePair

Index

Properties

Properties

key

key: string

Defined in packages/spectral/src/types/Inputs.ts:13

Key of the KeyValuePair


value

value: V

Defined in packages/spectral/src/types/Inputs.ts:15

Value of the KeyValuePair