1. Packages
  2. Fastly Provider
  3. API Docs
  4. getNgwafAlertMailingListIntegration
Fastly v11.0.0 published on Thursday, Sep 4, 2025 by Pulumi

fastly.getNgwafAlertMailingListIntegration

Explore with Pulumi AI

fastly logo
Fastly v11.0.0 published on Thursday, Sep 4, 2025 by Pulumi

    Use this data source to get a Fastly Next-Gen WAF Alert Mailing List integration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fastly from "@pulumi/fastly";
    
    const ngwafJiraAlerts = fastly.getNgwafAlertJiraIntegration({
        workspaceId: testRedactionsWorkspace.id,
    });
    export const ngwafJiraAlertsAll = jiraAlerts;
    
    import pulumi
    import pulumi_fastly as fastly
    
    ngwaf_jira_alerts = fastly.get_ngwaf_alert_jira_integration(workspace_id=test_redactions_workspace["id"])
    pulumi.export("ngwafJiraAlertsAll", jira_alerts)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-fastly/sdk/v11/go/fastly"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := fastly.LookupNgwafAlertJiraIntegration(ctx, &fastly.LookupNgwafAlertJiraIntegrationArgs{
    			WorkspaceId: testRedactionsWorkspace.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("ngwafJiraAlertsAll", jiraAlerts)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fastly = Pulumi.Fastly;
    
    return await Deployment.RunAsync(() => 
    {
        var ngwafJiraAlerts = Fastly.GetNgwafAlertJiraIntegration.Invoke(new()
        {
            WorkspaceId = testRedactionsWorkspace.Id,
        });
    
        return new Dictionary<string, object?>
        {
            ["ngwafJiraAlertsAll"] = jiraAlerts,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fastly.FastlyFunctions;
    import com.pulumi.fastly.inputs.GetNgwafAlertJiraIntegrationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var ngwafJiraAlerts = FastlyFunctions.getNgwafAlertJiraIntegration(GetNgwafAlertJiraIntegrationArgs.builder()
                .workspaceId(testRedactionsWorkspace.id())
                .build());
    
            ctx.export("ngwafJiraAlertsAll", jiraAlerts);
        }
    }
    
    variables:
      ngwafJiraAlerts:
        fn::invoke:
          function: fastly:getNgwafAlertJiraIntegration
          arguments:
            workspaceId: ${testRedactionsWorkspace.id}
    outputs:
      ngwafJiraAlertsAll: ${jiraAlerts}
    

    Using getNgwafAlertMailingListIntegration

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNgwafAlertMailingListIntegration(args: GetNgwafAlertMailingListIntegrationArgs, opts?: InvokeOptions): Promise<GetNgwafAlertMailingListIntegrationResult>
    function getNgwafAlertMailingListIntegrationOutput(args: GetNgwafAlertMailingListIntegrationOutputArgs, opts?: InvokeOptions): Output<GetNgwafAlertMailingListIntegrationResult>
    def get_ngwaf_alert_mailing_list_integration(workspace_id: Optional[str] = None,
                                                 opts: Optional[InvokeOptions] = None) -> GetNgwafAlertMailingListIntegrationResult
    def get_ngwaf_alert_mailing_list_integration_output(workspace_id: Optional[pulumi.Input[str]] = None,
                                                 opts: Optional[InvokeOptions] = None) -> Output[GetNgwafAlertMailingListIntegrationResult]
    func LookupNgwafAlertMailingListIntegration(ctx *Context, args *LookupNgwafAlertMailingListIntegrationArgs, opts ...InvokeOption) (*LookupNgwafAlertMailingListIntegrationResult, error)
    func LookupNgwafAlertMailingListIntegrationOutput(ctx *Context, args *LookupNgwafAlertMailingListIntegrationOutputArgs, opts ...InvokeOption) LookupNgwafAlertMailingListIntegrationResultOutput

    > Note: This function is named LookupNgwafAlertMailingListIntegration in the Go SDK.

    public static class GetNgwafAlertMailingListIntegration 
    {
        public static Task<GetNgwafAlertMailingListIntegrationResult> InvokeAsync(GetNgwafAlertMailingListIntegrationArgs args, InvokeOptions? opts = null)
        public static Output<GetNgwafAlertMailingListIntegrationResult> Invoke(GetNgwafAlertMailingListIntegrationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNgwafAlertMailingListIntegrationResult> getNgwafAlertMailingListIntegration(GetNgwafAlertMailingListIntegrationArgs args, InvokeOptions options)
    public static Output<GetNgwafAlertMailingListIntegrationResult> getNgwafAlertMailingListIntegration(GetNgwafAlertMailingListIntegrationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: fastly:index/getNgwafAlertMailingListIntegration:getNgwafAlertMailingListIntegration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    WorkspaceId string
    The ID of the workspace.
    WorkspaceId string
    The ID of the workspace.
    workspaceId String
    The ID of the workspace.
    workspaceId string
    The ID of the workspace.
    workspace_id str
    The ID of the workspace.
    workspaceId String
    The ID of the workspace.

    getNgwafAlertMailingListIntegration Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    MailingListAlerts List<GetNgwafAlertMailingListIntegrationMailingListAlert>
    List of all Mailing List alerts for a workspace.
    WorkspaceId string
    The ID of the workspace.
    Id string
    The provider-assigned unique ID for this managed resource.
    MailingListAlerts []GetNgwafAlertMailingListIntegrationMailingListAlert
    List of all Mailing List alerts for a workspace.
    WorkspaceId string
    The ID of the workspace.
    id String
    The provider-assigned unique ID for this managed resource.
    mailingListAlerts List<GetNgwafAlertMailingListIntegrationMailingListAlert>
    List of all Mailing List alerts for a workspace.
    workspaceId String
    The ID of the workspace.
    id string
    The provider-assigned unique ID for this managed resource.
    mailingListAlerts GetNgwafAlertMailingListIntegrationMailingListAlert[]
    List of all Mailing List alerts for a workspace.
    workspaceId string
    The ID of the workspace.
    id str
    The provider-assigned unique ID for this managed resource.
    mailing_list_alerts Sequence[GetNgwafAlertMailingListIntegrationMailingListAlert]
    List of all Mailing List alerts for a workspace.
    workspace_id str
    The ID of the workspace.
    id String
    The provider-assigned unique ID for this managed resource.
    mailingListAlerts List<Property Map>
    List of all Mailing List alerts for a workspace.
    workspaceId String
    The ID of the workspace.

    Supporting Types

    GetNgwafAlertMailingListIntegrationMailingListAlert

    Id string
    The ID of the workspace alert.
    Id string
    The ID of the workspace alert.
    id String
    The ID of the workspace alert.
    id string
    The ID of the workspace alert.
    id str
    The ID of the workspace alert.
    id String
    The ID of the workspace alert.

    Package Details

    Repository
    Fastly pulumi/pulumi-fastly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fastly Terraform Provider.
    fastly logo
    Fastly v11.0.0 published on Thursday, Sep 4, 2025 by Pulumi