zitadel.DefaultNotificationPolicy
Explore with Pulumi AI
Resource representing the default notification policy.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Zitadel = Pulumiverse.Zitadel;
return await Deployment.RunAsync(() =>
{
var notificationPolicy = new Zitadel.DefaultNotificationPolicy("notificationPolicy", new()
{
PasswordChange = false,
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-zitadel/sdk/go/zitadel"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zitadel.NewDefaultNotificationPolicy(ctx, "notificationPolicy", &zitadel.DefaultNotificationPolicyArgs{
PasswordChange: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zitadel.DefaultNotificationPolicy;
import com.pulumi.zitadel.DefaultNotificationPolicyArgs;
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 notificationPolicy = new DefaultNotificationPolicy("notificationPolicy", DefaultNotificationPolicyArgs.builder()
.passwordChange(false)
.build());
}
}
import pulumi
import pulumiverse_zitadel as zitadel
notification_policy = zitadel.DefaultNotificationPolicy("notificationPolicy", password_change=False)
import * as pulumi from "@pulumi/pulumi";
import * as zitadel from "@pulumi/zitadel";
const notificationPolicy = new zitadel.DefaultNotificationPolicy("notification_policy", {
passwordChange: false,
});
resources:
notificationPolicy:
type: zitadel:DefaultNotificationPolicy
properties:
passwordChange: false
Create DefaultNotificationPolicy Resource
new DefaultNotificationPolicy(name: string, args: DefaultNotificationPolicyArgs, opts?: CustomResourceOptions);
@overload
def DefaultNotificationPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
password_change: Optional[bool] = None)
@overload
def DefaultNotificationPolicy(resource_name: str,
args: DefaultNotificationPolicyArgs,
opts: Optional[ResourceOptions] = None)
func NewDefaultNotificationPolicy(ctx *Context, name string, args DefaultNotificationPolicyArgs, opts ...ResourceOption) (*DefaultNotificationPolicy, error)
public DefaultNotificationPolicy(string name, DefaultNotificationPolicyArgs args, CustomResourceOptions? opts = null)
public DefaultNotificationPolicy(String name, DefaultNotificationPolicyArgs args)
public DefaultNotificationPolicy(String name, DefaultNotificationPolicyArgs args, CustomResourceOptions options)
type: zitadel:DefaultNotificationPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DefaultNotificationPolicyArgs
- 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 DefaultNotificationPolicyArgs
- 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 DefaultNotificationPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DefaultNotificationPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DefaultNotificationPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DefaultNotificationPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DefaultNotificationPolicy resource accepts the following input properties:
- Password
Change bool Send notification if a user changes his password
- Password
Change bool Send notification if a user changes his password
- password
Change Boolean Send notification if a user changes his password
- password
Change boolean Send notification if a user changes his password
- password_
change bool Send notification if a user changes his password
- password
Change Boolean Send notification if a user changes his password
Outputs
All input properties are implicitly available as output properties. Additionally, the DefaultNotificationPolicy 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 string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing DefaultNotificationPolicy Resource
Get an existing DefaultNotificationPolicy 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?: DefaultNotificationPolicyState, opts?: CustomResourceOptions): DefaultNotificationPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
password_change: Optional[bool] = None) -> DefaultNotificationPolicy
func GetDefaultNotificationPolicy(ctx *Context, name string, id IDInput, state *DefaultNotificationPolicyState, opts ...ResourceOption) (*DefaultNotificationPolicy, error)
public static DefaultNotificationPolicy Get(string name, Input<string> id, DefaultNotificationPolicyState? state, CustomResourceOptions? opts = null)
public static DefaultNotificationPolicy get(String name, Output<String> id, DefaultNotificationPolicyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Password
Change bool Send notification if a user changes his password
- Password
Change bool Send notification if a user changes his password
- password
Change Boolean Send notification if a user changes his password
- password
Change boolean Send notification if a user changes his password
- password_
change bool Send notification if a user changes his password
- password
Change Boolean Send notification if a user changes his password
Package Details
- Repository
- zitadel pulumiverse/pulumi-zitadel
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
zitadel
Terraform Provider.