zitadel v0.2.0 published on Monday, Mar 24, 2025 by pulumiverse
zitadel v0.2.0 published on Monday, Mar 24, 2025 by pulumiverse
Resource representing triggers, when actions get started
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zitadel = Pulumi.Zitadel;
return await Deployment.RunAsync(() =>
{
var @default = Zitadel.GetTriggerActions.Invoke(new()
{
OrgId = defaultZitadelOrg.Id,
FlowType = "FLOW_TYPE_EXTERNAL_AUTHENTICATION",
TriggerType = "TRIGGER_TYPE_POST_AUTHENTICATION",
});
return new Dictionary<string, object?>
{
["triggerActions"] = @default,
};
});
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 {
_default, err := zitadel.LookupTriggerActions(ctx, &zitadel.LookupTriggerActionsArgs{
OrgId: pulumi.StringRef(defaultZitadelOrg.Id),
FlowType: "FLOW_TYPE_EXTERNAL_AUTHENTICATION",
TriggerType: "TRIGGER_TYPE_POST_AUTHENTICATION",
}, nil)
if err != nil {
return err
}
ctx.Export("triggerActions", _default)
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zitadel.ZitadelFunctions;
import com.pulumi.zitadel.inputs.GetTriggerActionsArgs;
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) {
final var default = ZitadelFunctions.getTriggerActions(GetTriggerActionsArgs.builder()
.orgId(defaultZitadelOrg.id())
.flowType("FLOW_TYPE_EXTERNAL_AUTHENTICATION")
.triggerType("TRIGGER_TYPE_POST_AUTHENTICATION")
.build());
ctx.export("triggerActions", default_);
}
}
import * as pulumi from "@pulumi/pulumi";
import * as zitadel from "@pulumi/zitadel";
const default = zitadel.getTriggerActions({
orgId: defaultZitadelOrg.id,
flowType: "FLOW_TYPE_EXTERNAL_AUTHENTICATION",
triggerType: "TRIGGER_TYPE_POST_AUTHENTICATION",
});
export const triggerActions = _default;
import pulumi
import pulumi_zitadel as zitadel
default = zitadel.get_trigger_actions(org_id=default_zitadel_org["id"],
flow_type="FLOW_TYPE_EXTERNAL_AUTHENTICATION",
trigger_type="TRIGGER_TYPE_POST_AUTHENTICATION")
pulumi.export("triggerActions", default)
variables:
default:
fn::invoke:
Function: zitadel:getTriggerActions
Arguments:
orgId: ${defaultZitadelOrg.id}
flowType: FLOW_TYPE_EXTERNAL_AUTHENTICATION
triggerType: TRIGGER_TYPE_POST_AUTHENTICATION
outputs:
triggerActions: ${default}
Using getTriggerActions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTriggerActions(args: GetTriggerActionsArgs, opts?: InvokeOptions): Promise<GetTriggerActionsResult>
function getTriggerActionsOutput(args: GetTriggerActionsOutputArgs, opts?: InvokeOptions): Output<GetTriggerActionsResult>def get_trigger_actions(flow_type: Optional[str] = None,
org_id: Optional[str] = None,
trigger_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTriggerActionsResult
def get_trigger_actions_output(flow_type: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
trigger_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTriggerActionsResult]func LookupTriggerActions(ctx *Context, args *LookupTriggerActionsArgs, opts ...InvokeOption) (*LookupTriggerActionsResult, error)
func LookupTriggerActionsOutput(ctx *Context, args *LookupTriggerActionsOutputArgs, opts ...InvokeOption) LookupTriggerActionsResultOutput> Note: This function is named LookupTriggerActions in the Go SDK.
public static class GetTriggerActions
{
public static Task<GetTriggerActionsResult> InvokeAsync(GetTriggerActionsArgs args, InvokeOptions? opts = null)
public static Output<GetTriggerActionsResult> Invoke(GetTriggerActionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTriggerActionsResult> getTriggerActions(GetTriggerActionsArgs args, InvokeOptions options)
public static Output<GetTriggerActionsResult> getTriggerActions(GetTriggerActionsArgs args, InvokeOptions options)
fn::invoke:
function: zitadel:index/getTriggerActions:getTriggerActions
arguments:
# arguments dictionaryThe following arguments are supported:
- Flow
Type string - Type of the flow to which the action triggers belong
- Trigger
Type string - Trigger type on when the actions get triggered
- Org
Id string - ID of the organization
- Flow
Type string - Type of the flow to which the action triggers belong
- Trigger
Type string - Trigger type on when the actions get triggered
- Org
Id string - ID of the organization
- flow
Type String - Type of the flow to which the action triggers belong
- trigger
Type String - Trigger type on when the actions get triggered
- org
Id String - ID of the organization
- flow
Type string - Type of the flow to which the action triggers belong
- trigger
Type string - Trigger type on when the actions get triggered
- org
Id string - ID of the organization
- flow_
type str - Type of the flow to which the action triggers belong
- trigger_
type str - Trigger type on when the actions get triggered
- org_
id str - ID of the organization
- flow
Type String - Type of the flow to which the action triggers belong
- trigger
Type String - Trigger type on when the actions get triggered
- org
Id String - ID of the organization
getTriggerActions Result
The following output properties are available:
- Action
Ids List<string> - IDs of the triggered actions
- Flow
Type string - Type of the flow to which the action triggers belong
- Id string
- The provider-assigned unique ID for this managed resource.
- Trigger
Type string - Trigger type on when the actions get triggered
- Org
Id string - ID of the organization
- Action
Ids []string - IDs of the triggered actions
- Flow
Type string - Type of the flow to which the action triggers belong
- Id string
- The provider-assigned unique ID for this managed resource.
- Trigger
Type string - Trigger type on when the actions get triggered
- Org
Id string - ID of the organization
- action
Ids List<String> - IDs of the triggered actions
- flow
Type String - Type of the flow to which the action triggers belong
- id String
- The provider-assigned unique ID for this managed resource.
- trigger
Type String - Trigger type on when the actions get triggered
- org
Id String - ID of the organization
- action
Ids string[] - IDs of the triggered actions
- flow
Type string - Type of the flow to which the action triggers belong
- id string
- The provider-assigned unique ID for this managed resource.
- trigger
Type string - Trigger type on when the actions get triggered
- org
Id string - ID of the organization
- action_
ids Sequence[str] - IDs of the triggered actions
- flow_
type str - Type of the flow to which the action triggers belong
- id str
- The provider-assigned unique ID for this managed resource.
- trigger_
type str - Trigger type on when the actions get triggered
- org_
id str - ID of the organization
- action
Ids List<String> - IDs of the triggered actions
- flow
Type String - Type of the flow to which the action triggers belong
- id String
- The provider-assigned unique ID for this managed resource.
- trigger
Type String - Trigger type on when the actions get triggered
- org
Id String - ID of the organization
Package Details
- Repository
- zitadel pulumiverse/pulumi-zitadel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
zitadelTerraform Provider.
zitadel v0.2.0 published on Monday, Mar 24, 2025 by pulumiverse
