Class CfnInput.AttributeProperty
The attributes from the JSON payload that are made available by the input.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoTEvents
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AttributeProperty : Object, CfnInput.IAttributeProperty
Syntax (vb)
Public Class AttributeProperty
Inherits Object
Implements CfnInput.IAttributeProperty
Remarks
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.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTEvents;
var attributeProperty = new AttributeProperty {
JsonPath = "jsonPath"
};
Synopsis
Constructors
AttributeProperty() |
Properties
JsonPath | An expression that specifies an attribute-value pair in a JSON structure. |
Constructors
AttributeProperty()
public AttributeProperty()
Properties
JsonPath
An expression that specifies an attribute-value pair in a JSON structure.
public string JsonPath { get; set; }
Property Value
System.String
Remarks
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>...