1. Packages
  2. Authentik Provider
  3. API Docs
  4. PropertyMappingNotification
authentik 2025.2.0 published on Monday, Mar 24, 2025 by goauthentik

authentik.PropertyMappingNotification

Explore with Pulumi AI

Manage Notification Property mappings

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as authentik from "@pulumi/authentik";

const name = new authentik.PropertyMappingNotification("name", {expression: "return {\"foo\": context['foo']}"});
Copy
import pulumi
import pulumi_authentik as authentik

name = authentik.PropertyMappingNotification("name", expression="return {\"foo\": context['foo']}")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/authentik/v2025/authentik"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := authentik.NewPropertyMappingNotification(ctx, "name", &authentik.PropertyMappingNotificationArgs{
			Expression: pulumi.String("return {\"foo\": context['foo']}"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Authentik = Pulumi.Authentik;

return await Deployment.RunAsync(() => 
{
    var name = new Authentik.PropertyMappingNotification("name", new()
    {
        Expression = "return {\"foo\": context['foo']}",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.authentik.PropertyMappingNotification;
import com.pulumi.authentik.PropertyMappingNotificationArgs;
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 name = new PropertyMappingNotification("name", PropertyMappingNotificationArgs.builder()
            .expression("return {\"foo\": context['foo']}")
            .build());

    }
}
Copy
resources:
  name:
    type: authentik:PropertyMappingNotification
    properties:
      expression: 'return {"foo": context[''foo'']}'
Copy

Create PropertyMappingNotification Resource

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

Constructor syntax

new PropertyMappingNotification(name: string, args: PropertyMappingNotificationArgs, opts?: CustomResourceOptions);
@overload
def PropertyMappingNotification(resource_name: str,
                                args: PropertyMappingNotificationArgs,
                                opts: Optional[ResourceOptions] = None)

@overload
def PropertyMappingNotification(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                expression: Optional[str] = None,
                                name: Optional[str] = None,
                                property_mapping_notification_id: Optional[str] = None)
func NewPropertyMappingNotification(ctx *Context, name string, args PropertyMappingNotificationArgs, opts ...ResourceOption) (*PropertyMappingNotification, error)
public PropertyMappingNotification(string name, PropertyMappingNotificationArgs args, CustomResourceOptions? opts = null)
public PropertyMappingNotification(String name, PropertyMappingNotificationArgs args)
public PropertyMappingNotification(String name, PropertyMappingNotificationArgs args, CustomResourceOptions options)
type: authentik:PropertyMappingNotification
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PropertyMappingNotificationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. PropertyMappingNotificationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. PropertyMappingNotificationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PropertyMappingNotificationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PropertyMappingNotificationArgs
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 propertyMappingNotificationResource = new Authentik.PropertyMappingNotification("propertyMappingNotificationResource", new()
{
    Expression = "string",
    Name = "string",
    PropertyMappingNotificationId = "string",
});
Copy
example, err := authentik.NewPropertyMappingNotification(ctx, "propertyMappingNotificationResource", &authentik.PropertyMappingNotificationArgs{
	Expression:                    pulumi.String("string"),
	Name:                          pulumi.String("string"),
	PropertyMappingNotificationId: pulumi.String("string"),
})
Copy
var propertyMappingNotificationResource = new PropertyMappingNotification("propertyMappingNotificationResource", PropertyMappingNotificationArgs.builder()
    .expression("string")
    .name("string")
    .propertyMappingNotificationId("string")
    .build());
Copy
property_mapping_notification_resource = authentik.PropertyMappingNotification("propertyMappingNotificationResource",
    expression="string",
    name="string",
    property_mapping_notification_id="string")
Copy
const propertyMappingNotificationResource = new authentik.PropertyMappingNotification("propertyMappingNotificationResource", {
    expression: "string",
    name: "string",
    propertyMappingNotificationId: "string",
});
Copy
type: authentik:PropertyMappingNotification
properties:
    expression: string
    name: string
    propertyMappingNotificationId: string
Copy

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

Expression This property is required. string
Name string
PropertyMappingNotificationId string
The ID of this resource.
Expression This property is required. string
Name string
PropertyMappingNotificationId string
The ID of this resource.
expression This property is required. String
name String
propertyMappingNotificationId String
The ID of this resource.
expression This property is required. string
name string
propertyMappingNotificationId string
The ID of this resource.
expression This property is required. str
name str
property_mapping_notification_id str
The ID of this resource.
expression This property is required. String
name String
propertyMappingNotificationId String
The ID of this resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the PropertyMappingNotification 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 PropertyMappingNotification Resource

Get an existing PropertyMappingNotification 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?: PropertyMappingNotificationState, opts?: CustomResourceOptions): PropertyMappingNotification
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        expression: Optional[str] = None,
        name: Optional[str] = None,
        property_mapping_notification_id: Optional[str] = None) -> PropertyMappingNotification
func GetPropertyMappingNotification(ctx *Context, name string, id IDInput, state *PropertyMappingNotificationState, opts ...ResourceOption) (*PropertyMappingNotification, error)
public static PropertyMappingNotification Get(string name, Input<string> id, PropertyMappingNotificationState? state, CustomResourceOptions? opts = null)
public static PropertyMappingNotification get(String name, Output<String> id, PropertyMappingNotificationState state, CustomResourceOptions options)
resources:  _:    type: authentik:PropertyMappingNotification    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Expression string
Name string
PropertyMappingNotificationId string
The ID of this resource.
Expression string
Name string
PropertyMappingNotificationId string
The ID of this resource.
expression String
name String
propertyMappingNotificationId String
The ID of this resource.
expression string
name string
propertyMappingNotificationId string
The ID of this resource.
expression str
name str
property_mapping_notification_id str
The ID of this resource.
expression String
name String
propertyMappingNotificationId String
The ID of this resource.

Package Details

Repository
authentik goauthentik/terraform-provider-authentik
License
Notes
This Pulumi package is based on the authentik Terraform Provider.