interface AttributeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoTEvents.Mixins.CfnInputPropsMixin.AttributeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiotevents/mixins#CfnInputPropsMixin_AttributeProperty |
Java | software.amazon.awscdk.mixins.preview.services.iotevents.mixins.CfnInputPropsMixin.AttributeProperty |
Python | aws_cdk.mixins_preview.aws_iotevents.mixins.CfnInputPropsMixin.AttributeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_iotevents » mixins » CfnInputPropsMixin » 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. Those attributes (and their paired values) specified here are available for use in the condition expressions used by detectors.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as iotevents_mixins } from '@aws-cdk/mixins-preview/aws-iotevents';
const attributeProperty: iotevents_mixins.CfnInputPropsMixin.AttributeProperty = {
jsonPath: 'jsonPath',
};
Properties
| Name | Type | Description |
|---|---|---|
| json | string | An expression that specifies an attribute-value pair in a JSON structure. |
jsonPath?
Type:
string
(optional)
An expression that specifies an attribute-value pair in a JSON structure.
Use this to specify an attribute from the JSON payload that is made available by the input. Inputs are derived from messages sent to AWS IoT Events ( BatchPutMessage ). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in the condition expressions used by detectors.
Syntax: <field-name>.<field-name>...

.NET
Go
Java
Python
TypeScript