Signon
Creates a Sign On Policy.
This resource allows you to create and configure a Sign On Policy.
Example Usage
using Pulumi;
using Okta = Pulumi.Okta;
class MyStack : Stack
{
public MyStack()
{
var example = new Okta.Policy.Signon("example", new Okta.Policy.SignonArgs
{
Description = "Example",
GroupsIncludeds =
{
data.Okta_group.Everyone.Id,
},
Status = "ACTIVE",
});
}
}
Coming soon!
import pulumi
import pulumi_okta as okta
example = okta.policy.Signon("example",
description="Example",
groups_includeds=[data["okta.group.Group"]["everyone"]["id"]],
status="ACTIVE")import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const example = new okta.policy.Signon("example", {
description: "Example",
groupsIncludeds: [okta_group_everyone.id],
status: "ACTIVE",
});Create a Signon Resource
new Signon(name: string, args?: SignonArgs, opts?: CustomResourceOptions);def Signon(resource_name, opts=None, description=None, groups_includeds=None, name=None, priority=None, status=None, __props__=None);func NewSignon(ctx *Context, name string, args *SignonArgs, opts ...ResourceOption) (*Signon, error)public Signon(string name, SignonArgs? args = null, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args SignonArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SignonArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SignonArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Signon Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Signon resource accepts the following input properties:
- Description string
Policy Description.
- Groups
Includeds List<string> List of Group IDs to Include.
- Name string
Policy Name.
- Priority int
Priority of the policy.
- Status string
Policy Status:
"ACTIVE"or"INACTIVE".
- Description string
Policy Description.
- Groups
Includeds []string List of Group IDs to Include.
- Name string
Policy Name.
- Priority int
Priority of the policy.
- Status string
Policy Status:
"ACTIVE"or"INACTIVE".
- description string
Policy Description.
- groups
Includeds string[] List of Group IDs to Include.
- name string
Policy Name.
- priority number
Priority of the policy.
- status string
Policy Status:
"ACTIVE"or"INACTIVE".
- description str
Policy Description.
- groups_
includeds List[str] List of Group IDs to Include.
- name str
Policy Name.
- priority float
Priority of the policy.
- status str
Policy Status:
"ACTIVE"or"INACTIVE".
Outputs
All input properties are implicitly available as output properties. Additionally, the Signon resource produces the following output properties:
Look up an Existing Signon Resource
Get an existing Signon 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?: SignonState, opts?: CustomResourceOptions): Signonstatic get(resource_name, id, opts=None, description=None, groups_includeds=None, name=None, priority=None, status=None, __props__=None);func GetSignon(ctx *Context, name string, id IDInput, state *SignonState, opts ...ResourceOption) (*Signon, error)public static Signon Get(string name, Input<string> id, SignonState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Description string
Policy Description.
- Groups
Includeds List<string> List of Group IDs to Include.
- Name string
Policy Name.
- Priority int
Priority of the policy.
- Status string
Policy Status:
"ACTIVE"or"INACTIVE".
- Description string
Policy Description.
- Groups
Includeds []string List of Group IDs to Include.
- Name string
Policy Name.
- Priority int
Priority of the policy.
- Status string
Policy Status:
"ACTIVE"or"INACTIVE".
- description string
Policy Description.
- groups
Includeds string[] List of Group IDs to Include.
- name string
Policy Name.
- priority number
Priority of the policy.
- status string
Policy Status:
"ACTIVE"or"INACTIVE".
- description str
Policy Description.
- groups_
includeds List[str] List of Group IDs to Include.
- name str
Policy Name.
- priority float
Priority of the policy.
- status str
Policy Status:
"ACTIVE"or"INACTIVE".
Package Details
- Repository
- https://github.com/pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oktaTerraform Provider.