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

fastly.NgwafAlertJiraIntegration

Explore with Pulumi AI

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

    Provides Fastly Next-Gen WAF Alert Jira integrations, which provide a connection to Jira.

    Example Usage

    Basic usage:

    import * as pulumi from "@pulumi/pulumi";
    import * as fastly from "@pulumi/fastly";
    
    const demoJiraAlert = new fastly.NgwafAlertJiraIntegration("demo_jira_alert", {
        description: "A description",
        host: "https://mycompany.atlassian.net",
        issueType: "task",
        key: "a1b2c3d4e5f6789012345678901234567",
        project: "test",
        username: "user",
        workspaceId: demo.id,
    });
    
    import pulumi
    import pulumi_fastly as fastly
    
    demo_jira_alert = fastly.NgwafAlertJiraIntegration("demo_jira_alert",
        description="A description",
        host="https://mycompany.atlassian.net",
        issue_type="task",
        key="a1b2c3d4e5f6789012345678901234567",
        project="test",
        username="user",
        workspace_id=demo["id"])
    
    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.NewNgwafAlertJiraIntegration(ctx, "demo_jira_alert", &fastly.NgwafAlertJiraIntegrationArgs{
    			Description: pulumi.String("A description"),
    			Host:        pulumi.String("https://mycompany.atlassian.net"),
    			IssueType:   pulumi.String("task"),
    			Key:         pulumi.String("a1b2c3d4e5f6789012345678901234567"),
    			Project:     pulumi.String("test"),
    			Username:    pulumi.String("user"),
    			WorkspaceId: pulumi.Any(demo.Id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fastly = Pulumi.Fastly;
    
    return await Deployment.RunAsync(() => 
    {
        var demoJiraAlert = new Fastly.NgwafAlertJiraIntegration("demo_jira_alert", new()
        {
            Description = "A description",
            Host = "https://mycompany.atlassian.net",
            IssueType = "task",
            Key = "a1b2c3d4e5f6789012345678901234567",
            Project = "test",
            Username = "user",
            WorkspaceId = demo.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fastly.NgwafAlertJiraIntegration;
    import com.pulumi.fastly.NgwafAlertJiraIntegrationArgs;
    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) {
            var demoJiraAlert = new NgwafAlertJiraIntegration("demoJiraAlert", NgwafAlertJiraIntegrationArgs.builder()
                .description("A description")
                .host("https://mycompany.atlassian.net")
                .issueType("task")
                .key("a1b2c3d4e5f6789012345678901234567")
                .project("test")
                .username("user")
                .workspaceId(demo.id())
                .build());
    
        }
    }
    
    resources:
      demoJiraAlert:
        type: fastly:NgwafAlertJiraIntegration
        name: demo_jira_alert
        properties:
          description: A description
          host: https://mycompany.atlassian.net
          issueType: task
          key: a1b2c3d4e5f6789012345678901234567
          project: test
          username: user
          workspaceId: ${demo.id}
    

    Create NgwafAlertJiraIntegration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NgwafAlertJiraIntegration(name: string, args: NgwafAlertJiraIntegrationArgs, opts?: CustomResourceOptions);
    @overload
    def NgwafAlertJiraIntegration(resource_name: str,
                                  args: NgwafAlertJiraIntegrationArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def NgwafAlertJiraIntegration(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  host: Optional[str] = None,
                                  key: Optional[str] = None,
                                  project: Optional[str] = None,
                                  username: Optional[str] = None,
                                  workspace_id: Optional[str] = None,
                                  description: Optional[str] = None,
                                  issue_type: Optional[str] = None)
    func NewNgwafAlertJiraIntegration(ctx *Context, name string, args NgwafAlertJiraIntegrationArgs, opts ...ResourceOption) (*NgwafAlertJiraIntegration, error)
    public NgwafAlertJiraIntegration(string name, NgwafAlertJiraIntegrationArgs args, CustomResourceOptions? opts = null)
    public NgwafAlertJiraIntegration(String name, NgwafAlertJiraIntegrationArgs args)
    public NgwafAlertJiraIntegration(String name, NgwafAlertJiraIntegrationArgs args, CustomResourceOptions options)
    
    type: fastly:NgwafAlertJiraIntegration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args NgwafAlertJiraIntegrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args NgwafAlertJiraIntegrationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args NgwafAlertJiraIntegrationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NgwafAlertJiraIntegrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NgwafAlertJiraIntegrationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ngwafAlertJiraIntegrationResource = new Fastly.NgwafAlertJiraIntegration("ngwafAlertJiraIntegrationResource", new()
    {
        Host = "string",
        Key = "string",
        Project = "string",
        Username = "string",
        WorkspaceId = "string",
        Description = "string",
        IssueType = "string",
    });
    
    example, err := fastly.NewNgwafAlertJiraIntegration(ctx, "ngwafAlertJiraIntegrationResource", &fastly.NgwafAlertJiraIntegrationArgs{
    	Host:        pulumi.String("string"),
    	Key:         pulumi.String("string"),
    	Project:     pulumi.String("string"),
    	Username:    pulumi.String("string"),
    	WorkspaceId: pulumi.String("string"),
    	Description: pulumi.String("string"),
    	IssueType:   pulumi.String("string"),
    })
    
    var ngwafAlertJiraIntegrationResource = new NgwafAlertJiraIntegration("ngwafAlertJiraIntegrationResource", NgwafAlertJiraIntegrationArgs.builder()
        .host("string")
        .key("string")
        .project("string")
        .username("string")
        .workspaceId("string")
        .description("string")
        .issueType("string")
        .build());
    
    ngwaf_alert_jira_integration_resource = fastly.NgwafAlertJiraIntegration("ngwafAlertJiraIntegrationResource",
        host="string",
        key="string",
        project="string",
        username="string",
        workspace_id="string",
        description="string",
        issue_type="string")
    
    const ngwafAlertJiraIntegrationResource = new fastly.NgwafAlertJiraIntegration("ngwafAlertJiraIntegrationResource", {
        host: "string",
        key: "string",
        project: "string",
        username: "string",
        workspaceId: "string",
        description: "string",
        issueType: "string",
    });
    
    type: fastly:NgwafAlertJiraIntegration
    properties:
        description: string
        host: string
        issueType: string
        key: string
        project: string
        username: string
        workspaceId: string
    

    NgwafAlertJiraIntegration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The NgwafAlertJiraIntegration resource accepts the following input properties:

    Host string
    The name of the Jira instance.
    Key string
    The Jira key.
    Project string
    The Jira project where the issue will be created.
    Username string
    The Jira username of the user who created the ticket.
    WorkspaceId string
    The ID of the workspace.
    Description string
    The description of the alert.
    IssueType string
    The Jira issue type associated with the ticket.
    Host string
    The name of the Jira instance.
    Key string
    The Jira key.
    Project string
    The Jira project where the issue will be created.
    Username string
    The Jira username of the user who created the ticket.
    WorkspaceId string
    The ID of the workspace.
    Description string
    The description of the alert.
    IssueType string
    The Jira issue type associated with the ticket.
    host String
    The name of the Jira instance.
    key String
    The Jira key.
    project String
    The Jira project where the issue will be created.
    username String
    The Jira username of the user who created the ticket.
    workspaceId String
    The ID of the workspace.
    description String
    The description of the alert.
    issueType String
    The Jira issue type associated with the ticket.
    host string
    The name of the Jira instance.
    key string
    The Jira key.
    project string
    The Jira project where the issue will be created.
    username string
    The Jira username of the user who created the ticket.
    workspaceId string
    The ID of the workspace.
    description string
    The description of the alert.
    issueType string
    The Jira issue type associated with the ticket.
    host str
    The name of the Jira instance.
    key str
    The Jira key.
    project str
    The Jira project where the issue will be created.
    username str
    The Jira username of the user who created the ticket.
    workspace_id str
    The ID of the workspace.
    description str
    The description of the alert.
    issue_type str
    The Jira issue type associated with the ticket.
    host String
    The name of the Jira instance.
    key String
    The Jira key.
    project String
    The Jira project where the issue will be created.
    username String
    The Jira username of the user who created the ticket.
    workspaceId String
    The ID of the workspace.
    description String
    The description of the alert.
    issueType String
    The Jira issue type associated with the ticket.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NgwafAlertJiraIntegration resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing NgwafAlertJiraIntegration Resource

    Get an existing NgwafAlertJiraIntegration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: NgwafAlertJiraIntegrationState, opts?: CustomResourceOptions): NgwafAlertJiraIntegration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            host: Optional[str] = None,
            issue_type: Optional[str] = None,
            key: Optional[str] = None,
            project: Optional[str] = None,
            username: Optional[str] = None,
            workspace_id: Optional[str] = None) -> NgwafAlertJiraIntegration
    func GetNgwafAlertJiraIntegration(ctx *Context, name string, id IDInput, state *NgwafAlertJiraIntegrationState, opts ...ResourceOption) (*NgwafAlertJiraIntegration, error)
    public static NgwafAlertJiraIntegration Get(string name, Input<string> id, NgwafAlertJiraIntegrationState? state, CustomResourceOptions? opts = null)
    public static NgwafAlertJiraIntegration get(String name, Output<String> id, NgwafAlertJiraIntegrationState state, CustomResourceOptions options)
    resources:  _:    type: fastly:NgwafAlertJiraIntegration    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    The description of the alert.
    Host string
    The name of the Jira instance.
    IssueType string
    The Jira issue type associated with the ticket.
    Key string
    The Jira key.
    Project string
    The Jira project where the issue will be created.
    Username string
    The Jira username of the user who created the ticket.
    WorkspaceId string
    The ID of the workspace.
    Description string
    The description of the alert.
    Host string
    The name of the Jira instance.
    IssueType string
    The Jira issue type associated with the ticket.
    Key string
    The Jira key.
    Project string
    The Jira project where the issue will be created.
    Username string
    The Jira username of the user who created the ticket.
    WorkspaceId string
    The ID of the workspace.
    description String
    The description of the alert.
    host String
    The name of the Jira instance.
    issueType String
    The Jira issue type associated with the ticket.
    key String
    The Jira key.
    project String
    The Jira project where the issue will be created.
    username String
    The Jira username of the user who created the ticket.
    workspaceId String
    The ID of the workspace.
    description string
    The description of the alert.
    host string
    The name of the Jira instance.
    issueType string
    The Jira issue type associated with the ticket.
    key string
    The Jira key.
    project string
    The Jira project where the issue will be created.
    username string
    The Jira username of the user who created the ticket.
    workspaceId string
    The ID of the workspace.
    description str
    The description of the alert.
    host str
    The name of the Jira instance.
    issue_type str
    The Jira issue type associated with the ticket.
    key str
    The Jira key.
    project str
    The Jira project where the issue will be created.
    username str
    The Jira username of the user who created the ticket.
    workspace_id str
    The ID of the workspace.
    description String
    The description of the alert.
    host String
    The name of the Jira instance.
    issueType String
    The Jira issue type associated with the ticket.
    key String
    The Jira key.
    project String
    The Jira project where the issue will be created.
    username String
    The Jira username of the user who created the ticket.
    workspaceId String
    The ID of the workspace.

    Import

    Fastly Next-Gen WAF Alert Jira integrations can be imported using their ID and the ID of the workspace they belong to.

    $ pulumi import fastly:index/ngwafAlertJiraIntegration:NgwafAlertJiraIntegration example <workspace_id>/<alert_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    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