GradientEdge CDK Utils
    Preparing search index...

    Provides a construct to create and deploy an Azure Function App with Flex Consumption hosting

    import { AzureFunctionApp, AzureFunctionAppProps } from '@gradientedge/cdk-utils'

    class CustomConstruct extends AzureFunctionApp {
    constructor(id: string, props: AzureFunctionAppProps) {
    super(id, props)
    this.props = props
    this.id = id
    this.initResources()
    }
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    apiManagementManager: AzureApiManagementManager

    Manager for Azure API Management resources

    app: WebApp

    The provisioned Azure Function App web app resource

    appCodeArchiveFile: Output<GetFileResult>

    The archive file output for the function app deployment package

    appConfig: ConfigurationStore | Output<GetConfigurationStoreResult>

    The provisioned or resolved App Configuration store

    appConfigHash: string

    Hash of the app configuration for change detection

    appConfigPrefix?: string

    Prefix for App Configuration key names

    appConfigRoleAssignment: RoleAssignment

    Role assignment granting the function app access to the App Configuration store

    appConfigurationManager: AzureAppConfigurationManager

    Manager for Azure App Configuration resources

    appConfigurationsOriginalParsedConfig: any

    Parsed app configuration data (original version before processing)

    appConfigurationsParsedConfig: any

    Parsed app configuration data (processed version)

    appConnectionStrings: any[] = []

    Connection strings to configure on the function app

    appDeploymentStorageContainer: BlobContainer

    The provisioned storage container for deployment artifacts

    appEnvironmentVariables: Record<string, any> = {}

    Environment variables to inject into the function app configuration

    appKeyVaultsByResourceGroup: Map<string, Set<string>> = ...

    Map of resource group names to sets of Key Vault names for role assignments

    applicationInsights: Output<GetComponentResult>

    The resolved Application Insights component for telemetry

    applicationInsightsManager: AzureApplicationInsightsManager

    Manager for Azure Application Insights resources

    appServiceManager: AzureAppServiceManager

    Manager for Azure App Service resources

    appServicePlan: AppServicePlan

    The provisioned App Service Plan for the function app

    appStorageAccount: StorageAccount

    The provisioned storage account for the function app

    appStorageContainer: BlobContainer

    The provisioned storage container for function app data

    authorisationManager: AzureAuthorisationManager

    Manager for Azure RBAC role assignments

    commonLogAnalyticsWorkspace: Workspace | Output<GetWorkspaceResult>

    Shared Log Analytics Workspace resolved from props, used for diagnostic logging

    cosmosDbManager: AzureCosmosDbManager

    Manager for Azure CosmosDB resources

    dataKeyVault: Vault

    The provisioned Key Vault for data storage secrets

    dataStorageAccount: StorageAccount

    The provisioned data storage account

    dataStorageContainer: BlobContainer

    The provisioned data storage container

    dnsManager: AzureDnsManager

    Manager for Azure DNS resources

    eventgridManager: AzureEventgridManager

    Manager for Azure Event Grid resources

    eventGridRoleAssignment: RoleAssignment

    Role assignment granting the function app access to EventGrid topics

    fullyQualifiedDomainName: string

    The fully qualified domain name derived from domainName and subDomain

    functionDashboard: Dashboard

    The provisioned Azure Portal dashboard for monitoring

    functionManager: AzureFunctionManager

    Manager for Azure Function App resources

    id: string

    Unique identifier for the construct

    keyVaultManager: AzureKeyVaultManager

    Manager for Azure Key Vault resources

    monitorManager: AzureMonitorManager

    Manager for Azure Monitor diagnostic settings

    operationalInsightsManager: AzureOperationalInsightsManager

    Manager for Azure Log Analytics Workspace resources

    options?: ComponentResourceOptions

    Optional Pulumi component resource options

    portalManager: AzurePortalManager

    Manager for Azure Portal Dashboard resources

    Function app properties

    redisManager: AzureRedisManager

    Manager for Azure Managed Redis (Enterprise) resources

    resourceGroup: ResourceGroup

    The Azure resource group associated with this construct

    resourceGroupManager: AzureResourceGroupManager

    Manager for Azure Resource Group resources

    resourceNameFormatter: AzureResourceNameFormatter

    Formatter for Azure resource names based on naming conventions

    securityCentermanager: AzureSecurityCentermanager

    Manager for Azure Security Center (Defender) resources

    serviceBusManager: AzureServiceBusManager

    Manager for Azure Service Bus resources

    storageManager: AzureStorageManager

    Manager for Azure Storage resources

    storageRoleAssignment: RoleAssignment

    Role assignment granting the function app access to the storage account

    urn: Output<string>

    The stable logical URN used to distinctly address a resource, both before and after deployments.

    Methods

    • Retrieves the data produces by initialize. The data is immediately available in a derived class's constructor after the super(...) call to ComponentResource.

      Returns Promise<any>

    • Returns the provider for the given module member, if one exists.

      Parameters

      • moduleMember: string

      Returns ProviderResource | undefined

    • Can be overridden by a subclass to asynchronously initialize data for this component automatically when constructed. The data will be available immediately for subclass constructors to use. To access the data use getData.

      Parameters

      • args: Inputs
      • Optionalopts: ComponentResourceOptions
      • Optionalname: string
      • Optionaltype: string

      Returns Promise<any>

    • Registers synthetic outputs that a component has initialized, usually by allocating other child sub-resources and propagating their resulting property values.

      Component resources can call this at the end of their constructor to indicate that they are done creating child resources. This is not strictly necessary as this will automatically be called after the initialize method completes.

      Parameters

      • Optionaloutputs: Inputs | Promise<Inputs> | Output<Inputs>

      Returns void

    • Returns true if the given object is a CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

      Parameters

      • obj: any

      Returns obj is ComponentResource<any>