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);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.
- Accessibility
Error stringRedirect Url Custom error page URL.
- Accessibility
Self boolService Enable self service. By default it is
false.- Auto
Submit boolToolbar Display auto submit toolbar.
- string
Login button field.
- Groups List<string>
Groups associated with the application. See
okta.app.GroupAssignmentfor 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 string Login password field.
- Preconfigured
App 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.
- Url
Regex string A regex that further restricts URL to the specified regex.
- Username
Field string Login username field.
- Users
List<Swa
User Args> The users assigned to the application. See
okta.app.Userfor a more flexible approach.
- Label string
The display name of the Application.
- Accessibility
Error stringRedirect Url Custom error page URL.
- Accessibility
Self boolService Enable self service. By default it is
false.- Auto
Submit boolToolbar Display auto submit toolbar.
- string
Login button field.
- Groups []string
Groups associated with the application. See
okta.app.GroupAssignmentfor 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 string Login password field.
- Preconfigured
App 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.
- Url
Regex string A regex that further restricts URL to the specified regex.
- Username
Field string Login username field.
- Users
[]Swa
User The users assigned to the application. See
okta.app.Userfor a more flexible approach.
- label string
The display name of the Application.
- accessibility
Error stringRedirect Url Custom error page URL.
- accessibility
Self booleanService Enable self service. By default it is
false.- auto
Submit booleanToolbar Display auto submit toolbar.
- string
Login button field.
- groups string[]
Groups associated with the application. See
okta.app.GroupAssignmentfor a more flexible approach.- hide
Ios boolean Do not display application icon on mobile app.
- hide
Web boolean Do not display application icon to users.
- password
Field string Login password field.
- preconfigured
App 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.
- url
Regex string A regex that further restricts URL to the specified regex.
- username
Field string Login username field.
- users
Swa
User[] The users assigned to the application. See
okta.app.Userfor a more flexible approach.
- label str
The display name of the Application.
- accessibility_
error_ strredirect_ url Custom error page URL.
- accessibility_
self_ boolservice Enable self service. By default it is
false.- auto_
submit_ booltoolbar Display auto submit toolbar.
- str
Login button field.
- groups List[str]
Groups associated with the application. See
okta.app.GroupAssignmentfor 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[Swa
User] The users assigned to the application. See
okta.app.Userfor 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.
- Sign
On stringMode Sign on mode of application.
- User
Name stringTemplate The default username assigned to each user.
- User
Name stringTemplate Type The Username template type.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
Name assigned to the application by Okta.
- Sign
On stringMode Sign on mode of application.
- User
Name stringTemplate The default username assigned to each user.
- User
Name stringTemplate Type The Username template type.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
Name assigned to the application by Okta.
- sign
On stringMode Sign on mode of application.
- user
Name stringTemplate The default username assigned to each user.
- user
Name stringTemplate Type 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_ strmode Sign on mode of application.
- user_
name_ strtemplate The default username assigned to each user.
- user_
name_ strtemplate_ type 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): Swastatic 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);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:
- Accessibility
Error stringRedirect Url Custom error page URL.
- Accessibility
Self boolService Enable self service. By default it is
false.- Auto
Submit boolToolbar Display auto submit toolbar.
- string
Login button field.
- Groups List<string>
Groups associated with the application. See
okta.app.GroupAssignmentfor 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 string
The display name of the Application.
- Name string
Name assigned to the application by Okta.
- Password
Field string Login password field.
- Preconfigured
App string name of application from the Okta Integration Network, if not included a custom app will be created.
- Sign
On stringMode Sign on mode of application.
- Status string
Status of application. By default it is
"ACTIVE".- Url string
Login URL.
- Url
Regex string A regex that further restricts URL to the specified regex.
- User
Name stringTemplate The default username assigned to each user.
- User
Name stringTemplate Type The Username template type.
- Username
Field string Login username field.
- Users
List<Swa
User Args> The users assigned to the application. See
okta.app.Userfor a more flexible approach.
- Accessibility
Error stringRedirect Url Custom error page URL.
- Accessibility
Self boolService Enable self service. By default it is
false.- Auto
Submit boolToolbar Display auto submit toolbar.
- string
Login button field.
- Groups []string
Groups associated with the application. See
okta.app.GroupAssignmentfor 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 string
The display name of the Application.
- Name string
Name assigned to the application by Okta.
- Password
Field string Login password field.
- Preconfigured
App string name of application from the Okta Integration Network, if not included a custom app will be created.
- Sign
On stringMode Sign on mode of application.
- Status string
Status of application. By default it is
"ACTIVE".- Url string
Login URL.
- Url
Regex string A regex that further restricts URL to the specified regex.
- User
Name stringTemplate The default username assigned to each user.
- User
Name stringTemplate Type The Username template type.
- Username
Field string Login username field.
- Users
[]Swa
User The users assigned to the application. See
okta.app.Userfor a more flexible approach.
- accessibility
Error stringRedirect Url Custom error page URL.
- accessibility
Self booleanService Enable self service. By default it is
false.- auto
Submit booleanToolbar Display auto submit toolbar.
- string
Login button field.
- groups string[]
Groups associated with the application. See
okta.app.GroupAssignmentfor a more flexible approach.- hide
Ios boolean Do not display application icon on mobile app.
- hide
Web 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.
- password
Field string Login password field.
- preconfigured
App string name of application from the Okta Integration Network, if not included a custom app will be created.
- sign
On stringMode Sign on mode of application.
- status string
Status of application. By default it is
"ACTIVE".- url string
Login URL.
- url
Regex string A regex that further restricts URL to the specified regex.
- user
Name stringTemplate The default username assigned to each user.
- user
Name stringTemplate Type The Username template type.
- username
Field string Login username field.
- users
Swa
User[] The users assigned to the application. See
okta.app.Userfor a more flexible approach.
- accessibility_
error_ strredirect_ url Custom error page URL.
- accessibility_
self_ boolservice Enable self service. By default it is
false.- auto_
submit_ booltoolbar Display auto submit toolbar.
- str
Login button field.
- groups List[str]
Groups associated with the application. See
okta.app.GroupAssignmentfor 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_ strmode 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_ strtemplate The default username assigned to each user.
- user_
name_ strtemplate_ type The Username template type.
- username_
field str Login username field.
- users
List[Swa
User] The users assigned to the application. See
okta.app.Userfor a more flexible approach.
Supporting Types
SwaUser
Package Details
- Repository
- https://github.com/pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oktaTerraform Provider.