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

authentik.PropertyMappingLdap

Explore with Pulumi AI

Manage LDAP Source Property mappings

This resource is deprecated. Migrate to authentik.PropertyMappingSourceLdap.

Create PropertyMappingLdap Resource

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

Constructor syntax

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

@overload
def PropertyMappingLdap(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        expression: Optional[str] = None,
                        name: Optional[str] = None,
                        property_mapping_ldap_id: Optional[str] = None)
func NewPropertyMappingLdap(ctx *Context, name string, args PropertyMappingLdapArgs, opts ...ResourceOption) (*PropertyMappingLdap, error)
public PropertyMappingLdap(string name, PropertyMappingLdapArgs args, CustomResourceOptions? opts = null)
public PropertyMappingLdap(String name, PropertyMappingLdapArgs args)
public PropertyMappingLdap(String name, PropertyMappingLdapArgs args, CustomResourceOptions options)
type: authentik:PropertyMappingLdap
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. PropertyMappingLdapArgs
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. PropertyMappingLdapArgs
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. PropertyMappingLdapArgs
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. PropertyMappingLdapArgs
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. PropertyMappingLdapArgs
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 propertyMappingLdapResource = new Authentik.PropertyMappingLdap("propertyMappingLdapResource", new()
{
    Expression = "string",
    Name = "string",
    PropertyMappingLdapId = "string",
});
Copy
example, err := authentik.NewPropertyMappingLdap(ctx, "propertyMappingLdapResource", &authentik.PropertyMappingLdapArgs{
	Expression:            pulumi.String("string"),
	Name:                  pulumi.String("string"),
	PropertyMappingLdapId: pulumi.String("string"),
})
Copy
var propertyMappingLdapResource = new PropertyMappingLdap("propertyMappingLdapResource", PropertyMappingLdapArgs.builder()
    .expression("string")
    .name("string")
    .propertyMappingLdapId("string")
    .build());
Copy
property_mapping_ldap_resource = authentik.PropertyMappingLdap("propertyMappingLdapResource",
    expression="string",
    name="string",
    property_mapping_ldap_id="string")
Copy
const propertyMappingLdapResource = new authentik.PropertyMappingLdap("propertyMappingLdapResource", {
    expression: "string",
    name: "string",
    propertyMappingLdapId: "string",
});
Copy
type: authentik:PropertyMappingLdap
properties:
    expression: string
    name: string
    propertyMappingLdapId: string
Copy

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

Expression This property is required. string
Name string
PropertyMappingLdapId string
The ID of this resource.
Expression This property is required. string
Name string
PropertyMappingLdapId string
The ID of this resource.
expression This property is required. String
name String
propertyMappingLdapId String
The ID of this resource.
expression This property is required. string
name string
propertyMappingLdapId string
The ID of this resource.
expression This property is required. str
name str
property_mapping_ldap_id str
The ID of this resource.
expression This property is required. String
name String
propertyMappingLdapId String
The ID of this resource.

Outputs

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

Get an existing PropertyMappingLdap 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?: PropertyMappingLdapState, opts?: CustomResourceOptions): PropertyMappingLdap
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        expression: Optional[str] = None,
        name: Optional[str] = None,
        property_mapping_ldap_id: Optional[str] = None) -> PropertyMappingLdap
func GetPropertyMappingLdap(ctx *Context, name string, id IDInput, state *PropertyMappingLdapState, opts ...ResourceOption) (*PropertyMappingLdap, error)
public static PropertyMappingLdap Get(string name, Input<string> id, PropertyMappingLdapState? state, CustomResourceOptions? opts = null)
public static PropertyMappingLdap get(String name, Output<String> id, PropertyMappingLdapState state, CustomResourceOptions options)
resources:  _:    type: authentik:PropertyMappingLdap    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
PropertyMappingLdapId string
The ID of this resource.
Expression string
Name string
PropertyMappingLdapId string
The ID of this resource.
expression String
name String
propertyMappingLdapId String
The ID of this resource.
expression string
name string
propertyMappingLdapId string
The ID of this resource.
expression str
name str
property_mapping_ldap_id str
The ID of this resource.
expression String
name String
propertyMappingLdapId 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.