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",
        });
    }

}

Coming soon!

import pulumi
import pulumi_okta as okta

example = okta.app.Swa("example",
    button_field="btn-login",
    label="example",
    password_field="txtbox-password",
    url="https://example.com/login.html",
    username_field="txtbox-username")
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";

const example = new okta.app.Swa("example", {
    buttonField: "btn-login",
    label: "example",
    passwordField: "txtbox-password",
    url: "https://example.com/login.html",
    usernameField: "txtbox-username",
});

Create a Swa Resource

new Swa(name: string, args: SwaArgs, opts?: CustomResourceOptions);
def Swa(resource_name, opts=None, accessibility_error_redirect_url=None, accessibility_self_service=None, auto_submit_toolbar=None, button_field=None, groups=None, hide_ios=None, hide_web=None, label=None, password_field=None, preconfigured_app=None, status=None, url=None, url_regex=None, username_field=None, users=None, __props__=None);
func NewSwa(ctx *Context, name string, args SwaArgs, opts ...ResourceOption) (*Swa, error)
public Swa(string name, SwaArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args SwaArgs
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 SwaArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SwaArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Swa Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Swa resource accepts the following input properties:

Label string

The display name of the Application.

AccessibilityErrorRedirectUrl string

Custom error page URL.

AccessibilitySelfService bool

Enable self service. By default it is false.

AutoSubmitToolbar bool

Display auto submit toolbar.

ButtonField string

Login button field.

Groups List<string>

Groups associated with the application. See okta.app.GroupAssignment for a more flexible approach.

HideIos bool

Do not display application icon on mobile app.

HideWeb bool

Do not display application icon to users.

PasswordField string

Login password field.

PreconfiguredApp string

name of application from the Okta Integration Network, if not included a custom app will be created.

Status string

Status of application. By default it is "ACTIVE".

Url string

Login URL.

UrlRegex string

A regex that further restricts URL to the specified regex.

UsernameField string

Login username field.

Users List<SwaUserArgs>

The users assigned to the application. See okta.app.User for a more flexible approach.

Label string

The display name of the Application.

AccessibilityErrorRedirectUrl string

Custom error page URL.

AccessibilitySelfService bool

Enable self service. By default it is false.

AutoSubmitToolbar bool

Display auto submit toolbar.

ButtonField string

Login button field.

Groups []string

Groups associated with the application. See okta.app.GroupAssignment for a more flexible approach.

HideIos bool

Do not display application icon on mobile app.

HideWeb bool

Do not display application icon to users.

PasswordField string

Login password field.

PreconfiguredApp string

name of application from the Okta Integration Network, if not included a custom app will be created.

Status string

Status of application. By default it is "ACTIVE".

Url string

Login URL.

UrlRegex string

A regex that further restricts URL to the specified regex.

UsernameField string

Login username field.

Users []SwaUser

The users assigned to the application. See okta.app.User for a more flexible approach.

label string

The display name of the Application.

accessibilityErrorRedirectUrl string

Custom error page URL.

accessibilitySelfService boolean

Enable self service. By default it is false.

autoSubmitToolbar boolean

Display auto submit toolbar.

buttonField string

Login button field.

groups string[]

Groups associated with the application. See okta.app.GroupAssignment for a more flexible approach.

hideIos boolean

Do not display application icon on mobile app.

hideWeb boolean

Do not display application icon to users.

passwordField string

Login password field.

preconfiguredApp string

name of application from the Okta Integration Network, if not included a custom app will be created.

status string

Status of application. By default it is "ACTIVE".

url string

Login URL.

urlRegex string

A regex that further restricts URL to the specified regex.

usernameField string

Login username field.

users SwaUser[]

The users assigned to the application. See okta.app.User for a more flexible approach.

label str

The display name of the Application.

accessibility_error_redirect_url str

Custom error page URL.

accessibility_self_service bool

Enable self service. By default it is false.

auto_submit_toolbar bool

Display auto submit toolbar.

button_field str

Login button field.

groups List[str]

Groups associated with the application. See okta.app.GroupAssignment for a more flexible approach.

hide_ios bool

Do not display application icon on mobile app.

hide_web bool

Do not display application icon to users.

password_field str

Login password field.

preconfigured_app str

name of application from the Okta Integration Network, if not included a custom app will be created.

status str

Status of application. By default it is "ACTIVE".

url str

Login URL.

url_regex str

A regex that further restricts URL to the specified regex.

username_field str

Login username field.

users List[SwaUser]

The users assigned to the application. See okta.app.User for a more flexible approach.

Outputs

All input properties are implicitly available as output properties. Additionally, the Swa resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string

Name assigned to the application by Okta.

SignOnMode string

Sign on mode of application.

UserNameTemplate string

The default username assigned to each user.

UserNameTemplateType string

The Username template type.

Id string
The provider-assigned unique ID for this managed resource.
Name string

Name assigned to the application by Okta.

SignOnMode string

Sign on mode of application.

UserNameTemplate string

The default username assigned to each user.

UserNameTemplateType string

The Username template type.

id string
The provider-assigned unique ID for this managed resource.
name string

Name assigned to the application by Okta.

signOnMode string

Sign on mode of application.

userNameTemplate string

The default username assigned to each user.

userNameTemplateType string

The Username template type.

id str
The provider-assigned unique ID for this managed resource.
name str

Name assigned to the application by Okta.

sign_on_mode str

Sign on mode of application.

user_name_template str

The default username assigned to each user.

user_name_template_type str

The Username template type.

Look up an Existing Swa Resource

Get an existing Swa 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?: SwaState, opts?: CustomResourceOptions): Swa
static get(resource_name, id, opts=None, accessibility_error_redirect_url=None, accessibility_self_service=None, auto_submit_toolbar=None, button_field=None, groups=None, hide_ios=None, hide_web=None, label=None, name=None, password_field=None, preconfigured_app=None, sign_on_mode=None, status=None, url=None, url_regex=None, user_name_template=None, user_name_template_type=None, username_field=None, users=None, __props__=None);
func GetSwa(ctx *Context, name string, id IDInput, state *SwaState, opts ...ResourceOption) (*Swa, error)
public static Swa Get(string name, Input<string> id, SwaState? 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:

AccessibilityErrorRedirectUrl string

Custom error page URL.

AccessibilitySelfService bool

Enable self service. By default it is false.

AutoSubmitToolbar bool

Display auto submit toolbar.

ButtonField string

Login button field.

Groups List<string>

Groups associated with the application. See okta.app.GroupAssignment for a more flexible approach.

HideIos bool

Do not display application icon on mobile app.

HideWeb bool

Do not display application icon to users.

Label string

The display name of the Application.

Name string

Name assigned to the application by Okta.

PasswordField string

Login password field.

PreconfiguredApp string

name of application from the Okta Integration Network, if not included a custom app will be created.

SignOnMode string

Sign on mode of application.

Status string

Status of application. By default it is "ACTIVE".

Url string

Login URL.

UrlRegex string

A regex that further restricts URL to the specified regex.

UserNameTemplate string

The default username assigned to each user.

UserNameTemplateType string

The Username template type.

UsernameField string

Login username field.

Users List<SwaUserArgs>

The users assigned to the application. See okta.app.User for a more flexible approach.

AccessibilityErrorRedirectUrl string

Custom error page URL.

AccessibilitySelfService bool

Enable self service. By default it is false.

AutoSubmitToolbar bool

Display auto submit toolbar.

ButtonField string

Login button field.

Groups []string

Groups associated with the application. See okta.app.GroupAssignment for a more flexible approach.

HideIos bool

Do not display application icon on mobile app.

HideWeb bool

Do not display application icon to users.

Label string

The display name of the Application.

Name string

Name assigned to the application by Okta.

PasswordField string

Login password field.

PreconfiguredApp string

name of application from the Okta Integration Network, if not included a custom app will be created.

SignOnMode string

Sign on mode of application.

Status string

Status of application. By default it is "ACTIVE".

Url string

Login URL.

UrlRegex string

A regex that further restricts URL to the specified regex.

UserNameTemplate string

The default username assigned to each user.

UserNameTemplateType string

The Username template type.

UsernameField string

Login username field.

Users []SwaUser

The users assigned to the application. See okta.app.User for a more flexible approach.

accessibilityErrorRedirectUrl string

Custom error page URL.

accessibilitySelfService boolean

Enable self service. By default it is false.

autoSubmitToolbar boolean

Display auto submit toolbar.

buttonField string

Login button field.

groups string[]

Groups associated with the application. See okta.app.GroupAssignment for a more flexible approach.

hideIos boolean

Do not display application icon on mobile app.

hideWeb boolean

Do not display application icon to users.

label string

The display name of the Application.

name string

Name assigned to the application by Okta.

passwordField string

Login password field.

preconfiguredApp string

name of application from the Okta Integration Network, if not included a custom app will be created.

signOnMode string

Sign on mode of application.

status string

Status of application. By default it is "ACTIVE".

url string

Login URL.

urlRegex string

A regex that further restricts URL to the specified regex.

userNameTemplate string

The default username assigned to each user.

userNameTemplateType string

The Username template type.

usernameField string

Login username field.

users SwaUser[]

The users assigned to the application. See okta.app.User for a more flexible approach.

accessibility_error_redirect_url str

Custom error page URL.

accessibility_self_service bool

Enable self service. By default it is false.

auto_submit_toolbar bool

Display auto submit toolbar.

button_field str

Login button field.

groups List[str]

Groups associated with the application. See okta.app.GroupAssignment for a more flexible approach.

hide_ios bool

Do not display application icon on mobile app.

hide_web bool

Do not display application icon to users.

label str

The display name of the Application.

name str

Name assigned to the application by Okta.

password_field str

Login password field.

preconfigured_app str

name of application from the Okta Integration Network, if not included a custom app will be created.

sign_on_mode str

Sign on mode of application.

status str

Status of application. By default it is "ACTIVE".

url str

Login URL.

url_regex str

A regex that further restricts URL to the specified regex.

user_name_template str

The default username assigned to each user.

user_name_template_type str

The Username template type.

username_field str

Login username field.

users List[SwaUser]

The users assigned to the application. See okta.app.User for a more flexible approach.

Supporting Types

SwaUser

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Id string
Password string
Scope string
Username string
Id string
Password string
Scope string
Username string
id string
password string
scope string
username string
id str
password str
scope str
username str

Package Details

Repository
https://github.com/pulumi/pulumi-okta
License
Apache-2.0
Notes
This Pulumi package is based on the okta Terraform Provider.