Class Swa
Creates an SWA Application.
This resource allows you to create and configure an SWA Application.
Example Usage
using Pulumi;
using Okta = Pulumi.Okta;
class MyStack : Stack
{
public MyStack()
{
var example = new Okta.App.Swa("example", new Okta.App.SwaArgs
{
ButtonField = "btn-login",
Label = "example",
PasswordField = "txtbox-password",
Url = "https://example.com/login.html",
UsernameField = "txtbox-username",
});
}
}
Inherited Members
Namespace: Pulumi.Okta.App
Assembly: Pulumi.Okta.dll
Syntax
public class Swa : CustomResource
Constructors
View SourceSwa(String, SwaArgs, CustomResourceOptions)
Create a Swa resource with the given unique name, arguments, and options.
Declaration
public Swa(string name, SwaArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| SwaArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccessibilityErrorRedirectUrl
Custom error page URL.
Declaration
public Output<string> AccessibilityErrorRedirectUrl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AccessibilitySelfService
Enable self service. By default it is false.
Declaration
public Output<bool?> AccessibilitySelfService { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
AutoSubmitToolbar
Display auto submit toolbar.
Declaration
public Output<bool?> AutoSubmitToolbar { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
ButtonField
Login button field.
Declaration
public Output<string> ButtonField { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Groups
Groups associated with the application. See okta.app.GroupAssignment for a more flexible approach.
Declaration
public Output<ImmutableArray<string>> Groups { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
HideIos
Do not display application icon on mobile app.
Declaration
public Output<bool?> HideIos { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
HideWeb
Do not display application icon to users.
Declaration
public Output<bool?> HideWeb { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Label
The display name of the Application.
Declaration
public Output<string> Label { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Name assigned to the application by Okta.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PasswordField
Login password field.
Declaration
public Output<string> PasswordField { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PreconfiguredApp
name of application from the Okta Integration Network, if not included a custom app will be created.
Declaration
public Output<string> PreconfiguredApp { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SignOnMode
Sign on mode of application.
Declaration
public Output<string> SignOnMode { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Status
Status of application. By default it is "ACTIVE".
Declaration
public Output<string> Status { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Url
Login URL.
Declaration
public Output<string> Url { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UrlRegex
A regex that further restricts URL to the specified regex.
Declaration
public Output<string> UrlRegex { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UsernameField
Login username field.
Declaration
public Output<string> UsernameField { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserNameTemplate
The default username assigned to each user.
Declaration
public Output<string> UserNameTemplate { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UserNameTemplateType
The Username template type.
Declaration
public Output<string> UserNameTemplateType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Users
The users assigned to the application. See okta.app.User for a more flexible approach.
Declaration
public Output<ImmutableArray<SwaUser>> Users { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<SwaUser>> |
Methods
View SourceGet(String, Input<String>, SwaState, CustomResourceOptions)
Get an existing Swa resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Swa Get(string name, Input<string> id, SwaState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| SwaState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Swa |