Skip to content

GetServiceSettings

Source: src/AWS/LicenseManager/GetServiceSettings.ts

Runtime binding for license-manager:GetServiceSettings — read the account’s License Manager settings (S3 report bucket, SNS alert topic, organization integration).

Provide the implementation with Effect.provide(AWS.LicenseManager.GetServiceSettingsHttp).

// init
const getServiceSettings =
yield* AWS.LicenseManager.GetServiceSettings();
// runtime
const { SnsTopicArn, EnableCrossAccountsDiscovery } =
yield* getServiceSettings();