Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.63 KB

File metadata and controls

32 lines (25 loc) · 1.63 KB

SubscriptionPost

Properties

Name Type Description Notes
name string A human-friendly name for your audit log subscription. [default to undefined]
statements Array<StatementPost> [optional] [default to undefined]
on boolean Whether or not you want your subscription to actively send events. [optional] [default to undefined]
tags Array<string> An array of tags for this subscription. [optional] [default to undefined]
config { [key: string]: any; } The unique set of fields required to configure an audit log subscription integration of this type. Refer to the <code>formVariables</code> field in the corresponding <code>manifest.json</code> at https://github.com/launchdarkly/integration-framework/tree/main/integrations for a full list of fields for the integration you wish to configure. [default to undefined]
url string Slack webhook receiver URL. Only necessary for legacy Slack webhook integrations. [optional] [default to undefined]
apiKey string Datadog API key. Only necessary for legacy Datadog webhook integrations. [optional] [default to undefined]

Example

import { SubscriptionPost } from 'launchdarkly-api-typescript';

const instance: SubscriptionPost = {
    name,
    statements,
    on,
    tags,
    config,
    url,
    apiKey,
};

[Back to Model list] [Back to API list] [Back to README]