template¶
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-okta repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-okta repo.
- class
pulumi_okta.template.Email(resource_name, opts=None, default_language=None, translations=None, type=None, __props__=None, __name__=None, __opts__=None)¶ Creates an Okta Email Template.
This resource allows you to create and configure an Okta Email Template.
import pulumi import pulumi_okta as okta example = okta.template.Email("example", translations=[ { "language": "en", "subject": "Stuff", "template": f"Hi {user['firstName']},<br/><br/>Blah blah {reset_password_link}", }, { "language": "es", "subject": "Cosas", "template": f"Hola {user['firstName']},<br/><br/>Puedo ir al bano {reset_password_link}", }, ], type="email.forgotPassword")
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
default_language (pulumi.Input[str]) – The default language, by default is set to
"en".translations (pulumi.Input[list]) – Set of translations for particular template.
type (pulumi.Input[str]) – Email template type
The translations object supports the following:
language(pulumi.Input[str]) - The language to map tthe template to.subject(pulumi.Input[str]) - The email subject line.template(pulumi.Input[str]) - The email body.
default_language: pulumi.Output[str] = None¶The default language, by default is set to
"en".
translations: pulumi.Output[list] = None¶Set of translations for particular template.
language(str) - The language to map tthe template to.subject(str) - The email subject line.template(str) - The email body.
type: pulumi.Output[str] = None¶Email template type
- static
get(resource_name, id, opts=None, default_language=None, translations=None, type=None)¶ Get an existing Email resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
default_language (pulumi.Input[str]) – The default language, by default is set to
"en".translations (pulumi.Input[list]) – Set of translations for particular template.
type (pulumi.Input[str]) – Email template type
The translations object supports the following:
language(pulumi.Input[str]) - The language to map tthe template to.subject(pulumi.Input[str]) - The email subject line.template(pulumi.Input[str]) - The email body.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str