aws-cdk-lib.aws_iotevents.CfnInput.InputDefinitionProperty

interface InputDefinitionProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTEvents.CfnInput.InputDefinitionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotevents#CfnInput_InputDefinitionProperty
Javasoftware.amazon.awscdk.services.iotevents.CfnInput.InputDefinitionProperty
Pythonaws_cdk.aws_iotevents.CfnInput.InputDefinitionProperty
TypeScript aws-cdk-lib » aws_iotevents » CfnInput » InputDefinitionProperty

The definition of the input.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotevents as iotevents } from 'aws-cdk-lib';
const inputDefinitionProperty: iotevents.CfnInput.InputDefinitionProperty = {
  attributes: [{
    jsonPath: 'jsonPath',
  }],
};

Properties

NameTypeDescription
attributesIResolvable | IResolvable | AttributeProperty[]The attributes from the JSON payload that are made available by the input.

attributes

Type: IResolvable | IResolvable | AttributeProperty[]

The attributes from the JSON payload that are made available by the input.

Inputs are derived from messages sent to the AWS IoT Events system using BatchPutMessage . Each such message contains a JSON payload, and those attributes (and their paired values) specified here are available for use in the condition expressions used by detectors that monitor this input.