View a markdown version of this page

Reading from FireHydrant entities - AWS Glue

Reading from FireHydrant entities

Prerequisites

A FireHydrant object you want to read from. For the available entities, see the following supported entities table.

Supported entities for source

EntityCan be filteredSupports limitSupports select *Supports order bySupports partitioning
alertsYesYesYesNoNo
changesNoYesYesNoNo
environmentsNoYesYesNoNo
functionalitiesNoYesYesNoNo
incident_eventsYesYesYesNoNo
incident_milestonesNoYesYesNoNo
incident_role_assignmentsYesYesYesNoNo
incidentsYesYesYesNoNo
on_call_schedulesNoYesYesNoNo
prioritiesNoYesYesNoNo
retrospectivesNoYesYesNoNo
runbooksNoYesYesNoNo
servicesNoYesYesNoNo
severitiesNoYesYesNoNo
teamsNoYesYesNoNo
usersNoYesYesNoNo
Example – Reading from a FireHydrant entity

The following example reads from the alerts entity. Replace connectionName with the name of your FireHydrant connection:

read_df = glueContext.create_dynamic_frame.from_options( connection_type="firehydrant", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "alerts" } )