in cdk-iot-analytics/cdk_sap_blog/analytics/analytics.py [0:0]
def get_events_input(scope):
return iotevents.CfnInput(
scope=scope,
id=f"CDKSAPBlogEventsInput",
input_name=f"CDKSAPBlogEventsInput",
input_definition=iotevents.CfnInput.InputDefinitionProperty(
attributes=[
iotevents.CfnInput.AttributeProperty(json_path='endTime'),
iotevents.CfnInput.AttributeProperty(json_path='durS',),
iotevents.CfnInput.AttributeProperty(json_path='thingname'),
iotevents.CfnInput.AttributeProperty(json_path='temperature_degC_mean'),
iotevents.CfnInput.AttributeProperty(json_path='humidity_percent_mean'),
iotevents.CfnInput.AttributeProperty(json_path='dewpoint_degC_mean'),
iotevents.CfnInput.AttributeProperty(json_path='heatIndex_degC_mean'),
iotevents.CfnInput.AttributeProperty(json_path='maxTemp_degC'),
iotevents.CfnInput.AttributeProperty(json_path='minTemp_degC'),
iotevents.CfnInput.AttributeProperty(json_path='location'),
iotevents.CfnInput.AttributeProperty(json_path='Equipment'),
iotevents.CfnInput.AttributeProperty(json_path='FunctLoc'),
iotevents.CfnInput.AttributeProperty(json_path='Type'),
]
)
)