published on Wednesday, Aug 12, 2026 by Pulumi
published on Wednesday, Aug 12, 2026 by Pulumi
Use this data source to get information about an existing Audit Log Event Mapping for use with other resources.
Warning: The data source’s filters are applied using an AND boolean operator, so depending on the combination of filters, they may become mutually exclusive. The exception to this is
idwhich must not be specified in combination with any of the others.
Note: If more or less than a single match is returned by the search, an error will be reported. Ensure that your search is specific enough to return a single mapping.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fastly from "@pulumi/fastly";
const example = fastly.getAuditLogEventMapping({
name: "Example mapping",
scopeType: "account",
});
import pulumi
import pulumi_fastly as fastly
example = fastly.get_audit_log_event_mapping(name="Example mapping",
scope_type="account")
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 {
_, err := fastly.GetAuditLogEventMapping(ctx, &fastly.LookupAuditLogEventMappingArgs{
Name: pulumi.StringRef("Example mapping"),
ScopeType: pulumi.StringRef("account"),
}, nil)
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 = Fastly.GetAuditLogEventMapping.Invoke(new()
{
Name = "Example mapping",
ScopeType = "account",
});
});
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.GetAuditLogEventMappingArgs;
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) {
final var example = FastlyFunctions.getAuditLogEventMapping(GetAuditLogEventMappingArgs.builder()
.name("Example mapping")
.scopeType("account")
.build());
}
}
variables:
example:
fn::invoke:
function: fastly:getAuditLogEventMapping
arguments:
name: Example mapping
scopeType: account
pulumi {
required_providers {
fastly = {
source = "pulumi/fastly"
}
}
}
data "fastly_getauditlogeventmapping" "example" {
name = "Example mapping"
scope_type = "account"
}
Using getAuditLogEventMapping
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 getAuditLogEventMapping(args: GetAuditLogEventMappingArgs, opts?: InvokeOptions): Promise<GetAuditLogEventMappingResult>
function getAuditLogEventMappingOutput(args: GetAuditLogEventMappingOutputArgs, opts?: InvokeOutputOptions): Output<GetAuditLogEventMappingResult>def get_audit_log_event_mapping(id: Optional[str] = None,
integration_id: Optional[str] = None,
mapping_status: Optional[str] = None,
name: Optional[str] = None,
scope_id: Optional[str] = None,
scope_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAuditLogEventMappingResult
def get_audit_log_event_mapping_output(id: pulumi.Input[Optional[str]] = None,
integration_id: pulumi.Input[Optional[str]] = None,
mapping_status: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
scope_id: pulumi.Input[Optional[str]] = None,
scope_type: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAuditLogEventMappingResult]func LookupAuditLogEventMapping(ctx *Context, args *LookupAuditLogEventMappingArgs, opts ...InvokeOption) (*LookupAuditLogEventMappingResult, error)
func LookupAuditLogEventMappingOutput(ctx *Context, args *LookupAuditLogEventMappingOutputArgs, opts ...InvokeOption) LookupAuditLogEventMappingResultOutput> Note: This function is named LookupAuditLogEventMapping in the Go SDK.
public static class GetAuditLogEventMapping
{
public static Task<GetAuditLogEventMappingResult> InvokeAsync(GetAuditLogEventMappingArgs args, InvokeOptions? opts = null)
public static Output<GetAuditLogEventMappingResult> Invoke(GetAuditLogEventMappingInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAuditLogEventMappingResult> Invoke(GetAuditLogEventMappingInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAuditLogEventMappingResult> getAuditLogEventMapping(GetAuditLogEventMappingArgs args, InvokeOptions options)
public static Output<GetAuditLogEventMappingResult> getAuditLogEventMapping(GetAuditLogEventMappingArgs args, InvokeOptions options)
public static Output<GetAuditLogEventMappingResult> getAuditLogEventMapping(GetAuditLogEventMappingArgs args, InvokeOutputOptions options)
fn::invoke:
function: fastly:index/getAuditLogEventMapping:getAuditLogEventMapping
arguments:
# arguments dictionarydata "fastly_get_audit_log_event_mapping" "name" {
# arguments
}The following arguments are supported:
- Id string
- Unique ID of the mapping. Conflicts with all the other filters.
- Integration
Id string - Filters results to mappings that reference the given integration ID.
- Mapping
Status string - Filters results by mapping status:
activeorinactive. - Name string
- Filters results to mappings whose name contains the given string (case-insensitive).
- Scope
Id string - Filters results to mappings that apply to the given service or workspace ID.
- Scope
Type string - Filters results to the given scope type:
account,vcl,wasm, orngwaf.
- Id string
- Unique ID of the mapping. Conflicts with all the other filters.
- Integration
Id string - Filters results to mappings that reference the given integration ID.
- Mapping
Status string - Filters results by mapping status:
activeorinactive. - Name string
- Filters results to mappings whose name contains the given string (case-insensitive).
- Scope
Id string - Filters results to mappings that apply to the given service or workspace ID.
- Scope
Type string - Filters results to the given scope type:
account,vcl,wasm, orngwaf.
- id string
- Unique ID of the mapping. Conflicts with all the other filters.
- integration_
id string - Filters results to mappings that reference the given integration ID.
- mapping_
status string - Filters results by mapping status:
activeorinactive. - name string
- Filters results to mappings whose name contains the given string (case-insensitive).
- scope_
id string - Filters results to mappings that apply to the given service or workspace ID.
- scope_
type string - Filters results to the given scope type:
account,vcl,wasm, orngwaf.
- id String
- Unique ID of the mapping. Conflicts with all the other filters.
- integration
Id String - Filters results to mappings that reference the given integration ID.
- mapping
Status String - Filters results by mapping status:
activeorinactive. - name String
- Filters results to mappings whose name contains the given string (case-insensitive).
- scope
Id String - Filters results to mappings that apply to the given service or workspace ID.
- scope
Type String - Filters results to the given scope type:
account,vcl,wasm, orngwaf.
- id string
- Unique ID of the mapping. Conflicts with all the other filters.
- integration
Id string - Filters results to mappings that reference the given integration ID.
- mapping
Status string - Filters results by mapping status:
activeorinactive. - name string
- Filters results to mappings whose name contains the given string (case-insensitive).
- scope
Id string - Filters results to mappings that apply to the given service or workspace ID.
- scope
Type string - Filters results to the given scope type:
account,vcl,wasm, orngwaf.
- id str
- Unique ID of the mapping. Conflicts with all the other filters.
- integration_
id str - Filters results to mappings that reference the given integration ID.
- mapping_
status str - Filters results by mapping status:
activeorinactive. - name str
- Filters results to mappings whose name contains the given string (case-insensitive).
- scope_
id str - Filters results to mappings that apply to the given service or workspace ID.
- scope_
type str - Filters results to the given scope type:
account,vcl,wasm, orngwaf.
- id String
- Unique ID of the mapping. Conflicts with all the other filters.
- integration
Id String - Filters results to mappings that reference the given integration ID.
- mapping
Status String - Filters results by mapping status:
activeorinactive. - name String
- Filters results to mappings whose name contains the given string (case-insensitive).
- scope
Id String - Filters results to mappings that apply to the given service or workspace ID.
- scope
Type String - Filters results to the given scope type:
account,vcl,wasm, orngwaf.
getAuditLogEventMapping Result
The following output properties are available:
- 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.
- Id string
- Unique ID of the mapping. Conflicts with all the other filters.
- Integration
Ids List<string> - The IDs of the integrations that receive notifications.
- Mapping
Status string - Filters results by mapping status:
activeorinactive. - Name string
- Filters results to mappings whose name contains the given string (case-insensitive).
- Scope
Ids List<string> - The specific service or workspace IDs the mapping is scoped to.
- Scope
Type string - Filters results to the given scope type:
account,vcl,wasm, orngwaf. - Updated
At string - Timestamp (RFC3339) when the mapping was last updated.
- Integration
Id string - Filters results to mappings that reference the given integration ID.
- Scope
Id string - Filters results to mappings that apply to the given service or workspace ID.
- Created
At string - Timestamp (RFC3339) when the mapping was created.
- Description string
- Description of the mapping.
- Event
Types []string - The audit event types that trigger a notification.
- Id string
- Unique ID of the mapping. Conflicts with all the other filters.
- Integration
Ids []string - The IDs of the integrations that receive notifications.
- Mapping
Status string - Filters results by mapping status:
activeorinactive. - Name string
- Filters results to mappings whose name contains the given string (case-insensitive).
- Scope
Ids []string - The specific service or workspace IDs the mapping is scoped to.
- Scope
Type string - Filters results to the given scope type:
account,vcl,wasm, orngwaf. - Updated
At string - Timestamp (RFC3339) when the mapping was last updated.
- Integration
Id string - Filters results to mappings that reference the given integration ID.
- Scope
Id string - Filters results to mappings that apply to the given service or workspace ID.
- 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.
- id string
- Unique ID of the mapping. Conflicts with all the other filters.
- integration_
ids list(string) - The IDs of the integrations that receive notifications.
- mapping_
status string - Filters results by mapping status:
activeorinactive. - name string
- Filters results to mappings whose name contains the given string (case-insensitive).
- scope_
ids list(string) - The specific service or workspace IDs the mapping is scoped to.
- scope_
type string - Filters results to the given scope type:
account,vcl,wasm, orngwaf. - updated_
at string - Timestamp (RFC3339) when the mapping was last updated.
- integration_
id string - Filters results to mappings that reference the given integration ID.
- scope_
id string - Filters results to mappings that apply to the given service or workspace ID.
- 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.
- id String
- Unique ID of the mapping. Conflicts with all the other filters.
- integration
Ids List<String> - The IDs of the integrations that receive notifications.
- mapping
Status String - Filters results by mapping status:
activeorinactive. - name String
- Filters results to mappings whose name contains the given string (case-insensitive).
- scope
Ids List<String> - The specific service or workspace IDs the mapping is scoped to.
- scope
Type String - Filters results to the given scope type:
account,vcl,wasm, orngwaf. - updated
At String - Timestamp (RFC3339) when the mapping was last updated.
- integration
Id String - Filters results to mappings that reference the given integration ID.
- scope
Id String - Filters results to mappings that apply to the given service or workspace ID.
- created
At string - Timestamp (RFC3339) when the mapping was created.
- description string
- Description of the mapping.
- event
Types string[] - The audit event types that trigger a notification.
- id string
- Unique ID of the mapping. Conflicts with all the other filters.
- integration
Ids string[] - The IDs of the integrations that receive notifications.
- mapping
Status string - Filters results by mapping status:
activeorinactive. - name string
- Filters results to mappings whose name contains the given string (case-insensitive).
- scope
Ids string[] - The specific service or workspace IDs the mapping is scoped to.
- scope
Type string - Filters results to the given scope type:
account,vcl,wasm, orngwaf. - updated
At string - Timestamp (RFC3339) when the mapping was last updated.
- integration
Id string - Filters results to mappings that reference the given integration ID.
- scope
Id string - Filters results to mappings that apply to the given service or workspace ID.
- 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.
- id str
- Unique ID of the mapping. Conflicts with all the other filters.
- integration_
ids Sequence[str] - The IDs of the integrations that receive notifications.
- mapping_
status str - Filters results by mapping status:
activeorinactive. - name str
- Filters results to mappings whose name contains the given string (case-insensitive).
- scope_
ids Sequence[str] - The specific service or workspace IDs the mapping is scoped to.
- scope_
type str - Filters results to the given scope type:
account,vcl,wasm, orngwaf. - updated_
at str - Timestamp (RFC3339) when the mapping was last updated.
- integration_
id str - Filters results to mappings that reference the given integration ID.
- scope_
id str - Filters results to mappings that apply to the given service or workspace ID.
- 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.
- id String
- Unique ID of the mapping. Conflicts with all the other filters.
- integration
Ids List<String> - The IDs of the integrations that receive notifications.
- mapping
Status String - Filters results by mapping status:
activeorinactive. - name String
- Filters results to mappings whose name contains the given string (case-insensitive).
- scope
Ids List<String> - The specific service or workspace IDs the mapping is scoped to.
- scope
Type String - Filters results to the given scope type:
account,vcl,wasm, orngwaf. - updated
At String - Timestamp (RFC3339) when the mapping was last updated.
- integration
Id String - Filters results to mappings that reference the given integration ID.
- scope
Id String - Filters results to mappings that apply to the given service or workspace ID.
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fastlyTerraform Provider.
published on Wednesday, Aug 12, 2026 by Pulumi