Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

AttributeToRoleIdentityMapper

Create a AttributeToRoleIdentityMapper Resource

new AttributeToRoleIdentityMapper(name: string, args: AttributeToRoleIdentityMapperArgs, opts?: CustomResourceOptions);
def AttributeToRoleIdentityMapper(resource_name: str, opts: Optional[ResourceOptions] = None, attribute_friendly_name: Optional[str] = None, attribute_name: Optional[str] = None, attribute_value: Optional[str] = None, claim_name: Optional[str] = None, claim_value: Optional[str] = None, extra_config: Optional[Mapping[str, Any]] = None, identity_provider_alias: Optional[str] = None, name: Optional[str] = None, realm: Optional[str] = None, role: Optional[str] = None)
func NewAttributeToRoleIdentityMapper(ctx *Context, name string, args AttributeToRoleIdentityMapperArgs, opts ...ResourceOption) (*AttributeToRoleIdentityMapper, error)
public AttributeToRoleIdentityMapper(string name, AttributeToRoleIdentityMapperArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args AttributeToRoleIdentityMapperArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AttributeToRoleIdentityMapperArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AttributeToRoleIdentityMapperArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

AttributeToRoleIdentityMapper Resource Properties

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

Inputs

The AttributeToRoleIdentityMapper resource accepts the following input properties:

IdentityProviderAlias string

IDP Alias

Realm string

Realm Name

Role string

Role Name

AttributeFriendlyName string

Attribute Friendly Name

AttributeName string

Attribute Name

AttributeValue string

Attribute Value

ClaimName string

OIDC Claim Name

ClaimValue string

OIDC Claim Value

ExtraConfig Dictionary<string, object>
Name string

IDP Mapper Name

IdentityProviderAlias string

IDP Alias

Realm string

Realm Name

Role string

Role Name

AttributeFriendlyName string

Attribute Friendly Name

AttributeName string

Attribute Name

AttributeValue string

Attribute Value

ClaimName string

OIDC Claim Name

ClaimValue string

OIDC Claim Value

ExtraConfig map[string]interface{}
Name string

IDP Mapper Name

identityProviderAlias string

IDP Alias

realm string

Realm Name

role string

Role Name

attributeFriendlyName string

Attribute Friendly Name

attributeName string

Attribute Name

attributeValue string

Attribute Value

claimName string

OIDC Claim Name

claimValue string

OIDC Claim Value

extraConfig {[key: string]: any}
name string

IDP Mapper Name

identity_provider_alias str

IDP Alias

realm str

Realm Name

role str

Role Name

attribute_friendly_name str

Attribute Friendly Name

attribute_name str

Attribute Name

attribute_value str

Attribute Value

claim_name str

OIDC Claim Name

claim_value str

OIDC Claim Value

extra_config Mapping[str, Any]
name str

IDP Mapper Name

Outputs

All input properties are implicitly available as output properties. Additionally, the AttributeToRoleIdentityMapper 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 str
The provider-assigned unique ID for this managed resource.

Look up an Existing AttributeToRoleIdentityMapper Resource

Get an existing AttributeToRoleIdentityMapper 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?: AttributeToRoleIdentityMapperState, opts?: CustomResourceOptions): AttributeToRoleIdentityMapper
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, attribute_friendly_name: Optional[str] = None, attribute_name: Optional[str] = None, attribute_value: Optional[str] = None, claim_name: Optional[str] = None, claim_value: Optional[str] = None, extra_config: Optional[Mapping[str, Any]] = None, identity_provider_alias: Optional[str] = None, name: Optional[str] = None, realm: Optional[str] = None, role: Optional[str] = None) -> AttributeToRoleIdentityMapper
func GetAttributeToRoleIdentityMapper(ctx *Context, name string, id IDInput, state *AttributeToRoleIdentityMapperState, opts ...ResourceOption) (*AttributeToRoleIdentityMapper, error)
public static AttributeToRoleIdentityMapper Get(string name, Input<string> id, AttributeToRoleIdentityMapperState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

AttributeFriendlyName string

Attribute Friendly Name

AttributeName string

Attribute Name

AttributeValue string

Attribute Value

ClaimName string

OIDC Claim Name

ClaimValue string

OIDC Claim Value

ExtraConfig Dictionary<string, object>
IdentityProviderAlias string

IDP Alias

Name string

IDP Mapper Name

Realm string

Realm Name

Role string

Role Name

AttributeFriendlyName string

Attribute Friendly Name

AttributeName string

Attribute Name

AttributeValue string

Attribute Value

ClaimName string

OIDC Claim Name

ClaimValue string

OIDC Claim Value

ExtraConfig map[string]interface{}
IdentityProviderAlias string

IDP Alias

Name string

IDP Mapper Name

Realm string

Realm Name

Role string

Role Name

attributeFriendlyName string

Attribute Friendly Name

attributeName string

Attribute Name

attributeValue string

Attribute Value

claimName string

OIDC Claim Name

claimValue string

OIDC Claim Value

extraConfig {[key: string]: any}
identityProviderAlias string

IDP Alias

name string

IDP Mapper Name

realm string

Realm Name

role string

Role Name

attribute_friendly_name str

Attribute Friendly Name

attribute_name str

Attribute Name

attribute_value str

Attribute Value

claim_name str

OIDC Claim Name

claim_value str

OIDC Claim Value

extra_config Mapping[str, Any]
identity_provider_alias str

IDP Alias

name str

IDP Mapper Name

realm str

Realm Name

role str

Role Name

Package Details

Repository
https://github.com/pulumi/pulumi-keycloak
License
Apache-2.0
Notes
This Pulumi package is based on the keycloak Terraform Provider.