hsdp.IamEmailTemplate
Explore with Pulumi AI
There are certain IAM flows that trigger email notifications to the user. The email delivered to users will use the IAM specific email template by default. This resource allows you to manage template for your HSDP IAM organization. Further reading.
To use this resource the configured IAM account should have the
EMAILTEMPLATE.READ
,EMAILTEMPLATE.WRITE
andEMAILTEMPLATE.DELETE
permissions assigned to it
Types of templates
The various template types supported by IAM are:
Type | Description |
---|---|
ACCOUNT_ALREADY_VERIFIED | If a user’s account is already verified and activated and the resend verification is triggered, the user gets this email with a message that the account is already verified. |
ACCOUNT_UNLOCKED | If a user’s account is unlocked by an administrator, the user gets this email notification. |
ACCOUNT_VERIFICATION | When a user gets registered within an organization, an account verification email will be sent to the user. The email message will contain an account verification link that will redirect users to the set password page through which the user can set a password and complete the registration process. |
MFA_DISABLED | If multi-factor authentication is disabled for a user, the user will get this email notification. |
MFA_ENABLED | If multi-factor authentication is enabled for a user, the user will get this email notification. |
MFA_OTP | This multi-factor authentication is used to send out the OTP for authenticating your account. |
PASSWORD_CHANGED | If a user’s password is changed successfully, the user will get this email notification. |
PASSWORD_EXPIRY | If a user’s password is about to expire, this email will be sent to the user with a link to change the password. |
PASSWORD_FAILED_ATTEMPTS | If there are multiple attempts to change a user account password with invalid current password, then the user will get this email notification warning the user about malicious login attempts. This notification will be sent after 5 invalid attempts. |
PASSWORD_RECOVERY | If a user triggers the forgot password flow, a password reset email message will be sent to the user. The email message will contain a reset password link that will redirect the user to the reset password page, through which the user can set a new password. |
EMAIL_VERIFICATION_VIA_CODE | When a user gets registered within an organization & if the user wants to verify email address, an account verification email will be sent to user |
Placeholders
Email template supports adding certain placeholders and redirect link in message body based on template type specified. This allows client to templatize certain parts of email template with dynamic data based on whom the email is targeted.
All template types support the following placeholders in subject and message
{{user.email}}
- Email address of user{{user.userName}}
- Unique login ID of the user{{user.givenName}}
- User’s first name{{user.familyName}}
- User’s last name
Various template types supported by the platform are
ACCOUNT_VERIFICATION
When a user gets registered within an organization, an account verification email will be sent to user. Clicking the account verification link, will activate the user account. The following placeholders are supported in this template
{{link.verification}}
- Account verification uri{{template.linkExpiryPeriod}}
- How long the verification link is valid (in hours) If link field is configured to a custom URL, upon clicking the verification link, the user will be redirected to the specified link with an OTP appended to it. If no link is set, HSDP default link will be used for account activation.
ACCOUNT_ALREADY_VERIFIED
If a user’s account is already verified and activated, and if resend verification is triggered, user gets this mail with a message that account is already verified. No link needs to be configured for this template.
ACCOUNT_UNLOCKED
If a user’s account is unlocked by an administrator, user gets this email notification. No link needs to be configured for this template.
PASSWORD_RECOVERY
If a user triggers forgot password flow, a password reset email message will be sent to user. The email message will contain a reset password link that will redirect the user to reset password page through which user can set a new password. The following placeholders are supported in this template
{{link.passwordReset}}
- Reset password uri The link can be configured to a custom page where the user can set new password. If no link is set, HSDP default link will be used for password reset.
PASSWORD_EXPIRY
If a user password is about to expire, this email will be sent to user with a link to change the password. The following placeholders are supported in this template
{{link.passwordChange}}
- Change password uri{{password.expiresAfterPeriod}}
- How long the current password is valid (in days) The link can be configured to a custom login page. Upon login the user can be redirected to change password page where the user should be asked to enter old password and new password. If no link is set, HSDP default link will be used for password change.
PASSWORD_FAILED_ATTEMPTS
If there are multiple attempts to change user account password with invalid current password, then the user will get this email notification warning user about malicious login attempts. This notification will be sent after 5 invalid attempts. The following placeholders are supported in this template
{{user.lockoutPeriod}}
- How long the account will be in locked state (in minutes)
PASSWORD_CHANGED
If user’s password is changed successfully, user gets this email notification. No link need to be configured for this template.
MFA_ENABLED
If multi-factor authentication is enabled for a user, user will get this email notification. No link need to be configured for this template.
MFA_DISABLED
If multi-factor authentication is disabled for a user, user will get this email notification. No link need to be configured for this template.
MFA_OTP
This multi-factor authentication is used to send out the OTP for authenticating your account.
EMAIL_VERIFICATION_VIA_CODE
When a user gets registered within an organization & if the user wants to verify email address, an account verification email will be sent to user . Otp will be received which needs to be used in IAM API confirm verification code to verify the email address. The following placeholders are supported in this template
{{OTP}}
- Email verification code{{template.linkExpiryPeriod}}
- How long the verification link is valid (in hours)
Example Usage
The following example manages an email template for an org
import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";
const passwordChanged = new hsdp.IamEmailTemplate("passwordChanged", {
type: "PASSWORD_CHANGED",
managingOrganization: data.hsdp_iam_org.myorg.id,
format: "HTML",
subject: "Your IAM account password was changed",
message: `Dear {{user.givenName}},
Your password was recently changed. If this was not initiated
by you please contact support immediately.
Kind regards,
IAM Team
`,
});
const passwordExpiry = new hsdp.IamEmailTemplate("passwordExpiry", {
type: "PASSWORD_EXPIRY",
managingOrganization: data.hsdp_iam_org.myorg.id,
format: "HTML",
subject: "Your IAM account password was changed",
message: `Dear {{user.givenName}},
Your password will expire in {{password.expiresAfterPeriod}} day(s). Please set a new
password using the below link:
{{link.passwordChange}}
Kind regards,
IAM Team
`,
});
import pulumi
import pulumi_hsdp as hsdp
password_changed = hsdp.IamEmailTemplate("passwordChanged",
type="PASSWORD_CHANGED",
managing_organization=data["hsdp_iam_org"]["myorg"]["id"],
format="HTML",
subject="Your IAM account password was changed",
message="""Dear {{user.givenName}},
Your password was recently changed. If this was not initiated
by you please contact support immediately.
Kind regards,
IAM Team
""")
password_expiry = hsdp.IamEmailTemplate("passwordExpiry",
type="PASSWORD_EXPIRY",
managing_organization=data["hsdp_iam_org"]["myorg"]["id"],
format="HTML",
subject="Your IAM account password was changed",
message="""Dear {{user.givenName}},
Your password will expire in {{password.expiresAfterPeriod}} day(s). Please set a new
password using the below link:
{{link.passwordChange}}
Kind regards,
IAM Team
""")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/hsdp/hsdp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hsdp.NewIamEmailTemplate(ctx, "passwordChanged", &hsdp.IamEmailTemplateArgs{
Type: pulumi.String("PASSWORD_CHANGED"),
ManagingOrganization: pulumi.Any(data.Hsdp_iam_org.Myorg.Id),
Format: pulumi.String("HTML"),
Subject: pulumi.String("Your IAM account password was changed"),
Message: pulumi.String(`Dear {{user.givenName}},
Your password was recently changed. If this was not initiated
by you please contact support immediately.
Kind regards,
IAM Team
`),
})
if err != nil {
return err
}
_, err = hsdp.NewIamEmailTemplate(ctx, "passwordExpiry", &hsdp.IamEmailTemplateArgs{
Type: pulumi.String("PASSWORD_EXPIRY"),
ManagingOrganization: pulumi.Any(data.Hsdp_iam_org.Myorg.Id),
Format: pulumi.String("HTML"),
Subject: pulumi.String("Your IAM account password was changed"),
Message: pulumi.String(`Dear {{user.givenName}},
Your password will expire in {{password.expiresAfterPeriod}} day(s). Please set a new
password using the below link:
{{link.passwordChange}}
Kind regards,
IAM Team
`),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hsdp = Pulumi.Hsdp;
return await Deployment.RunAsync(() =>
{
var passwordChanged = new Hsdp.IamEmailTemplate("passwordChanged", new()
{
Type = "PASSWORD_CHANGED",
ManagingOrganization = data.Hsdp_iam_org.Myorg.Id,
Format = "HTML",
Subject = "Your IAM account password was changed",
Message = @"Dear {{user.givenName}},
Your password was recently changed. If this was not initiated
by you please contact support immediately.
Kind regards,
IAM Team
",
});
var passwordExpiry = new Hsdp.IamEmailTemplate("passwordExpiry", new()
{
Type = "PASSWORD_EXPIRY",
ManagingOrganization = data.Hsdp_iam_org.Myorg.Id,
Format = "HTML",
Subject = "Your IAM account password was changed",
Message = @"Dear {{user.givenName}},
Your password will expire in {{password.expiresAfterPeriod}} day(s). Please set a new
password using the below link:
{{link.passwordChange}}
Kind regards,
IAM Team
",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.IamEmailTemplate;
import com.pulumi.hsdp.IamEmailTemplateArgs;
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 passwordChanged = new IamEmailTemplate("passwordChanged", IamEmailTemplateArgs.builder()
.type("PASSWORD_CHANGED")
.managingOrganization(data.hsdp_iam_org().myorg().id())
.format("HTML")
.subject("Your IAM account password was changed")
.message("""
Dear {{user.givenName}},
Your password was recently changed. If this was not initiated
by you please contact support immediately.
Kind regards,
IAM Team
""")
.build());
var passwordExpiry = new IamEmailTemplate("passwordExpiry", IamEmailTemplateArgs.builder()
.type("PASSWORD_EXPIRY")
.managingOrganization(data.hsdp_iam_org().myorg().id())
.format("HTML")
.subject("Your IAM account password was changed")
.message("""
Dear {{user.givenName}},
Your password will expire in {{password.expiresAfterPeriod}} day(s). Please set a new
password using the below link:
{{link.passwordChange}}
Kind regards,
IAM Team
""")
.build());
}
}
resources:
passwordChanged:
type: hsdp:IamEmailTemplate
properties:
type: PASSWORD_CHANGED
managingOrganization: ${data.hsdp_iam_org.myorg.id}
format: HTML
subject: Your IAM account password was changed
message: |
Dear {{user.givenName}},
Your password was recently changed. If this was not initiated
by you please contact support immediately.
Kind regards,
IAM Team
passwordExpiry:
type: hsdp:IamEmailTemplate
properties:
type: PASSWORD_EXPIRY
managingOrganization: ${data.hsdp_iam_org.myorg.id}
format: HTML
subject: Your IAM account password was changed
message: |
Dear {{user.givenName}},
Your password will expire in {{password.expiresAfterPeriod}} day(s). Please set a new
password using the below link:
{{link.passwordChange}}
Kind regards,
IAM Team
Create IamEmailTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IamEmailTemplate(name: string, args: IamEmailTemplateArgs, opts?: CustomResourceOptions);
@overload
def IamEmailTemplate(resource_name: str,
args: IamEmailTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IamEmailTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
managing_organization: Optional[str] = None,
message: Optional[str] = None,
type: Optional[str] = None,
format: Optional[str] = None,
from_: Optional[str] = None,
iam_email_template_id: Optional[str] = None,
link: Optional[str] = None,
locale: Optional[str] = None,
subject: Optional[str] = None)
func NewIamEmailTemplate(ctx *Context, name string, args IamEmailTemplateArgs, opts ...ResourceOption) (*IamEmailTemplate, error)
public IamEmailTemplate(string name, IamEmailTemplateArgs args, CustomResourceOptions? opts = null)
public IamEmailTemplate(String name, IamEmailTemplateArgs args)
public IamEmailTemplate(String name, IamEmailTemplateArgs args, CustomResourceOptions options)
type: hsdp:IamEmailTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IamEmailTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IamEmailTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IamEmailTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IamEmailTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IamEmailTemplateArgs
- 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 iamEmailTemplateResource = new Hsdp.IamEmailTemplate("iamEmailTemplateResource", new()
{
ManagingOrganization = "string",
Message = "string",
Type = "string",
Format = "string",
From = "string",
IamEmailTemplateId = "string",
Link = "string",
Locale = "string",
Subject = "string",
});
example, err := hsdp.NewIamEmailTemplate(ctx, "iamEmailTemplateResource", &hsdp.IamEmailTemplateArgs{
ManagingOrganization: pulumi.String("string"),
Message: pulumi.String("string"),
Type: pulumi.String("string"),
Format: pulumi.String("string"),
From: pulumi.String("string"),
IamEmailTemplateId: pulumi.String("string"),
Link: pulumi.String("string"),
Locale: pulumi.String("string"),
Subject: pulumi.String("string"),
})
var iamEmailTemplateResource = new IamEmailTemplate("iamEmailTemplateResource", IamEmailTemplateArgs.builder()
.managingOrganization("string")
.message("string")
.type("string")
.format("string")
.from("string")
.iamEmailTemplateId("string")
.link("string")
.locale("string")
.subject("string")
.build());
iam_email_template_resource = hsdp.IamEmailTemplate("iamEmailTemplateResource",
managing_organization="string",
message="string",
type="string",
format="string",
from_="string",
iam_email_template_id="string",
link="string",
locale="string",
subject="string")
const iamEmailTemplateResource = new hsdp.IamEmailTemplate("iamEmailTemplateResource", {
managingOrganization: "string",
message: "string",
type: "string",
format: "string",
from: "string",
iamEmailTemplateId: "string",
link: "string",
locale: "string",
subject: "string",
});
type: hsdp:IamEmailTemplate
properties:
format: string
from: string
iamEmailTemplateId: string
link: string
locale: string
managingOrganization: string
message: string
subject: string
type: string
IamEmailTemplate 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 IamEmailTemplate resource accepts the following input properties:
- Managing
Organization string - The UUID of the IAM Org to apply this email template to
- Message string
- A boolean value indicating if challenges are enabled at organization level. If the value is set to true,
challenge_policy
attribute is mandatory. - Type string
- The email template. See the
Type
table above for available values - Format string
- The template format. Must be
HTML
currently - From string
- The From field of the email. Default value is
default
- Iam
Email stringTemplate Id - The GUID of the email template
- Link string
- A clickable link, depends on the template
type
- Locale string
- The locale of the template. When not specified the template will become the default. Only a single default template is allowed of course.
- Subject string
- The Subject line of the email. Default value is
default
- Managing
Organization string - The UUID of the IAM Org to apply this email template to
- Message string
- A boolean value indicating if challenges are enabled at organization level. If the value is set to true,
challenge_policy
attribute is mandatory. - Type string
- The email template. See the
Type
table above for available values - Format string
- The template format. Must be
HTML
currently - From string
- The From field of the email. Default value is
default
- Iam
Email stringTemplate Id - The GUID of the email template
- Link string
- A clickable link, depends on the template
type
- Locale string
- The locale of the template. When not specified the template will become the default. Only a single default template is allowed of course.
- Subject string
- The Subject line of the email. Default value is
default
- managing
Organization String - The UUID of the IAM Org to apply this email template to
- message String
- A boolean value indicating if challenges are enabled at organization level. If the value is set to true,
challenge_policy
attribute is mandatory. - type String
- The email template. See the
Type
table above for available values - format String
- The template format. Must be
HTML
currently - from String
- The From field of the email. Default value is
default
- iam
Email StringTemplate Id - The GUID of the email template
- link String
- A clickable link, depends on the template
type
- locale String
- The locale of the template. When not specified the template will become the default. Only a single default template is allowed of course.
- subject String
- The Subject line of the email. Default value is
default
- managing
Organization string - The UUID of the IAM Org to apply this email template to
- message string
- A boolean value indicating if challenges are enabled at organization level. If the value is set to true,
challenge_policy
attribute is mandatory. - type string
- The email template. See the
Type
table above for available values - format string
- The template format. Must be
HTML
currently - from string
- The From field of the email. Default value is
default
- iam
Email stringTemplate Id - The GUID of the email template
- link string
- A clickable link, depends on the template
type
- locale string
- The locale of the template. When not specified the template will become the default. Only a single default template is allowed of course.
- subject string
- The Subject line of the email. Default value is
default
- managing_
organization str - The UUID of the IAM Org to apply this email template to
- message str
- A boolean value indicating if challenges are enabled at organization level. If the value is set to true,
challenge_policy
attribute is mandatory. - type str
- The email template. See the
Type
table above for available values - format str
- The template format. Must be
HTML
currently - from_ str
- The From field of the email. Default value is
default
- iam_
email_ strtemplate_ id - The GUID of the email template
- link str
- A clickable link, depends on the template
type
- locale str
- The locale of the template. When not specified the template will become the default. Only a single default template is allowed of course.
- subject str
- The Subject line of the email. Default value is
default
- managing
Organization String - The UUID of the IAM Org to apply this email template to
- message String
- A boolean value indicating if challenges are enabled at organization level. If the value is set to true,
challenge_policy
attribute is mandatory. - type String
- The email template. See the
Type
table above for available values - format String
- The template format. Must be
HTML
currently - from String
- The From field of the email. Default value is
default
- iam
Email StringTemplate Id - The GUID of the email template
- link String
- A clickable link, depends on the template
type
- locale String
- The locale of the template. When not specified the template will become the default. Only a single default template is allowed of course.
- subject String
- The Subject line of the email. Default value is
default
Outputs
All input properties are implicitly available as output properties. Additionally, the IamEmailTemplate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Message
Base64 string
- Id string
- The provider-assigned unique ID for this managed resource.
- Message
Base64 string
- id String
- The provider-assigned unique ID for this managed resource.
- message
Base64 String
- id string
- The provider-assigned unique ID for this managed resource.
- message
Base64 string
- id str
- The provider-assigned unique ID for this managed resource.
- message_
base64 str
- id String
- The provider-assigned unique ID for this managed resource.
- message
Base64 String
Look up Existing IamEmailTemplate Resource
Get an existing IamEmailTemplate 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?: IamEmailTemplateState, opts?: CustomResourceOptions): IamEmailTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
format: Optional[str] = None,
from_: Optional[str] = None,
iam_email_template_id: Optional[str] = None,
link: Optional[str] = None,
locale: Optional[str] = None,
managing_organization: Optional[str] = None,
message: Optional[str] = None,
message_base64: Optional[str] = None,
subject: Optional[str] = None,
type: Optional[str] = None) -> IamEmailTemplate
func GetIamEmailTemplate(ctx *Context, name string, id IDInput, state *IamEmailTemplateState, opts ...ResourceOption) (*IamEmailTemplate, error)
public static IamEmailTemplate Get(string name, Input<string> id, IamEmailTemplateState? state, CustomResourceOptions? opts = null)
public static IamEmailTemplate get(String name, Output<String> id, IamEmailTemplateState state, CustomResourceOptions options)
resources: _: type: hsdp:IamEmailTemplate get: id: ${id}
- 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.
- 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.
- Format string
- The template format. Must be
HTML
currently - From string
- The From field of the email. Default value is
default
- Iam
Email stringTemplate Id - The GUID of the email template
- Link string
- A clickable link, depends on the template
type
- Locale string
- The locale of the template. When not specified the template will become the default. Only a single default template is allowed of course.
- Managing
Organization string - The UUID of the IAM Org to apply this email template to
- Message string
- A boolean value indicating if challenges are enabled at organization level. If the value is set to true,
challenge_policy
attribute is mandatory. - Message
Base64 string - Subject string
- The Subject line of the email. Default value is
default
- Type string
- The email template. See the
Type
table above for available values
- Format string
- The template format. Must be
HTML
currently - From string
- The From field of the email. Default value is
default
- Iam
Email stringTemplate Id - The GUID of the email template
- Link string
- A clickable link, depends on the template
type
- Locale string
- The locale of the template. When not specified the template will become the default. Only a single default template is allowed of course.
- Managing
Organization string - The UUID of the IAM Org to apply this email template to
- Message string
- A boolean value indicating if challenges are enabled at organization level. If the value is set to true,
challenge_policy
attribute is mandatory. - Message
Base64 string - Subject string
- The Subject line of the email. Default value is
default
- Type string
- The email template. See the
Type
table above for available values
- format String
- The template format. Must be
HTML
currently - from String
- The From field of the email. Default value is
default
- iam
Email StringTemplate Id - The GUID of the email template
- link String
- A clickable link, depends on the template
type
- locale String
- The locale of the template. When not specified the template will become the default. Only a single default template is allowed of course.
- managing
Organization String - The UUID of the IAM Org to apply this email template to
- message String
- A boolean value indicating if challenges are enabled at organization level. If the value is set to true,
challenge_policy
attribute is mandatory. - message
Base64 String - subject String
- The Subject line of the email. Default value is
default
- type String
- The email template. See the
Type
table above for available values
- format string
- The template format. Must be
HTML
currently - from string
- The From field of the email. Default value is
default
- iam
Email stringTemplate Id - The GUID of the email template
- link string
- A clickable link, depends on the template
type
- locale string
- The locale of the template. When not specified the template will become the default. Only a single default template is allowed of course.
- managing
Organization string - The UUID of the IAM Org to apply this email template to
- message string
- A boolean value indicating if challenges are enabled at organization level. If the value is set to true,
challenge_policy
attribute is mandatory. - message
Base64 string - subject string
- The Subject line of the email. Default value is
default
- type string
- The email template. See the
Type
table above for available values
- format str
- The template format. Must be
HTML
currently - from_ str
- The From field of the email. Default value is
default
- iam_
email_ strtemplate_ id - The GUID of the email template
- link str
- A clickable link, depends on the template
type
- locale str
- The locale of the template. When not specified the template will become the default. Only a single default template is allowed of course.
- managing_
organization str - The UUID of the IAM Org to apply this email template to
- message str
- A boolean value indicating if challenges are enabled at organization level. If the value is set to true,
challenge_policy
attribute is mandatory. - message_
base64 str - subject str
- The Subject line of the email. Default value is
default
- type str
- The email template. See the
Type
table above for available values
- format String
- The template format. Must be
HTML
currently - from String
- The From field of the email. Default value is
default
- iam
Email StringTemplate Id - The GUID of the email template
- link String
- A clickable link, depends on the template
type
- locale String
- The locale of the template. When not specified the template will become the default. Only a single default template is allowed of course.
- managing
Organization String - The UUID of the IAM Org to apply this email template to
- message String
- A boolean value indicating if challenges are enabled at organization level. If the value is set to true,
challenge_policy
attribute is mandatory. - message
Base64 String - subject String
- The Subject line of the email. Default value is
default
- type String
- The email template. See the
Type
table above for available values
Import
Importing is supported but not recommended as the message
body is not returned when reading out a template via the IAM API
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdp
Terraform Provider.