View a markdown version of this page

Reading from LaunchDarkly entities - AWS Glue

Reading from LaunchDarkly entities

Prerequisites

A LaunchDarkly object you want to read from. See the supported entities table below for the available entities.

Some LaunchDarkly entities are scoped to a project or to an environment in a project. Use feature_flags/projectKey, environments/projectKey, metrics/projectKey, metric_groups/projectKey, or context_kinds/projectKey for project-scoped entities. Use segments/projectKey/environmentKey or flag_statuses/projectKey/environmentKey for environment-scoped entities. AWS Glue discovers the available project and environment keys for your connection.

Supported entities for source

EntityCan be filteredSupports limitSupports select *Supports order bySupports partitioning
projectsNoYesYesNoNo
membersNoYesYesNoNo
teamsNoYesYesNoNo
rolesNoYesYesNoNo
tokensNoYesYesNoNo
destinationsNoNoYesNoNo
feature_flagsNoYesYesNoNo
environmentsNoYesYesNoNo
metricsNoYesYesNoNo
segmentsNoYesYesNoNo
webhooksNoNoYesNoNo
code_ref_repositoriesNoNoYesNoNo
metric_groupsNoYesYesNoNo
context_kindsNoNoYesNoNo
flag_statusesNoNoYesNoNo
Example – Reading from a LaunchDarkly entity

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

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