Module 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-oktarepo; however, if that doesn’t turn up anything, please consult the sourceterraform-providers/terraform-provider-oktarepo.
Resources
Others
Resources
Resource Email
class Email extends CustomResourceCreates an Okta Email Template.
This resource allows you to create and configure an Okta Email Template.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const example = new okta.template.Email("example", {
translations: [
{
language: "en",
subject: "Stuff",
template: "Hi ${user.firstName},<br/><br/>Blah blah ${resetPasswordLink}",
},
{
language: "es",
subject: "Cosas",
template: "Hola ${user.firstName},<br/><br/>Puedo ir al bano ${resetPasswordLink}",
},
],
type: "email.forgotPassword",
});constructor
new Email(name: string, args: EmailArgs, opts?: pulumi.CustomResourceOptions)Create a Email resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EmailState, opts?: pulumi.CustomResourceOptions): EmailGet an existing Email resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is EmailReturns true if the given object is an instance of Email. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property defaultLanguage
public defaultLanguage: pulumi.Output<string | undefined>;The default language, by default is set to "en".
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property translations
public translations: pulumi.Output<EmailTranslation[]>;Set of translations for particular template.
property type
public type: pulumi.Output<string>;Email template type
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Others
interface EmailArgs
interface EmailArgsThe set of arguments for constructing a Email resource.
property defaultLanguage
defaultLanguage?: pulumi.Input<string>;The default language, by default is set to "en".
property translations
translations: pulumi.Input<pulumi.Input<EmailTranslation>[]>;Set of translations for particular template.
property type
type: pulumi.Input<string>;Email template type
interface EmailState
interface EmailStateInput properties used for looking up and filtering Email resources.
property defaultLanguage
defaultLanguage?: pulumi.Input<string>;The default language, by default is set to "en".
property translations
translations?: pulumi.Input<pulumi.Input<EmailTranslation>[]>;Set of translations for particular template.
property type
type?: pulumi.Input<string>;Email template type