@pulumi/okta 4.6.2 → 4.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adminRoleCustom.d.ts +129 -10
- package/adminRoleCustom.js +24 -1
- package/adminRoleCustom.js.map +1 -1
- package/adminRoleCustomAssignments.d.ts +25 -10
- package/adminRoleCustomAssignments.js +13 -1
- package/adminRoleCustomAssignments.js.map +1 -1
- package/adminRoleTargets.d.ts +44 -14
- package/adminRoleTargets.js +30 -0
- package/adminRoleTargets.js.map +1 -1
- package/app/accessPolicyAssignment.d.ts +20 -1
- package/app/accessPolicyAssignment.js +20 -1
- package/app/accessPolicyAssignment.js.map +1 -1
- package/app/autoLogin.d.ts +119 -72
- package/app/autoLogin.js +47 -0
- package/app/autoLogin.js.map +1 -1
- package/app/basicAuth.d.ts +66 -38
- package/app/basicAuth.js +28 -0
- package/app/basicAuth.js.map +1 -1
- package/app/bookmark.d.ts +71 -35
- package/app/bookmark.js +27 -0
- package/app/bookmark.js.map +1 -1
- package/app/getApp.d.ts +25 -58
- package/app/getApp.js +2 -2
- package/app/getApp.js.map +1 -1
- package/app/getMetadataSaml.d.ts +5 -11
- package/app/getMetadataSaml.js +2 -2
- package/app/getMetadataSaml.js.map +1 -1
- package/app/getOauth.d.ts +34 -62
- package/app/getOauth.js +2 -2
- package/app/getOauth.js.map +1 -1
- package/app/getSaml.d.ts +55 -75
- package/app/getSaml.js +2 -2
- package/app/getSaml.js.map +1 -1
- package/app/groupAssignment.d.ts +15 -6
- package/app/groupAssignment.js +9 -0
- package/app/groupAssignment.js.map +1 -1
- package/app/oauth.d.ts +301 -123
- package/app/oauth.js +82 -0
- package/app/oauth.js.map +1 -1
- package/app/oauthPostLogoutRedirectUri.d.ts +38 -3
- package/app/oauthPostLogoutRedirectUri.js +35 -0
- package/app/oauthPostLogoutRedirectUri.js.map +1 -1
- package/app/oauthRedirectUri.d.ts +37 -3
- package/app/oauthRedirectUri.js +34 -0
- package/app/oauthRedirectUri.js.map +1 -1
- package/app/saml.d.ts +303 -133
- package/app/saml.js +161 -0
- package/app/saml.js.map +1 -1
- package/app/securePasswordStore.d.ts +109 -79
- package/app/securePasswordStore.js +30 -0
- package/app/securePasswordStore.js.map +1 -1
- package/app/swa.d.ts +102 -72
- package/app/swa.js +30 -0
- package/app/swa.js.map +1 -1
- package/app/threeField.d.ts +87 -72
- package/app/threeField.js +15 -0
- package/app/threeField.js.map +1 -1
- package/app/user.d.ts +37 -12
- package/app/user.js +22 -0
- package/app/user.js.map +1 -1
- package/appGroupAssignments.d.ts +40 -3
- package/appGroupAssignments.js +37 -0
- package/appGroupAssignments.js.map +1 -1
- package/appOauthApiScope.d.ts +36 -3
- package/appOauthApiScope.js +33 -0
- package/appOauthApiScope.js.map +1 -1
- package/appSamlAppSettings.d.ts +44 -6
- package/appSamlAppSettings.js +38 -0
- package/appSamlAppSettings.js.map +1 -1
- package/appSharedCredentials.d.ts +115 -72
- package/appSharedCredentials.js +43 -0
- package/appSharedCredentials.js.map +1 -1
- package/appSignonPolicy.d.ts +44 -6
- package/appSignonPolicy.js +38 -0
- package/appSignonPolicy.js.map +1 -1
- package/appSignonPolicyRule.d.ts +327 -68
- package/appSignonPolicyRule.js +244 -0
- package/appSignonPolicyRule.js.map +1 -1
- package/appUserBaseSchemaProperty.d.ts +52 -24
- package/appUserBaseSchemaProperty.js +28 -0
- package/appUserBaseSchemaProperty.js.map +1 -1
- package/appUserSchemaProperty.d.ts +80 -54
- package/appUserSchemaProperty.js +26 -0
- package/appUserSchemaProperty.js.map +1 -1
- package/auth/getServer.d.ts +11 -11
- package/auth/getServer.js +2 -2
- package/auth/getServerPolicy.d.ts +9 -15
- package/auth/getServerPolicy.js +2 -2
- package/auth/getServerPolicy.js.map +1 -1
- package/auth/getServerScopes.d.ts +5 -8
- package/auth/getServerScopes.js +2 -2
- package/auth/getServerScopes.js.map +1 -1
- package/auth/server.d.ts +49 -13
- package/auth/server.js +27 -0
- package/auth/server.js.map +1 -1
- package/auth/serverClaim.d.ts +54 -18
- package/auth/serverClaim.js +27 -0
- package/auth/serverClaim.js.map +1 -1
- package/auth/serverPolicy.d.ts +43 -6
- package/auth/serverPolicy.js +28 -0
- package/auth/serverPolicy.js.map +1 -1
- package/auth/serverPolicyRule.d.ts +72 -29
- package/auth/serverPolicyRule.js +25 -0
- package/auth/serverPolicyRule.js.map +1 -1
- package/auth/serverScope.d.ts +41 -15
- package/auth/serverScope.js +26 -0
- package/auth/serverScope.js.map +1 -1
- package/authServerClaimDefault.d.ts +50 -13
- package/authServerClaimDefault.js +31 -0
- package/authServerClaimDefault.js.map +1 -1
- package/authServerDefault.d.ts +47 -13
- package/authServerDefault.js +25 -0
- package/authServerDefault.js.map +1 -1
- package/authenticator.d.ts +94 -38
- package/authenticator.js +38 -0
- package/authenticator.js.map +1 -1
- package/behaviour.d.ts +78 -18
- package/behaviour.js +42 -0
- package/behaviour.js.map +1 -1
- package/brand.d.ts +28 -19
- package/brand.js +10 -1
- package/brand.js.map +1 -1
- package/captcha.d.ts +38 -12
- package/captcha.js +26 -0
- package/captcha.js.map +1 -1
- package/captchaOrgWideSettings.d.ts +51 -6
- package/captchaOrgWideSettings.js +45 -0
- package/captchaOrgWideSettings.js.map +1 -1
- package/domain.d.ts +39 -13
- package/domain.js +20 -0
- package/domain.js.map +1 -1
- package/domainCertificate.d.ts +63 -15
- package/domainCertificate.js +48 -0
- package/domainCertificate.js.map +1 -1
- package/domainVerification.d.ts +22 -3
- package/domainVerification.js +19 -0
- package/domainVerification.js.map +1 -1
- package/emailCustomization.d.ts +224 -3
- package/emailCustomization.js +41 -0
- package/emailCustomization.js.map +1 -1
- package/emailSender.d.ts +39 -13
- package/emailSender.js +26 -0
- package/emailSender.js.map +1 -1
- package/emailSenderVerification.d.ts +26 -3
- package/emailSenderVerification.js +23 -0
- package/emailSenderVerification.js.map +1 -1
- package/eventHook.d.ts +37 -0
- package/eventHook.js +37 -0
- package/eventHook.js.map +1 -1
- package/eventHookVerification.d.ts +37 -3
- package/eventHookVerification.js +34 -0
- package/eventHookVerification.js.map +1 -1
- package/factor/factor.d.ts +23 -6
- package/factor/factor.js +14 -0
- package/factor/factor.js.map +1 -1
- package/factorTotp.d.ts +44 -12
- package/factorTotp.js +23 -0
- package/factorTotp.js.map +1 -1
- package/getAppGroupAssignments.d.ts +6 -6
- package/getAppGroupAssignments.js +2 -2
- package/getAppSignonPolicy.d.ts +6 -16
- package/getAppSignonPolicy.js +4 -8
- package/getAppSignonPolicy.js.map +1 -1
- package/getAppUserAssignments.d.ts +6 -6
- package/getAppUserAssignments.js +2 -2
- package/getAuthServerClaim.d.ts +12 -15
- package/getAuthServerClaim.js +2 -2
- package/getAuthServerClaim.js.map +1 -1
- package/getAuthServerClaims.d.ts +5 -8
- package/getAuthServerClaims.js +2 -2
- package/getAuthServerClaims.js.map +1 -1
- package/getAuthenticator.d.ts +26 -24
- package/getAuthenticator.js +22 -14
- package/getAuthenticator.js.map +1 -1
- package/getBehaviour.d.ts +8 -6
- package/getBehaviour.js +2 -2
- package/getBehaviour.js.map +1 -1
- package/getBehaviours.d.ts +7 -7
- package/getBehaviours.js +2 -2
- package/getBrand.d.ts +6 -9
- package/getBrand.js +2 -2
- package/getBrand.js.map +1 -1
- package/getBrands.d.ts +2 -2
- package/getBrands.js +2 -2
- package/getEmailCustomization.d.ts +9 -14
- package/getEmailCustomization.js +6 -2
- package/getEmailCustomization.js.map +1 -1
- package/getEmailCustomizations.d.ts +9 -11
- package/getEmailCustomizations.js +6 -2
- package/getEmailCustomizations.js.map +1 -1
- package/getGroups.d.ts +25 -11
- package/getGroups.js +2 -2
- package/getGroups.js.map +1 -1
- package/getNetworkZone.d.ts +12 -12
- package/getNetworkZone.js +2 -2
- package/getRoleSubscription.d.ts +35 -13
- package/getRoleSubscription.js +2 -2
- package/getRoleSubscription.js.map +1 -1
- package/getTemplate.d.ts +8 -10
- package/getTemplate.js +6 -2
- package/getTemplate.js.map +1 -1
- package/getTemplates.d.ts +7 -6
- package/getTemplates.js +6 -2
- package/getTemplates.js.map +1 -1
- package/getTheme.d.ts +12 -14
- package/getTheme.js +6 -2
- package/getTheme.js.map +1 -1
- package/getThemes.d.ts +7 -6
- package/getThemes.js +6 -2
- package/getThemes.js.map +1 -1
- package/getTrustedOrigins.d.ts +4 -7
- package/getTrustedOrigins.js +2 -2
- package/getTrustedOrigins.js.map +1 -1
- package/getUserSecurityQuestions.d.ts +8 -4
- package/getUserSecurityQuestions.js +4 -0
- package/getUserSecurityQuestions.js.map +1 -1
- package/group/getEveryoneGroup.d.ts +5 -10
- package/group/getEveryoneGroup.js +2 -4
- package/group/getEveryoneGroup.js.map +1 -1
- package/group/getGroup.d.ts +26 -17
- package/group/getGroup.js +2 -2
- package/group/getGroup.js.map +1 -1
- package/group/getRule.d.ts +15 -6
- package/group/getRule.js +2 -2
- package/group/getRule.js.map +1 -1
- package/group/group.d.ts +46 -9
- package/group/group.js +37 -0
- package/group/group.js.map +1 -1
- package/group/role.d.ts +101 -15
- package/group/role.js +26 -0
- package/group/role.js.map +1 -1
- package/group/rule.d.ts +80 -6
- package/group/rule.js +23 -0
- package/group/rule.js.map +1 -1
- package/groupMemberships.d.ts +48 -7
- package/groupMemberships.js +42 -1
- package/groupMemberships.js.map +1 -1
- package/groupSchemaProperty.d.ts +94 -51
- package/groupSchemaProperty.js +25 -0
- package/groupSchemaProperty.js.map +1 -1
- package/idp/getMetadataSaml.d.ts +6 -9
- package/idp/getMetadataSaml.js +2 -2
- package/idp/getMetadataSaml.js.map +1 -1
- package/idp/getOidc.d.ts +9 -9
- package/idp/getOidc.js +2 -2
- package/idp/getSaml.d.ts +13 -16
- package/idp/getSaml.js +2 -2
- package/idp/getSaml.js.map +1 -1
- package/idp/getSocial.d.ts +2 -8
- package/idp/getSocial.js +2 -2
- package/idp/getSocial.js.map +1 -1
- package/idp/oidc.d.ts +297 -12
- package/idp/oidc.js +36 -0
- package/idp/oidc.js.map +1 -1
- package/idp/saml.d.ts +284 -18
- package/idp/saml.js +32 -0
- package/idp/saml.js.map +1 -1
- package/idp/samlKey.d.ts +48 -3
- package/idp/samlKey.js +9 -0
- package/idp/samlKey.js.map +1 -1
- package/idp/social.d.ts +251 -18
- package/idp/social.js +32 -0
- package/idp/social.js.map +1 -1
- package/index/emailDomain.d.ts +41 -16
- package/index/emailDomain.js +25 -0
- package/index/emailDomain.js.map +1 -1
- package/index/emailDomainVerification.d.ts +25 -3
- package/index/emailDomainVerification.js +22 -0
- package/index/emailDomainVerification.js.map +1 -1
- package/index/getDomain.d.ts +14 -11
- package/index/getDomain.js +8 -2
- package/index/getDomain.js.map +1 -1
- package/inline/hook.d.ts +89 -0
- package/inline/hook.js +35 -0
- package/inline/hook.js.map +1 -1
- package/linkDefinition.d.ts +30 -0
- package/linkDefinition.js +30 -0
- package/linkDefinition.js.map +1 -1
- package/linkValue.d.ts +59 -6
- package/linkValue.js +53 -0
- package/linkValue.js.map +1 -1
- package/network/zone.d.ts +74 -27
- package/network/zone.js +44 -0
- package/network/zone.js.map +1 -1
- package/orgConfiguration.d.ts +25 -0
- package/orgConfiguration.js +25 -0
- package/orgConfiguration.js.map +1 -1
- package/orgSupport.d.ts +20 -3
- package/orgSupport.js +17 -0
- package/orgSupport.js.map +1 -1
- package/package.json +1 -1
- package/policy/getDefaultPolicy.d.ts +7 -9
- package/policy/getDefaultPolicy.js +2 -6
- package/policy/getDefaultPolicy.js.map +1 -1
- package/policy/getPolicy.d.ts +10 -11
- package/policy/getPolicy.js +2 -2
- package/policy/getPolicy.js.map +1 -1
- package/policy/mfa.d.ts +259 -18
- package/policy/mfa.js +49 -0
- package/policy/mfa.js.map +1 -1
- package/policy/password.d.ts +117 -90
- package/policy/password.js +27 -0
- package/policy/password.js.map +1 -1
- package/policy/ruleIdpDiscovery.d.ts +149 -27
- package/policy/ruleIdpDiscovery.js +65 -0
- package/policy/ruleIdpDiscovery.js.map +1 -1
- package/policy/ruleMfa.d.ts +35 -24
- package/policy/ruleMfa.js +11 -0
- package/policy/ruleMfa.js.map +1 -1
- package/policy/rulePassword.d.ts +46 -33
- package/policy/rulePassword.js +13 -0
- package/policy/rulePassword.js.map +1 -1
- package/policy/ruleSignon.d.ts +170 -57
- package/policy/ruleSignon.js +92 -0
- package/policy/ruleSignon.js.map +1 -1
- package/policy/signon.d.ts +41 -15
- package/policy/signon.js +26 -0
- package/policy/signon.js.map +1 -1
- package/policyMfaDefault.d.ts +250 -13
- package/policyMfaDefault.js +45 -0
- package/policyMfaDefault.js.map +1 -1
- package/policyPasswordDefault.d.ts +88 -54
- package/policyPasswordDefault.js +22 -0
- package/policyPasswordDefault.js.map +1 -1
- package/policyProfileEnrollment.d.ts +28 -6
- package/policyProfileEnrollment.js +22 -0
- package/policyProfileEnrollment.js.map +1 -1
- package/policyProfileEnrollmentApps.d.ts +42 -5
- package/policyProfileEnrollmentApps.js +37 -0
- package/policyProfileEnrollmentApps.js.map +1 -1
- package/policyRuleProfileEnrollment.d.ts +88 -26
- package/policyRuleProfileEnrollment.js +62 -0
- package/policyRuleProfileEnrollment.js.map +1 -1
- package/profile/mapping.d.ts +95 -9
- package/profile/mapping.js +41 -0
- package/profile/mapping.js.map +1 -1
- package/rateLimiting.d.ts +43 -9
- package/rateLimiting.js +28 -0
- package/rateLimiting.js.map +1 -1
- package/resourceSet.d.ts +32 -10
- package/resourceSet.js +20 -1
- package/resourceSet.js.map +1 -1
- package/roleSubscription.d.ts +110 -9
- package/roleSubscription.js +26 -0
- package/roleSubscription.js.map +1 -1
- package/securityNotificationEmails.d.ts +45 -15
- package/securityNotificationEmails.js +30 -0
- package/securityNotificationEmails.js.map +1 -1
- package/templateSms.d.ts +47 -3
- package/templateSms.js +35 -0
- package/templateSms.js.map +1 -1
- package/theme.d.ts +59 -44
- package/theme.js +15 -0
- package/theme.js.map +1 -1
- package/threatInsightSettings.d.ts +58 -6
- package/threatInsightSettings.js +34 -0
- package/threatInsightSettings.js.map +1 -1
- package/trustedorigin/origin.d.ts +37 -12
- package/trustedorigin/origin.js +25 -0
- package/trustedorigin/origin.js.map +1 -1
- package/types/input.d.ts +227 -60
- package/types/output.d.ts +446 -56
- package/user/getUser.d.ts +104 -32
- package/user/getUser.js +2 -2
- package/user/getUser.js.map +1 -1
- package/user/getUserProfileMappingSource.d.ts +7 -9
- package/user/getUserProfileMappingSource.js +4 -6
- package/user/getUserProfileMappingSource.js.map +1 -1
- package/user/getUserType.d.ts +7 -7
- package/user/getUserType.js +2 -2
- package/user/getUsers.d.ts +57 -61
- package/user/getUsers.js +44 -30
- package/user/getUsers.js.map +1 -1
- package/user/user.d.ts +215 -117
- package/user/user.js +71 -0
- package/user/user.js.map +1 -1
- package/user/userType.d.ts +34 -9
- package/user/userType.js +25 -0
- package/user/userType.js.map +1 -1
- package/userAdminRoles.d.ts +41 -10
- package/userAdminRoles.js +29 -1
- package/userAdminRoles.js.map +1 -1
- package/userBaseSchemaProperty.d.ts +67 -24
- package/userBaseSchemaProperty.js +43 -0
- package/userBaseSchemaProperty.js.map +1 -1
- package/userFactorQuestion.d.ts +52 -14
- package/userFactorQuestion.js +39 -1
- package/userFactorQuestion.js.map +1 -1
- package/userGroupMemberships.d.ts +23 -4
- package/userGroupMemberships.js +20 -1
- package/userGroupMemberships.js.map +1 -1
- package/userSchemaProperty.d.ts +107 -57
- package/userSchemaProperty.js +32 -0
- package/userSchemaProperty.js.map +1 -1
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
package/emailCustomization.d.ts
CHANGED
|
@@ -1,4 +1,45 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this resource to create an [email
|
|
4
|
+
* customization](https://developer.okta.com/docs/reference/api/brands/#create-email-customization)
|
|
5
|
+
* of an email template belonging to a brand in an Okta organization.
|
|
6
|
+
*
|
|
7
|
+
* > Okta's public API is strict regarding the behavior of the `isDefault`
|
|
8
|
+
* property in [an email
|
|
9
|
+
* customization](https://developer.okta.com/docs/reference/api/brands/#email-customization).
|
|
10
|
+
* Make use of `dependsOn` meta argument to ensure the provider navigates email customization
|
|
11
|
+
* language versions seamlessly. Have all secondary customizations depend on the primary
|
|
12
|
+
* customization that is marked default. See Example Usage.
|
|
13
|
+
*
|
|
14
|
+
* > Caveats for [creating an email
|
|
15
|
+
* customization](https://developer.okta.com/docs/reference/api/brands/#response-body-19).
|
|
16
|
+
* If this is the first customization being created for the email template, and
|
|
17
|
+
* `isDefault` is not set for the customization in its resource configuration, the
|
|
18
|
+
* API will respond with the created customization marked as default. The API will
|
|
19
|
+
* 400 if the language parameter is not one of the supported languages or the body
|
|
20
|
+
* parameter does not contain a required variable reference. The API will error 409
|
|
21
|
+
* if `isDefault` is true and a default customization exists. The API will 404 for
|
|
22
|
+
* an invalid `brandId` or `templateName`.
|
|
23
|
+
*
|
|
24
|
+
* > Caveats for [updating an email
|
|
25
|
+
* customization](https://developer.okta.com/docs/reference/api/brands/#response-body-22).
|
|
26
|
+
* If the `isDefault` parameter is true, the previous default email customization
|
|
27
|
+
* has its `isDefault` set to false (see previous note about mitigating this with
|
|
28
|
+
* `dependsOn` meta argument). The API will 409 if there’s already another email
|
|
29
|
+
* customization for the specified language or the `isDefault` parameter is false
|
|
30
|
+
* and the email customization being updated is the default. The API will 400 if
|
|
31
|
+
* the language parameter is not one of the supported locales or the body parameter
|
|
32
|
+
* does not contain a required variable reference. The API will 404 for an invalid
|
|
33
|
+
* `brandId` or `templateName`.
|
|
34
|
+
*
|
|
35
|
+
* ## Import
|
|
36
|
+
*
|
|
37
|
+
* An email customization can be imported using the customization ID, brand ID and template name.
|
|
38
|
+
*
|
|
39
|
+
* ```sh
|
|
40
|
+
* $ pulumi import okta:index/emailCustomization:EmailCustomization example <customization_id>/<brand_id>/<template_name>
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
2
43
|
export declare class EmailCustomization extends pulumi.CustomResource {
|
|
3
44
|
/**
|
|
4
45
|
* Get an existing EmailCustomization resource's state with the given name, ID, and optional extra
|
|
@@ -24,7 +65,7 @@ export declare class EmailCustomization extends pulumi.CustomResource {
|
|
|
24
65
|
*/
|
|
25
66
|
readonly brandId: pulumi.Output<string>;
|
|
26
67
|
/**
|
|
27
|
-
*
|
|
68
|
+
* `forceIsDefault` is deprecated and now is a no-op in behavior. Rely upon the `dependsOn` meta argument to force dependency of secondary templates to the default template",
|
|
28
69
|
*
|
|
29
70
|
* @deprecated force_is_default is deprecated and now is a no-op in behavior. Rely upon the depends_on meta argument to force dependency of secondary templates to the default template
|
|
30
71
|
*/
|
|
@@ -35,6 +76,34 @@ export declare class EmailCustomization extends pulumi.CustomResource {
|
|
|
35
76
|
readonly isDefault: pulumi.Output<boolean | undefined>;
|
|
36
77
|
/**
|
|
37
78
|
* The language supported by the customization
|
|
79
|
+
* - Example values from [supported languages](https://developer.okta.com/docs/reference/api/brands/#supported-languages):
|
|
80
|
+
* `"cs"`,
|
|
81
|
+
* `"da"`,
|
|
82
|
+
* `"de"`,
|
|
83
|
+
* `"el"`,
|
|
84
|
+
* `"en"`,
|
|
85
|
+
* `"es"`,
|
|
86
|
+
* `"fi"`,
|
|
87
|
+
* `"fr"`,
|
|
88
|
+
* `"hu"`,
|
|
89
|
+
* `"id"`,
|
|
90
|
+
* `"it"`,
|
|
91
|
+
* `"ja"`,
|
|
92
|
+
* `"ko"`,
|
|
93
|
+
* `"ms"`,
|
|
94
|
+
* `"nb"`,
|
|
95
|
+
* `"nl-NL"`,
|
|
96
|
+
* `"pl"`,
|
|
97
|
+
* `"pt-BR"`,
|
|
98
|
+
* `"ro"`,
|
|
99
|
+
* `"ru"`,
|
|
100
|
+
* `"sv"`,
|
|
101
|
+
* `"th"`,
|
|
102
|
+
* `"tr"`,
|
|
103
|
+
* `"uk"`,
|
|
104
|
+
* `"vi"`,
|
|
105
|
+
* `"zh-CN"`,
|
|
106
|
+
* `"zh-TW"`
|
|
38
107
|
*/
|
|
39
108
|
readonly language: pulumi.Output<string | undefined>;
|
|
40
109
|
/**
|
|
@@ -47,6 +116,38 @@ export declare class EmailCustomization extends pulumi.CustomResource {
|
|
|
47
116
|
readonly subject: pulumi.Output<string | undefined>;
|
|
48
117
|
/**
|
|
49
118
|
* Template Name
|
|
119
|
+
* - Example values: `"AccountLockout"`,
|
|
120
|
+
* `"ADForgotPassword"`,
|
|
121
|
+
* `"ADForgotPasswordDenied"`,
|
|
122
|
+
* `"ADSelfServiceUnlock"`,
|
|
123
|
+
* `"ADUserActivation"`,
|
|
124
|
+
* `"AuthenticatorEnrolled"`,
|
|
125
|
+
* `"AuthenticatorReset"`,
|
|
126
|
+
* `"ChangeEmailConfirmation"`,
|
|
127
|
+
* `"EmailChallenge"`,
|
|
128
|
+
* `"EmailChangeConfirmation"`,
|
|
129
|
+
* `"EmailFactorVerification"`,
|
|
130
|
+
* `"ForgotPassword"`,
|
|
131
|
+
* `"ForgotPasswordDenied"`,
|
|
132
|
+
* `"IGAReviewerEndNotification"`,
|
|
133
|
+
* `"IGAReviewerNotification"`,
|
|
134
|
+
* `"IGAReviewerPendingNotification"`,
|
|
135
|
+
* `"IGAReviewerReassigned"`,
|
|
136
|
+
* `"LDAPForgotPassword"`,
|
|
137
|
+
* `"LDAPForgotPasswordDenied"`,
|
|
138
|
+
* `"LDAPSelfServiceUnlock"`,
|
|
139
|
+
* `"LDAPUserActivation"`,
|
|
140
|
+
* `"MyAccountChangeConfirmation"`,
|
|
141
|
+
* `"NewSignOnNotification"`,
|
|
142
|
+
* `"OktaVerifyActivation"`,
|
|
143
|
+
* `"PasswordChanged"`,
|
|
144
|
+
* `"PasswordResetByAdmin"`,
|
|
145
|
+
* `"PendingEmailChange"`,
|
|
146
|
+
* `"RegistrationActivation"`,
|
|
147
|
+
* `"RegistrationEmailVerification"`,
|
|
148
|
+
* `"SelfServiceUnlock"`,
|
|
149
|
+
* `"SelfServiceUnlockOnUnlockedAccount"`,
|
|
150
|
+
* `"UserActivation"`
|
|
50
151
|
*/
|
|
51
152
|
readonly templateName: pulumi.Output<string>;
|
|
52
153
|
/**
|
|
@@ -71,7 +172,7 @@ export interface EmailCustomizationState {
|
|
|
71
172
|
*/
|
|
72
173
|
brandId?: pulumi.Input<string>;
|
|
73
174
|
/**
|
|
74
|
-
*
|
|
175
|
+
* `forceIsDefault` is deprecated and now is a no-op in behavior. Rely upon the `dependsOn` meta argument to force dependency of secondary templates to the default template",
|
|
75
176
|
*
|
|
76
177
|
* @deprecated force_is_default is deprecated and now is a no-op in behavior. Rely upon the depends_on meta argument to force dependency of secondary templates to the default template
|
|
77
178
|
*/
|
|
@@ -82,6 +183,34 @@ export interface EmailCustomizationState {
|
|
|
82
183
|
isDefault?: pulumi.Input<boolean>;
|
|
83
184
|
/**
|
|
84
185
|
* The language supported by the customization
|
|
186
|
+
* - Example values from [supported languages](https://developer.okta.com/docs/reference/api/brands/#supported-languages):
|
|
187
|
+
* `"cs"`,
|
|
188
|
+
* `"da"`,
|
|
189
|
+
* `"de"`,
|
|
190
|
+
* `"el"`,
|
|
191
|
+
* `"en"`,
|
|
192
|
+
* `"es"`,
|
|
193
|
+
* `"fi"`,
|
|
194
|
+
* `"fr"`,
|
|
195
|
+
* `"hu"`,
|
|
196
|
+
* `"id"`,
|
|
197
|
+
* `"it"`,
|
|
198
|
+
* `"ja"`,
|
|
199
|
+
* `"ko"`,
|
|
200
|
+
* `"ms"`,
|
|
201
|
+
* `"nb"`,
|
|
202
|
+
* `"nl-NL"`,
|
|
203
|
+
* `"pl"`,
|
|
204
|
+
* `"pt-BR"`,
|
|
205
|
+
* `"ro"`,
|
|
206
|
+
* `"ru"`,
|
|
207
|
+
* `"sv"`,
|
|
208
|
+
* `"th"`,
|
|
209
|
+
* `"tr"`,
|
|
210
|
+
* `"uk"`,
|
|
211
|
+
* `"vi"`,
|
|
212
|
+
* `"zh-CN"`,
|
|
213
|
+
* `"zh-TW"`
|
|
85
214
|
*/
|
|
86
215
|
language?: pulumi.Input<string>;
|
|
87
216
|
/**
|
|
@@ -94,6 +223,38 @@ export interface EmailCustomizationState {
|
|
|
94
223
|
subject?: pulumi.Input<string>;
|
|
95
224
|
/**
|
|
96
225
|
* Template Name
|
|
226
|
+
* - Example values: `"AccountLockout"`,
|
|
227
|
+
* `"ADForgotPassword"`,
|
|
228
|
+
* `"ADForgotPasswordDenied"`,
|
|
229
|
+
* `"ADSelfServiceUnlock"`,
|
|
230
|
+
* `"ADUserActivation"`,
|
|
231
|
+
* `"AuthenticatorEnrolled"`,
|
|
232
|
+
* `"AuthenticatorReset"`,
|
|
233
|
+
* `"ChangeEmailConfirmation"`,
|
|
234
|
+
* `"EmailChallenge"`,
|
|
235
|
+
* `"EmailChangeConfirmation"`,
|
|
236
|
+
* `"EmailFactorVerification"`,
|
|
237
|
+
* `"ForgotPassword"`,
|
|
238
|
+
* `"ForgotPasswordDenied"`,
|
|
239
|
+
* `"IGAReviewerEndNotification"`,
|
|
240
|
+
* `"IGAReviewerNotification"`,
|
|
241
|
+
* `"IGAReviewerPendingNotification"`,
|
|
242
|
+
* `"IGAReviewerReassigned"`,
|
|
243
|
+
* `"LDAPForgotPassword"`,
|
|
244
|
+
* `"LDAPForgotPasswordDenied"`,
|
|
245
|
+
* `"LDAPSelfServiceUnlock"`,
|
|
246
|
+
* `"LDAPUserActivation"`,
|
|
247
|
+
* `"MyAccountChangeConfirmation"`,
|
|
248
|
+
* `"NewSignOnNotification"`,
|
|
249
|
+
* `"OktaVerifyActivation"`,
|
|
250
|
+
* `"PasswordChanged"`,
|
|
251
|
+
* `"PasswordResetByAdmin"`,
|
|
252
|
+
* `"PendingEmailChange"`,
|
|
253
|
+
* `"RegistrationActivation"`,
|
|
254
|
+
* `"RegistrationEmailVerification"`,
|
|
255
|
+
* `"SelfServiceUnlock"`,
|
|
256
|
+
* `"SelfServiceUnlockOnUnlockedAccount"`,
|
|
257
|
+
* `"UserActivation"`
|
|
97
258
|
*/
|
|
98
259
|
templateName?: pulumi.Input<string>;
|
|
99
260
|
}
|
|
@@ -110,7 +271,7 @@ export interface EmailCustomizationArgs {
|
|
|
110
271
|
*/
|
|
111
272
|
brandId: pulumi.Input<string>;
|
|
112
273
|
/**
|
|
113
|
-
*
|
|
274
|
+
* `forceIsDefault` is deprecated and now is a no-op in behavior. Rely upon the `dependsOn` meta argument to force dependency of secondary templates to the default template",
|
|
114
275
|
*
|
|
115
276
|
* @deprecated force_is_default is deprecated and now is a no-op in behavior. Rely upon the depends_on meta argument to force dependency of secondary templates to the default template
|
|
116
277
|
*/
|
|
@@ -121,6 +282,34 @@ export interface EmailCustomizationArgs {
|
|
|
121
282
|
isDefault?: pulumi.Input<boolean>;
|
|
122
283
|
/**
|
|
123
284
|
* The language supported by the customization
|
|
285
|
+
* - Example values from [supported languages](https://developer.okta.com/docs/reference/api/brands/#supported-languages):
|
|
286
|
+
* `"cs"`,
|
|
287
|
+
* `"da"`,
|
|
288
|
+
* `"de"`,
|
|
289
|
+
* `"el"`,
|
|
290
|
+
* `"en"`,
|
|
291
|
+
* `"es"`,
|
|
292
|
+
* `"fi"`,
|
|
293
|
+
* `"fr"`,
|
|
294
|
+
* `"hu"`,
|
|
295
|
+
* `"id"`,
|
|
296
|
+
* `"it"`,
|
|
297
|
+
* `"ja"`,
|
|
298
|
+
* `"ko"`,
|
|
299
|
+
* `"ms"`,
|
|
300
|
+
* `"nb"`,
|
|
301
|
+
* `"nl-NL"`,
|
|
302
|
+
* `"pl"`,
|
|
303
|
+
* `"pt-BR"`,
|
|
304
|
+
* `"ro"`,
|
|
305
|
+
* `"ru"`,
|
|
306
|
+
* `"sv"`,
|
|
307
|
+
* `"th"`,
|
|
308
|
+
* `"tr"`,
|
|
309
|
+
* `"uk"`,
|
|
310
|
+
* `"vi"`,
|
|
311
|
+
* `"zh-CN"`,
|
|
312
|
+
* `"zh-TW"`
|
|
124
313
|
*/
|
|
125
314
|
language?: pulumi.Input<string>;
|
|
126
315
|
/**
|
|
@@ -129,6 +318,38 @@ export interface EmailCustomizationArgs {
|
|
|
129
318
|
subject?: pulumi.Input<string>;
|
|
130
319
|
/**
|
|
131
320
|
* Template Name
|
|
321
|
+
* - Example values: `"AccountLockout"`,
|
|
322
|
+
* `"ADForgotPassword"`,
|
|
323
|
+
* `"ADForgotPasswordDenied"`,
|
|
324
|
+
* `"ADSelfServiceUnlock"`,
|
|
325
|
+
* `"ADUserActivation"`,
|
|
326
|
+
* `"AuthenticatorEnrolled"`,
|
|
327
|
+
* `"AuthenticatorReset"`,
|
|
328
|
+
* `"ChangeEmailConfirmation"`,
|
|
329
|
+
* `"EmailChallenge"`,
|
|
330
|
+
* `"EmailChangeConfirmation"`,
|
|
331
|
+
* `"EmailFactorVerification"`,
|
|
332
|
+
* `"ForgotPassword"`,
|
|
333
|
+
* `"ForgotPasswordDenied"`,
|
|
334
|
+
* `"IGAReviewerEndNotification"`,
|
|
335
|
+
* `"IGAReviewerNotification"`,
|
|
336
|
+
* `"IGAReviewerPendingNotification"`,
|
|
337
|
+
* `"IGAReviewerReassigned"`,
|
|
338
|
+
* `"LDAPForgotPassword"`,
|
|
339
|
+
* `"LDAPForgotPasswordDenied"`,
|
|
340
|
+
* `"LDAPSelfServiceUnlock"`,
|
|
341
|
+
* `"LDAPUserActivation"`,
|
|
342
|
+
* `"MyAccountChangeConfirmation"`,
|
|
343
|
+
* `"NewSignOnNotification"`,
|
|
344
|
+
* `"OktaVerifyActivation"`,
|
|
345
|
+
* `"PasswordChanged"`,
|
|
346
|
+
* `"PasswordResetByAdmin"`,
|
|
347
|
+
* `"PendingEmailChange"`,
|
|
348
|
+
* `"RegistrationActivation"`,
|
|
349
|
+
* `"RegistrationEmailVerification"`,
|
|
350
|
+
* `"SelfServiceUnlock"`,
|
|
351
|
+
* `"SelfServiceUnlockOnUnlockedAccount"`,
|
|
352
|
+
* `"UserActivation"`
|
|
132
353
|
*/
|
|
133
354
|
templateName: pulumi.Input<string>;
|
|
134
355
|
}
|
package/emailCustomization.js
CHANGED
|
@@ -5,6 +5,47 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.EmailCustomization = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this resource to create an [email
|
|
10
|
+
* customization](https://developer.okta.com/docs/reference/api/brands/#create-email-customization)
|
|
11
|
+
* of an email template belonging to a brand in an Okta organization.
|
|
12
|
+
*
|
|
13
|
+
* > Okta's public API is strict regarding the behavior of the `isDefault`
|
|
14
|
+
* property in [an email
|
|
15
|
+
* customization](https://developer.okta.com/docs/reference/api/brands/#email-customization).
|
|
16
|
+
* Make use of `dependsOn` meta argument to ensure the provider navigates email customization
|
|
17
|
+
* language versions seamlessly. Have all secondary customizations depend on the primary
|
|
18
|
+
* customization that is marked default. See Example Usage.
|
|
19
|
+
*
|
|
20
|
+
* > Caveats for [creating an email
|
|
21
|
+
* customization](https://developer.okta.com/docs/reference/api/brands/#response-body-19).
|
|
22
|
+
* If this is the first customization being created for the email template, and
|
|
23
|
+
* `isDefault` is not set for the customization in its resource configuration, the
|
|
24
|
+
* API will respond with the created customization marked as default. The API will
|
|
25
|
+
* 400 if the language parameter is not one of the supported languages or the body
|
|
26
|
+
* parameter does not contain a required variable reference. The API will error 409
|
|
27
|
+
* if `isDefault` is true and a default customization exists. The API will 404 for
|
|
28
|
+
* an invalid `brandId` or `templateName`.
|
|
29
|
+
*
|
|
30
|
+
* > Caveats for [updating an email
|
|
31
|
+
* customization](https://developer.okta.com/docs/reference/api/brands/#response-body-22).
|
|
32
|
+
* If the `isDefault` parameter is true, the previous default email customization
|
|
33
|
+
* has its `isDefault` set to false (see previous note about mitigating this with
|
|
34
|
+
* `dependsOn` meta argument). The API will 409 if there’s already another email
|
|
35
|
+
* customization for the specified language or the `isDefault` parameter is false
|
|
36
|
+
* and the email customization being updated is the default. The API will 400 if
|
|
37
|
+
* the language parameter is not one of the supported locales or the body parameter
|
|
38
|
+
* does not contain a required variable reference. The API will 404 for an invalid
|
|
39
|
+
* `brandId` or `templateName`.
|
|
40
|
+
*
|
|
41
|
+
* ## Import
|
|
42
|
+
*
|
|
43
|
+
* An email customization can be imported using the customization ID, brand ID and template name.
|
|
44
|
+
*
|
|
45
|
+
* ```sh
|
|
46
|
+
* $ pulumi import okta:index/emailCustomization:EmailCustomization example <customization_id>/<brand_id>/<template_name>
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
8
49
|
class EmailCustomization extends pulumi.CustomResource {
|
|
9
50
|
/**
|
|
10
51
|
* Get an existing EmailCustomization resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailCustomization.js","sourceRoot":"","sources":["../emailCustomization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;
|
|
1
|
+
{"version":3,"file":"emailCustomization.js","sourceRoot":"","sources":["../emailCustomization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;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C,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAnKL,gDAoKC;AAtJG,gBAAgB;AACO,+BAAY,GAAG,kDAAkD,CAAC"}
|
package/emailSender.d.ts
CHANGED
|
@@ -1,6 +1,32 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* > **DEPRECATED** use `okta.Index.EmailDomain` instead.
|
|
6
|
+
*
|
|
7
|
+
* This resource allows you to create and configure a custom email sender.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as okta from "@pulumi/okta";
|
|
14
|
+
*
|
|
15
|
+
* const example = new okta.EmailSender("example", {
|
|
16
|
+
* fromAddress: "no-reply@caladan.planet",
|
|
17
|
+
* fromName: "Paul Atreides",
|
|
18
|
+
* subdomain: "mail",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* Custom email sender can be imported via the Okta ID.
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import okta:index/emailSender:EmailSender example <sender id>
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
4
30
|
export declare class EmailSender extends pulumi.CustomResource {
|
|
5
31
|
/**
|
|
6
32
|
* Get an existing EmailSender resource's state with the given name, ID, and optional extra
|
|
@@ -18,23 +44,23 @@ export declare class EmailSender extends pulumi.CustomResource {
|
|
|
18
44
|
*/
|
|
19
45
|
static isInstance(obj: any): obj is EmailSender;
|
|
20
46
|
/**
|
|
21
|
-
* TXT and CNAME records to be registered for the
|
|
47
|
+
* TXT and CNAME records to be registered for the domain.
|
|
22
48
|
*/
|
|
23
49
|
readonly dnsRecords: pulumi.Output<outputs.EmailSenderDnsRecord[]>;
|
|
24
50
|
/**
|
|
25
|
-
* Email address to send from
|
|
51
|
+
* Email address to send from.
|
|
26
52
|
*/
|
|
27
53
|
readonly fromAddress: pulumi.Output<string>;
|
|
28
54
|
/**
|
|
29
|
-
* Name of sender
|
|
55
|
+
* Name of sender.
|
|
30
56
|
*/
|
|
31
57
|
readonly fromName: pulumi.Output<string>;
|
|
32
58
|
/**
|
|
33
|
-
*
|
|
59
|
+
* Status of the sender (shows whether the sender is verified).
|
|
34
60
|
*/
|
|
35
61
|
readonly status: pulumi.Output<string>;
|
|
36
62
|
/**
|
|
37
|
-
* Mail domain to send from
|
|
63
|
+
* Mail domain to send from.
|
|
38
64
|
*/
|
|
39
65
|
readonly subdomain: pulumi.Output<string>;
|
|
40
66
|
/**
|
|
@@ -51,23 +77,23 @@ export declare class EmailSender extends pulumi.CustomResource {
|
|
|
51
77
|
*/
|
|
52
78
|
export interface EmailSenderState {
|
|
53
79
|
/**
|
|
54
|
-
* TXT and CNAME records to be registered for the
|
|
80
|
+
* TXT and CNAME records to be registered for the domain.
|
|
55
81
|
*/
|
|
56
82
|
dnsRecords?: pulumi.Input<pulumi.Input<inputs.EmailSenderDnsRecord>[]>;
|
|
57
83
|
/**
|
|
58
|
-
* Email address to send from
|
|
84
|
+
* Email address to send from.
|
|
59
85
|
*/
|
|
60
86
|
fromAddress?: pulumi.Input<string>;
|
|
61
87
|
/**
|
|
62
|
-
* Name of sender
|
|
88
|
+
* Name of sender.
|
|
63
89
|
*/
|
|
64
90
|
fromName?: pulumi.Input<string>;
|
|
65
91
|
/**
|
|
66
|
-
*
|
|
92
|
+
* Status of the sender (shows whether the sender is verified).
|
|
67
93
|
*/
|
|
68
94
|
status?: pulumi.Input<string>;
|
|
69
95
|
/**
|
|
70
|
-
* Mail domain to send from
|
|
96
|
+
* Mail domain to send from.
|
|
71
97
|
*/
|
|
72
98
|
subdomain?: pulumi.Input<string>;
|
|
73
99
|
}
|
|
@@ -76,15 +102,15 @@ export interface EmailSenderState {
|
|
|
76
102
|
*/
|
|
77
103
|
export interface EmailSenderArgs {
|
|
78
104
|
/**
|
|
79
|
-
* Email address to send from
|
|
105
|
+
* Email address to send from.
|
|
80
106
|
*/
|
|
81
107
|
fromAddress: pulumi.Input<string>;
|
|
82
108
|
/**
|
|
83
|
-
* Name of sender
|
|
109
|
+
* Name of sender.
|
|
84
110
|
*/
|
|
85
111
|
fromName: pulumi.Input<string>;
|
|
86
112
|
/**
|
|
87
|
-
* Mail domain to send from
|
|
113
|
+
* Mail domain to send from.
|
|
88
114
|
*/
|
|
89
115
|
subdomain: pulumi.Input<string>;
|
|
90
116
|
}
|
package/emailSender.js
CHANGED
|
@@ -5,6 +5,32 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.EmailSender = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* > **DEPRECATED** use `okta.Index.EmailDomain` instead.
|
|
10
|
+
*
|
|
11
|
+
* This resource allows you to create and configure a custom email sender.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as okta from "@pulumi/okta";
|
|
18
|
+
*
|
|
19
|
+
* const example = new okta.EmailSender("example", {
|
|
20
|
+
* fromAddress: "no-reply@caladan.planet",
|
|
21
|
+
* fromName: "Paul Atreides",
|
|
22
|
+
* subdomain: "mail",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Custom email sender can be imported via the Okta ID.
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import okta:index/emailSender:EmailSender example <sender id>
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
8
34
|
class EmailSender extends pulumi.CustomResource {
|
|
9
35
|
/**
|
|
10
36
|
* Get an existing EmailSender resource's state with the given name, ID, and optional extra
|
package/emailSender.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailSender.js","sourceRoot":"","sources":["../emailSender.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI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,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAtFL,kCAuFC;AAzEG,gBAAgB;AACO,wBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -1,4 +1,27 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* > **DEPRECATED** use `okta.Index.EmailDomainVerification` instead.
|
|
4
|
+
*
|
|
5
|
+
* Verifies the email sender. The resource won't be created if the email sender could not be verified.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as okta from "@pulumi/okta";
|
|
12
|
+
*
|
|
13
|
+
* const exampleEmailSender = new okta.EmailSender("exampleEmailSender", {
|
|
14
|
+
* fromName: "Paul Atreides",
|
|
15
|
+
* fromAddress: "no-reply@caladan.planet",
|
|
16
|
+
* subdomain: "mail",
|
|
17
|
+
* });
|
|
18
|
+
* const exampleEmailSenderVerification = new okta.EmailSenderVerification("exampleEmailSenderVerification", {senderId: okta_email_sender.valid.id});
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* This resource does not support importing.
|
|
24
|
+
*/
|
|
2
25
|
export declare class EmailSenderVerification extends pulumi.CustomResource {
|
|
3
26
|
/**
|
|
4
27
|
* Get an existing EmailSenderVerification resource's state with the given name, ID, and optional extra
|
|
@@ -16,7 +39,7 @@ export declare class EmailSenderVerification extends pulumi.CustomResource {
|
|
|
16
39
|
*/
|
|
17
40
|
static isInstance(obj: any): obj is EmailSenderVerification;
|
|
18
41
|
/**
|
|
19
|
-
* Email sender ID
|
|
42
|
+
* Email sender ID.
|
|
20
43
|
*/
|
|
21
44
|
readonly senderId: pulumi.Output<string>;
|
|
22
45
|
/**
|
|
@@ -33,7 +56,7 @@ export declare class EmailSenderVerification extends pulumi.CustomResource {
|
|
|
33
56
|
*/
|
|
34
57
|
export interface EmailSenderVerificationState {
|
|
35
58
|
/**
|
|
36
|
-
* Email sender ID
|
|
59
|
+
* Email sender ID.
|
|
37
60
|
*/
|
|
38
61
|
senderId?: pulumi.Input<string>;
|
|
39
62
|
}
|
|
@@ -42,7 +65,7 @@ export interface EmailSenderVerificationState {
|
|
|
42
65
|
*/
|
|
43
66
|
export interface EmailSenderVerificationArgs {
|
|
44
67
|
/**
|
|
45
|
-
* Email sender ID
|
|
68
|
+
* Email sender ID.
|
|
46
69
|
*/
|
|
47
70
|
senderId: pulumi.Input<string>;
|
|
48
71
|
}
|
|
@@ -5,6 +5,29 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.EmailSenderVerification = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* > **DEPRECATED** use `okta.Index.EmailDomainVerification` instead.
|
|
10
|
+
*
|
|
11
|
+
* Verifies the email sender. The resource won't be created if the email sender could not be verified.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as okta from "@pulumi/okta";
|
|
18
|
+
*
|
|
19
|
+
* const exampleEmailSender = new okta.EmailSender("exampleEmailSender", {
|
|
20
|
+
* fromName: "Paul Atreides",
|
|
21
|
+
* fromAddress: "no-reply@caladan.planet",
|
|
22
|
+
* subdomain: "mail",
|
|
23
|
+
* });
|
|
24
|
+
* const exampleEmailSenderVerification = new okta.EmailSenderVerification("exampleEmailSenderVerification", {senderId: okta_email_sender.valid.id});
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* This resource does not support importing.
|
|
30
|
+
*/
|
|
8
31
|
class EmailSenderVerification extends pulumi.CustomResource {
|
|
9
32
|
/**
|
|
10
33
|
* Get an existing EmailSenderVerification resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailSenderVerification.js","sourceRoot":"","sources":["../emailSenderVerification.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B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,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAxDL,0DAyDC;AA3CG,gBAAgB;AACO,oCAAY,GAAG,4DAA4D,CAAC"}
|
package/eventHook.d.ts
CHANGED
|
@@ -1,6 +1,43 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Creates an event hook.
|
|
6
|
+
*
|
|
7
|
+
* This resource allows you to create and configure an event hook.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as okta from "@pulumi/okta";
|
|
14
|
+
*
|
|
15
|
+
* const example = new okta.EventHook("example", {
|
|
16
|
+
* auth: {
|
|
17
|
+
* key: "Authorization",
|
|
18
|
+
* type: "HEADER",
|
|
19
|
+
* value: "123",
|
|
20
|
+
* },
|
|
21
|
+
* channel: {
|
|
22
|
+
* type: "HTTP",
|
|
23
|
+
* uri: "https://example.com/test",
|
|
24
|
+
* version: "1.0.0",
|
|
25
|
+
* },
|
|
26
|
+
* events: [
|
|
27
|
+
* "user.lifecycle.create",
|
|
28
|
+
* "user.lifecycle.delete.initiated",
|
|
29
|
+
* ],
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* An event hook can be imported via the Okta ID.
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import okta:index/eventHook:EventHook example <hook id>
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
4
41
|
export declare class EventHook extends pulumi.CustomResource {
|
|
5
42
|
/**
|
|
6
43
|
* Get an existing EventHook resource's state with the given name, ID, and optional extra
|