1. Registry
  2. Packages
  3. Fastly Provider
  4. API Docs
  5. AuditLogEventMapping
Viewing docs for Fastly v12.6.0
published on Wednesday, Aug 12, 2026 by Pulumi
fastly logo
Viewing docs for Fastly v12.6.0
published on Wednesday, Aug 12, 2026 by Pulumi

    Provides a Fastly Audit Log Event Mapping, which routes audit log events to one or more notification integrations based on scope and event type.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fastly from "@pulumi/fastly";
    
    const example = new fastly.Integration("example", {
        name: "Example Slack integration",
        description: "Notifies #alerts on Slack",
        type: "slack",
        config: {
            webhook: "https://hooks.slack.com/services/xxx/xxx/xxx",
        },
    });
    const exampleAuditLogEventMapping = new fastly.AuditLogEventMapping("example", {
        name: "Example mapping",
        description: "Sends a notification when any user logs in",
        scopeType: "account",
        eventTypes: ["user.login"],
        integrationIds: [example.id],
    });
    
    import pulumi
    import pulumi_fastly as fastly
    
    example = fastly.Integration("example",
        name="Example Slack integration",
        description="Notifies #alerts on Slack",
        type="slack",
        config={
            "webhook": "https://hooks.slack.com/services/xxx/xxx/xxx",
        })
    example_audit_log_event_mapping = fastly.AuditLogEventMapping("example",
        name="Example mapping",
        description="Sends a notification when any user logs in",
        scope_type="account",
        event_types=["user.login"],
        integration_ids=[example.id])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-fastly/sdk/v12/go/fastly"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := fastly.NewIntegration(ctx, "example", &fastly.IntegrationArgs{
    			Name:        pulumi.String("Example Slack integration"),
    			Description: pulumi.String("Notifies #alerts on Slack"),
    			Type:        pulumi.String("slack"),
    			Config: pulumi.StringMap{
    				"webhook": pulumi.String("https://hooks.slack.com/services/xxx/xxx/xxx"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = fastly.NewAuditLogEventMapping(ctx, "example", &fastly.AuditLogEventMappingArgs{
    			Name:        pulumi.String("Example mapping"),
    			Description: pulumi.String("Sends a notification when any user logs in"),
    			ScopeType:   pulumi.String("account"),
    			EventTypes: pulumi.StringArray{
    				pulumi.String("user.login"),
    			},
    			IntegrationIds: pulumi.StringArray{
    				example.ID().ToIDOutput().ToStringOutput(),
    			},
    		})
    		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 example = new Fastly.Integration("example", new()
        {
            Name = "Example Slack integration",
            Description = "Notifies #alerts on Slack",
            Type = "slack",
            Config = 
            {
                { "webhook", "https://hooks.slack.com/services/xxx/xxx/xxx" },
            },
        });
    
        var exampleAuditLogEventMapping = new Fastly.AuditLogEventMapping("example", new()
        {
            Name = "Example mapping",
            Description = "Sends a notification when any user logs in",
            ScopeType = "account",
            EventTypes = new[]
            {
                "user.login",
            },
            IntegrationIds = new[]
            {
                example.Id,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fastly.Integration;
    import com.pulumi.fastly.IntegrationArgs;
    import com.pulumi.fastly.AuditLogEventMapping;
    import com.pulumi.fastly.AuditLogEventMappingArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 example = new Integration("example", IntegrationArgs.builder()
                .name("Example Slack integration")
                .description("Notifies #alerts on Slack")
                .type("slack")
                .config(Map.of("webhook", "https://hooks.slack.com/services/xxx/xxx/xxx"))
                .build());
    
            var exampleAuditLogEventMapping = new AuditLogEventMapping("exampleAuditLogEventMapping", AuditLogEventMappingArgs.builder()
                .name("Example mapping")
                .description("Sends a notification when any user logs in")
                .scopeType("account")
                .eventTypes("user.login")
                .integrationIds(example.id())
                .build());
    
        }
    }
    
    resources:
      example:
        type: fastly:Integration
        properties:
          name: Example Slack integration
          description: 'Notifies #alerts on Slack'
          type: slack
          config:
            webhook: https://hooks.slack.com/services/xxx/xxx/xxx
      exampleAuditLogEventMapping:
        type: fastly:AuditLogEventMapping
        name: example
        properties:
          name: Example mapping
          description: Sends a notification when any user logs in
          scopeType: account
          eventTypes:
            - user.login
          integrationIds:
            - ${example.id}
    
    pulumi {
      required_providers {
        fastly = {
          source = "pulumi/fastly"
        }
      }
    }
    
    resource "fastly_integration" "example" {
      name        = "Example Slack integration"
      description = "Notifies #alerts on Slack"
      type        = "slack"
      config = {
        "webhook" = "https://hooks.slack.com/services/xxx/xxx/xxx"
      }
    }
    resource "fastly_auditlogeventmapping" "example" {
      name            = "Example mapping"
      description     = "Sends a notification when any user logs in"
      scope_type      = "account"
      event_types     = ["user.login"]
      integration_ids = [fastly_integration.example.id]
    }
    

    Create AuditLogEventMapping Resource

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

    Constructor syntax

    new AuditLogEventMapping(name: string, args: AuditLogEventMappingArgs, opts?: CustomResourceOptions);
    @overload
    def AuditLogEventMapping(resource_name: str,
                             args: AuditLogEventMappingArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def AuditLogEventMapping(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             event_types: Optional[Sequence[str]] = None,
                             integration_ids: Optional[Sequence[str]] = None,
                             scope_type: Optional[str] = None,
                             description: Optional[str] = None,
                             name: Optional[str] = None,
                             scope_ids: Optional[Sequence[str]] = None)
    func NewAuditLogEventMapping(ctx *Context, name string, args AuditLogEventMappingArgs, opts ...ResourceOption) (*AuditLogEventMapping, error)
    public AuditLogEventMapping(string name, AuditLogEventMappingArgs args, CustomResourceOptions? opts = null)
    public AuditLogEventMapping(String name, AuditLogEventMappingArgs args)
    public AuditLogEventMapping(String name, AuditLogEventMappingArgs args, CustomResourceOptions options)
    
    type: fastly:AuditLogEventMapping
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "fastly_audit_log_event_mapping" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AuditLogEventMappingArgs
    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 AuditLogEventMappingArgs
    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 AuditLogEventMappingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AuditLogEventMappingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AuditLogEventMappingArgs
    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 auditLogEventMappingResource = new Fastly.AuditLogEventMapping("auditLogEventMappingResource", new()
    {
        EventTypes = new[]
        {
            "string",
        },
        IntegrationIds = new[]
        {
            "string",
        },
        ScopeType = "string",
        Description = "string",
        Name = "string",
        ScopeIds = new[]
        {
            "string",
        },
    });
    
    example, err := fastly.NewAuditLogEventMapping(ctx, "auditLogEventMappingResource", &fastly.AuditLogEventMappingArgs{
    	EventTypes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	IntegrationIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ScopeType:   pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	ScopeIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "fastly_audit_log_event_mapping" "auditLogEventMappingResource" {
      lifecycle {
        create_before_destroy = true
      }
      event_types     = ["string"]
      integration_ids = ["string"]
      scope_type      = "string"
      description     = "string"
      name            = "string"
      scope_ids       = ["string"]
    }
    
    var auditLogEventMappingResource = new AuditLogEventMapping("auditLogEventMappingResource", AuditLogEventMappingArgs.builder()
        .eventTypes("string")
        .integrationIds("string")
        .scopeType("string")
        .description("string")
        .name("string")
        .scopeIds("string")
        .build());
    
    audit_log_event_mapping_resource = fastly.AuditLogEventMapping("auditLogEventMappingResource",
        event_types=["string"],
        integration_ids=["string"],
        scope_type="string",
        description="string",
        name="string",
        scope_ids=["string"])
    
    const auditLogEventMappingResource = new fastly.AuditLogEventMapping("auditLogEventMappingResource", {
        eventTypes: ["string"],
        integrationIds: ["string"],
        scopeType: "string",
        description: "string",
        name: "string",
        scopeIds: ["string"],
    });
    
    type: fastly:AuditLogEventMapping
    properties:
        description: string
        eventTypes:
            - string
        integrationIds:
            - string
        name: string
        scopeIds:
            - string
        scopeType: string
    

    AuditLogEventMapping 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 AuditLogEventMapping resource accepts the following input properties:

    EventTypes List<string>
    The audit event types that trigger a notification. Each event type must be valid for the given scopeType.
    IntegrationIds List<string>
    The IDs of the integrations that should receive notifications. Must reference integrations belonging to the account linked to the configured token.
    ScopeType string
    The category of Fastly resource the mapping applies to. One of account, vcl, wasm, or ngwaf.
    Description string
    Description of the mapping.
    Name string
    Descriptive name for the mapping.
    ScopeIds List<string>
    The specific service or workspace IDs to scope the mapping to. Omit to apply the mapping to all resources of the given scopeType. Must be empty when scopeType is account.
    EventTypes []string
    The audit event types that trigger a notification. Each event type must be valid for the given scopeType.
    IntegrationIds []string
    The IDs of the integrations that should receive notifications. Must reference integrations belonging to the account linked to the configured token.
    ScopeType string
    The category of Fastly resource the mapping applies to. One of account, vcl, wasm, or ngwaf.
    Description string
    Description of the mapping.
    Name string
    Descriptive name for the mapping.
    ScopeIds []string
    The specific service or workspace IDs to scope the mapping to. Omit to apply the mapping to all resources of the given scopeType. Must be empty when scopeType is account.
    event_types list(string)
    The audit event types that trigger a notification. Each event type must be valid for the given scopeType.
    integration_ids list(string)
    The IDs of the integrations that should receive notifications. Must reference integrations belonging to the account linked to the configured token.
    scope_type string
    The category of Fastly resource the mapping applies to. One of account, vcl, wasm, or ngwaf.
    description string
    Description of the mapping.
    name string
    Descriptive name for the mapping.
    scope_ids list(string)
    The specific service or workspace IDs to scope the mapping to. Omit to apply the mapping to all resources of the given scopeType. Must be empty when scopeType is account.
    eventTypes List<String>
    The audit event types that trigger a notification. Each event type must be valid for the given scopeType.
    integrationIds List<String>
    The IDs of the integrations that should receive notifications. Must reference integrations belonging to the account linked to the configured token.
    scopeType String
    The category of Fastly resource the mapping applies to. One of account, vcl, wasm, or ngwaf.
    description String
    Description of the mapping.
    name String
    Descriptive name for the mapping.
    scopeIds List<String>
    The specific service or workspace IDs to scope the mapping to. Omit to apply the mapping to all resources of the given scopeType. Must be empty when scopeType is account.
    eventTypes string[]
    The audit event types that trigger a notification. Each event type must be valid for the given scopeType.
    integrationIds string[]
    The IDs of the integrations that should receive notifications. Must reference integrations belonging to the account linked to the configured token.
    scopeType string
    The category of Fastly resource the mapping applies to. One of account, vcl, wasm, or ngwaf.
    description string
    Description of the mapping.
    name string
    Descriptive name for the mapping.
    scopeIds string[]
    The specific service or workspace IDs to scope the mapping to. Omit to apply the mapping to all resources of the given scopeType. Must be empty when scopeType is account.
    event_types Sequence[str]
    The audit event types that trigger a notification. Each event type must be valid for the given scopeType.
    integration_ids Sequence[str]
    The IDs of the integrations that should receive notifications. Must reference integrations belonging to the account linked to the configured token.
    scope_type str
    The category of Fastly resource the mapping applies to. One of account, vcl, wasm, or ngwaf.
    description str
    Description of the mapping.
    name str
    Descriptive name for the mapping.
    scope_ids Sequence[str]
    The specific service or workspace IDs to scope the mapping to. Omit to apply the mapping to all resources of the given scopeType. Must be empty when scopeType is account.
    eventTypes List<String>
    The audit event types that trigger a notification. Each event type must be valid for the given scopeType.
    integrationIds List<String>
    The IDs of the integrations that should receive notifications. Must reference integrations belonging to the account linked to the configured token.
    scopeType String
    The category of Fastly resource the mapping applies to. One of account, vcl, wasm, or ngwaf.
    description String
    Description of the mapping.
    name String
    Descriptive name for the mapping.
    scopeIds List<String>
    The specific service or workspace IDs to scope the mapping to. Omit to apply the mapping to all resources of the given scopeType. Must be empty when scopeType is account.

    Outputs

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

    CreatedAt string
    Timestamp (RFC3339) when the mapping was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    MappingStatus string
    Whether the mapping is permitted to send notifications. One of active or inactive. A mapping is active as long as it has at least one integration ID.
    UpdatedAt string
    Timestamp (RFC3339) when the mapping was last updated.
    CreatedAt string
    Timestamp (RFC3339) when the mapping was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    MappingStatus string
    Whether the mapping is permitted to send notifications. One of active or inactive. A mapping is active as long as it has at least one integration ID.
    UpdatedAt string
    Timestamp (RFC3339) when the mapping was last updated.
    created_at string
    Timestamp (RFC3339) when the mapping was created.
    id string
    The provider-assigned unique ID for this managed resource.
    mapping_status string
    Whether the mapping is permitted to send notifications. One of active or inactive. A mapping is active as long as it has at least one integration ID.
    updated_at string
    Timestamp (RFC3339) when the mapping was last updated.
    createdAt String
    Timestamp (RFC3339) when the mapping was created.
    id String
    The provider-assigned unique ID for this managed resource.
    mappingStatus String
    Whether the mapping is permitted to send notifications. One of active or inactive. A mapping is active as long as it has at least one integration ID.
    updatedAt String
    Timestamp (RFC3339) when the mapping was last updated.
    createdAt string
    Timestamp (RFC3339) when the mapping was created.
    id string
    The provider-assigned unique ID for this managed resource.
    mappingStatus string
    Whether the mapping is permitted to send notifications. One of active or inactive. A mapping is active as long as it has at least one integration ID.
    updatedAt string
    Timestamp (RFC3339) when the mapping was last updated.
    created_at str
    Timestamp (RFC3339) when the mapping was created.
    id str
    The provider-assigned unique ID for this managed resource.
    mapping_status str
    Whether the mapping is permitted to send notifications. One of active or inactive. A mapping is active as long as it has at least one integration ID.
    updated_at str
    Timestamp (RFC3339) when the mapping was last updated.
    createdAt String
    Timestamp (RFC3339) when the mapping was created.
    id String
    The provider-assigned unique ID for this managed resource.
    mappingStatus String
    Whether the mapping is permitted to send notifications. One of active or inactive. A mapping is active as long as it has at least one integration ID.
    updatedAt String
    Timestamp (RFC3339) when the mapping was last updated.

    Look up Existing AuditLogEventMapping Resource

    Get an existing AuditLogEventMapping 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?: AuditLogEventMappingState, opts?: CustomResourceOptions): AuditLogEventMapping
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            event_types: Optional[Sequence[str]] = None,
            integration_ids: Optional[Sequence[str]] = None,
            mapping_status: Optional[str] = None,
            name: Optional[str] = None,
            scope_ids: Optional[Sequence[str]] = None,
            scope_type: Optional[str] = None,
            updated_at: Optional[str] = None) -> AuditLogEventMapping
    func GetAuditLogEventMapping(ctx *Context, name string, id IDInput, state *AuditLogEventMappingState, opts ...ResourceOption) (*AuditLogEventMapping, error)
    public static AuditLogEventMapping Get(string name, Input<string> id, AuditLogEventMappingState? state, CustomResourceOptions? opts = null)
    public static AuditLogEventMapping get(String name, Output<String> id, AuditLogEventMappingState state, CustomResourceOptions options)
    resources:  _:    type: fastly:AuditLogEventMapping    get:      id: ${id}
    import {
      to = fastly_audit_log_event_mapping.example
      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:
    CreatedAt string
    Timestamp (RFC3339) when the mapping was created.
    Description string
    Description of the mapping.
    EventTypes List<string>
    The audit event types that trigger a notification. Each event type must be valid for the given scopeType.
    IntegrationIds List<string>
    The IDs of the integrations that should receive notifications. Must reference integrations belonging to the account linked to the configured token.
    MappingStatus string
    Whether the mapping is permitted to send notifications. One of active or inactive. A mapping is active as long as it has at least one integration ID.
    Name string
    Descriptive name for the mapping.
    ScopeIds List<string>
    The specific service or workspace IDs to scope the mapping to. Omit to apply the mapping to all resources of the given scopeType. Must be empty when scopeType is account.
    ScopeType string
    The category of Fastly resource the mapping applies to. One of account, vcl, wasm, or ngwaf.
    UpdatedAt string
    Timestamp (RFC3339) when the mapping was last updated.
    CreatedAt string
    Timestamp (RFC3339) when the mapping was created.
    Description string
    Description of the mapping.
    EventTypes []string
    The audit event types that trigger a notification. Each event type must be valid for the given scopeType.
    IntegrationIds []string
    The IDs of the integrations that should receive notifications. Must reference integrations belonging to the account linked to the configured token.
    MappingStatus string
    Whether the mapping is permitted to send notifications. One of active or inactive. A mapping is active as long as it has at least one integration ID.
    Name string
    Descriptive name for the mapping.
    ScopeIds []string
    The specific service or workspace IDs to scope the mapping to. Omit to apply the mapping to all resources of the given scopeType. Must be empty when scopeType is account.
    ScopeType string
    The category of Fastly resource the mapping applies to. One of account, vcl, wasm, or ngwaf.
    UpdatedAt string
    Timestamp (RFC3339) when the mapping was last updated.
    created_at string
    Timestamp (RFC3339) when the mapping was created.
    description string
    Description of the mapping.
    event_types list(string)
    The audit event types that trigger a notification. Each event type must be valid for the given scopeType.
    integration_ids list(string)
    The IDs of the integrations that should receive notifications. Must reference integrations belonging to the account linked to the configured token.
    mapping_status string
    Whether the mapping is permitted to send notifications. One of active or inactive. A mapping is active as long as it has at least one integration ID.
    name string
    Descriptive name for the mapping.
    scope_ids list(string)
    The specific service or workspace IDs to scope the mapping to. Omit to apply the mapping to all resources of the given scopeType. Must be empty when scopeType is account.
    scope_type string
    The category of Fastly resource the mapping applies to. One of account, vcl, wasm, or ngwaf.
    updated_at string
    Timestamp (RFC3339) when the mapping was last updated.
    createdAt String
    Timestamp (RFC3339) when the mapping was created.
    description String
    Description of the mapping.
    eventTypes List<String>
    The audit event types that trigger a notification. Each event type must be valid for the given scopeType.
    integrationIds List<String>
    The IDs of the integrations that should receive notifications. Must reference integrations belonging to the account linked to the configured token.
    mappingStatus String
    Whether the mapping is permitted to send notifications. One of active or inactive. A mapping is active as long as it has at least one integration ID.
    name String
    Descriptive name for the mapping.
    scopeIds List<String>
    The specific service or workspace IDs to scope the mapping to. Omit to apply the mapping to all resources of the given scopeType. Must be empty when scopeType is account.
    scopeType String
    The category of Fastly resource the mapping applies to. One of account, vcl, wasm, or ngwaf.
    updatedAt String
    Timestamp (RFC3339) when the mapping was last updated.
    createdAt string
    Timestamp (RFC3339) when the mapping was created.
    description string
    Description of the mapping.
    eventTypes string[]
    The audit event types that trigger a notification. Each event type must be valid for the given scopeType.
    integrationIds string[]
    The IDs of the integrations that should receive notifications. Must reference integrations belonging to the account linked to the configured token.
    mappingStatus string
    Whether the mapping is permitted to send notifications. One of active or inactive. A mapping is active as long as it has at least one integration ID.
    name string
    Descriptive name for the mapping.
    scopeIds string[]
    The specific service or workspace IDs to scope the mapping to. Omit to apply the mapping to all resources of the given scopeType. Must be empty when scopeType is account.
    scopeType string
    The category of Fastly resource the mapping applies to. One of account, vcl, wasm, or ngwaf.
    updatedAt string
    Timestamp (RFC3339) when the mapping was last updated.
    created_at str
    Timestamp (RFC3339) when the mapping was created.
    description str
    Description of the mapping.
    event_types Sequence[str]
    The audit event types that trigger a notification. Each event type must be valid for the given scopeType.
    integration_ids Sequence[str]
    The IDs of the integrations that should receive notifications. Must reference integrations belonging to the account linked to the configured token.
    mapping_status str
    Whether the mapping is permitted to send notifications. One of active or inactive. A mapping is active as long as it has at least one integration ID.
    name str
    Descriptive name for the mapping.
    scope_ids Sequence[str]
    The specific service or workspace IDs to scope the mapping to. Omit to apply the mapping to all resources of the given scopeType. Must be empty when scopeType is account.
    scope_type str
    The category of Fastly resource the mapping applies to. One of account, vcl, wasm, or ngwaf.
    updated_at str
    Timestamp (RFC3339) when the mapping was last updated.
    createdAt String
    Timestamp (RFC3339) when the mapping was created.
    description String
    Description of the mapping.
    eventTypes List<String>
    The audit event types that trigger a notification. Each event type must be valid for the given scopeType.
    integrationIds List<String>
    The IDs of the integrations that should receive notifications. Must reference integrations belonging to the account linked to the configured token.
    mappingStatus String
    Whether the mapping is permitted to send notifications. One of active or inactive. A mapping is active as long as it has at least one integration ID.
    name String
    Descriptive name for the mapping.
    scopeIds List<String>
    The specific service or workspace IDs to scope the mapping to. Omit to apply the mapping to all resources of the given scopeType. Must be empty when scopeType is account.
    scopeType String
    The category of Fastly resource the mapping applies to. One of account, vcl, wasm, or ngwaf.
    updatedAt String
    Timestamp (RFC3339) when the mapping was last updated.

    Import

    Fastly Audit Log Event Mappings can be imported using their mapping ID, e.g.

    $ pulumi import fastly:index/auditLogEventMapping:AuditLogEventMapping example xxxxxxxxxxxxxxxxxxxx
    

    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
    Viewing docs for Fastly v12.6.0
    published on Wednesday, Aug 12, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial