Skip to content

Latest commit

 

History

History
2345 lines (1476 loc) · 118 KB

policyPasswordDefault.java.md

File metadata and controls

2345 lines (1476 loc) · 118 KB

policyPasswordDefault Submodule

Constructs

PolicyPasswordDefault

Represents a {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default okta_policy_password_default}.

Initializers

import com.hashicorp.cdktf.providers.okta.policy_password_default.PolicyPasswordDefault;

PolicyPasswordDefault.Builder.create(Construct scope, java.lang.String id)
//  .connection(SSHProvisionerConnection)
//  .connection(WinrmProvisionerConnection)
//  .count(java.lang.Number)
//  .count(TerraformCount)
//  .dependsOn(java.util.List<ITerraformDependable>)
//  .forEach(ITerraformIterator)
//  .lifecycle(TerraformResourceLifecycle)
//  .provider(TerraformProvider)
//  .provisioners(java.util.List<FileProvisioner)
//  .provisioners(LocalExecProvisioner)
//  .provisioners(RemoteExecProvisioner>)
//  .callRecovery(java.lang.String)
//  .emailRecovery(java.lang.String)
//  .id(java.lang.String)
//  .passwordAutoUnlockMinutes(java.lang.Number)
//  .passwordDictionaryLookup(java.lang.Boolean)
//  .passwordDictionaryLookup(IResolvable)
//  .passwordExcludeFirstName(java.lang.Boolean)
//  .passwordExcludeFirstName(IResolvable)
//  .passwordExcludeLastName(java.lang.Boolean)
//  .passwordExcludeLastName(IResolvable)
//  .passwordExcludeUsername(java.lang.Boolean)
//  .passwordExcludeUsername(IResolvable)
//  .passwordExpireWarnDays(java.lang.Number)
//  .passwordHistoryCount(java.lang.Number)
//  .passwordLockoutNotificationChannels(java.util.List<java.lang.String>)
//  .passwordMaxAgeDays(java.lang.Number)
//  .passwordMaxLockoutAttempts(java.lang.Number)
//  .passwordMinAgeMinutes(java.lang.Number)
//  .passwordMinLength(java.lang.Number)
//  .passwordMinLowercase(java.lang.Number)
//  .passwordMinNumber(java.lang.Number)
//  .passwordMinSymbol(java.lang.Number)
//  .passwordMinUppercase(java.lang.Number)
//  .passwordShowLockoutFailures(java.lang.Boolean)
//  .passwordShowLockoutFailures(IResolvable)
//  .questionMinLength(java.lang.Number)
//  .questionRecovery(java.lang.String)
//  .recoveryEmailToken(java.lang.Number)
//  .skipUnlock(java.lang.Boolean)
//  .skipUnlock(IResolvable)
//  .smsRecovery(java.lang.String)
    .build();
Name Type Description
scope software.constructs.Construct The scope in which to define this construct.
id java.lang.String The scoped construct ID.
connection com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<com.hashicorp.cdktf.ITerraformDependable> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
provisioners java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner> No description.
callRecovery java.lang.String Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: INACTIVE.
emailRecovery java.lang.String Enable or disable email password recovery: ACTIVE or INACTIVE. Default: ACTIVE.
id java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#id PolicyPasswordDefault#id}.
passwordAutoUnlockMinutes java.lang.Number Number of minutes before a locked account is unlocked: 0 = no limit. Default: 0.
passwordDictionaryLookup java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Check Passwords Against Common Password Dictionary. Default: false.
passwordExcludeFirstName java.lang.Boolean OR com.hashicorp.cdktf.IResolvable User firstName attribute must be excluded from the password.
passwordExcludeLastName java.lang.Boolean OR com.hashicorp.cdktf.IResolvable User lastName attribute must be excluded from the password.
passwordExcludeUsername java.lang.Boolean OR com.hashicorp.cdktf.IResolvable If the user name must be excluded from the password. Default: true.
passwordExpireWarnDays java.lang.Number Length in days a user will be warned before password expiry: 0 = no warning. Default: 0.
passwordHistoryCount java.lang.Number Number of distinct passwords that must be created before they can be reused: 0 = none. Default: 4.
passwordLockoutNotificationChannels java.util.List<java.lang.String> Notification channels to use to notify a user when their account has been locked.
passwordMaxAgeDays java.lang.Number Length in days a password is valid before expiry: 0 = no limit. Default: 0.
passwordMaxLockoutAttempts java.lang.Number Number of unsuccessful login attempts allowed before lockout: 0 = no limit. Default: 10.
passwordMinAgeMinutes java.lang.Number Minimum time interval in minutes between password changes: 0 = no limit. Default: 0.
passwordMinLength java.lang.Number Minimum password length. Default is 8.
passwordMinLowercase java.lang.Number If a password must contain at least one lower case letter: 0 = no, 1 = yes.
passwordMinNumber java.lang.Number If a password must contain at least one number: 0 = no, 1 = yes. Default = 1.
passwordMinSymbol java.lang.Number If a password must contain at least one symbol (!@#$%^&*): 0 = no, 1 = yes. Default = 0.
passwordMinUppercase java.lang.Number If a password must contain at least one upper case letter: 0 = no, 1 = yes.
passwordShowLockoutFailures java.lang.Boolean OR com.hashicorp.cdktf.IResolvable If a user should be informed when their account is locked. Default: false.
questionMinLength java.lang.Number Min length of the password recovery question answer. Default: 4.
questionRecovery java.lang.String Enable or disable security question password recovery: ACTIVE or INACTIVE. Default: ACTIVE.
recoveryEmailToken java.lang.Number Lifetime in minutes of the recovery email token. Default: 60.
skipUnlock java.lang.Boolean OR com.hashicorp.cdktf.IResolvable When an Active Directory user is locked out of Okta, the Okta unlock operation should also attempt to unlock the user's Windows account.
smsRecovery java.lang.String Enable or disable SMS password recovery: ACTIVE or INACTIVE. Default: INACTIVE.

scopeRequired
  • Type: software.constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: java.lang.String

The scoped construct ID.

Must be unique amongst siblings in the same scope


connectionOptional
  • Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection

countOptional
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
  • Type: java.util.List<com.hashicorp.cdktf.ITerraformDependable>

forEachOptional
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
  • Type: com.hashicorp.cdktf.TerraformProvider

provisionersOptional
  • Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>

callRecoveryOptional
  • Type: java.lang.String

Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: INACTIVE.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#call_recovery PolicyPasswordDefault#call_recovery}


emailRecoveryOptional
  • Type: java.lang.String

Enable or disable email password recovery: ACTIVE or INACTIVE. Default: ACTIVE.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#email_recovery PolicyPasswordDefault#email_recovery}


idOptional
  • Type: java.lang.String

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#id PolicyPasswordDefault#id}.

Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.


passwordAutoUnlockMinutesOptional
  • Type: java.lang.Number

Number of minutes before a locked account is unlocked: 0 = no limit. Default: 0.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_auto_unlock_minutes PolicyPasswordDefault#password_auto_unlock_minutes}


passwordDictionaryLookupOptional
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

Check Passwords Against Common Password Dictionary. Default: false.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_dictionary_lookup PolicyPasswordDefault#password_dictionary_lookup}


passwordExcludeFirstNameOptional
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

User firstName attribute must be excluded from the password.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_exclude_first_name PolicyPasswordDefault#password_exclude_first_name}


passwordExcludeLastNameOptional
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

User lastName attribute must be excluded from the password.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_exclude_last_name PolicyPasswordDefault#password_exclude_last_name}


passwordExcludeUsernameOptional
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

If the user name must be excluded from the password. Default: true.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_exclude_username PolicyPasswordDefault#password_exclude_username}


passwordExpireWarnDaysOptional
  • Type: java.lang.Number

Length in days a user will be warned before password expiry: 0 = no warning. Default: 0.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_expire_warn_days PolicyPasswordDefault#password_expire_warn_days}


passwordHistoryCountOptional
  • Type: java.lang.Number

Number of distinct passwords that must be created before they can be reused: 0 = none. Default: 4.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_history_count PolicyPasswordDefault#password_history_count}


passwordLockoutNotificationChannelsOptional
  • Type: java.util.List<java.lang.String>

Notification channels to use to notify a user when their account has been locked.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_lockout_notification_channels PolicyPasswordDefault#password_lockout_notification_channels}


passwordMaxAgeDaysOptional
  • Type: java.lang.Number

Length in days a password is valid before expiry: 0 = no limit. Default: 0.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_max_age_days PolicyPasswordDefault#password_max_age_days}


passwordMaxLockoutAttemptsOptional
  • Type: java.lang.Number

Number of unsuccessful login attempts allowed before lockout: 0 = no limit. Default: 10.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_max_lockout_attempts PolicyPasswordDefault#password_max_lockout_attempts}


passwordMinAgeMinutesOptional
  • Type: java.lang.Number

Minimum time interval in minutes between password changes: 0 = no limit. Default: 0.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_min_age_minutes PolicyPasswordDefault#password_min_age_minutes}


passwordMinLengthOptional
  • Type: java.lang.Number

Minimum password length. Default is 8.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_min_length PolicyPasswordDefault#password_min_length}


passwordMinLowercaseOptional
  • Type: java.lang.Number

If a password must contain at least one lower case letter: 0 = no, 1 = yes.

Default = 1

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_min_lowercase PolicyPasswordDefault#password_min_lowercase}


passwordMinNumberOptional
  • Type: java.lang.Number

If a password must contain at least one number: 0 = no, 1 = yes. Default = 1.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_min_number PolicyPasswordDefault#password_min_number}


passwordMinSymbolOptional
  • Type: java.lang.Number

If a password must contain at least one symbol (!@#$%^&*): 0 = no, 1 = yes. Default = 0.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_min_symbol PolicyPasswordDefault#password_min_symbol}


passwordMinUppercaseOptional
  • Type: java.lang.Number

If a password must contain at least one upper case letter: 0 = no, 1 = yes.

Default = 1

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_min_uppercase PolicyPasswordDefault#password_min_uppercase}


passwordShowLockoutFailuresOptional
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

If a user should be informed when their account is locked. Default: false.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_show_lockout_failures PolicyPasswordDefault#password_show_lockout_failures}


questionMinLengthOptional
  • Type: java.lang.Number

Min length of the password recovery question answer. Default: 4.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#question_min_length PolicyPasswordDefault#question_min_length}


questionRecoveryOptional
  • Type: java.lang.String

Enable or disable security question password recovery: ACTIVE or INACTIVE. Default: ACTIVE.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#question_recovery PolicyPasswordDefault#question_recovery}


recoveryEmailTokenOptional
  • Type: java.lang.Number

Lifetime in minutes of the recovery email token. Default: 60.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#recovery_email_token PolicyPasswordDefault#recovery_email_token}


skipUnlockOptional
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

When an Active Directory user is locked out of Okta, the Okta unlock operation should also attempt to unlock the user's Windows account.

Default: false

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#skip_unlock PolicyPasswordDefault#skip_unlock}


smsRecoveryOptional
  • Type: java.lang.String

Enable or disable SMS password recovery: ACTIVE or INACTIVE. Default: INACTIVE.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#sms_recovery PolicyPasswordDefault#sms_recovery}


Methods

Name Description
toString Returns a string representation of this construct.
addOverride No description.
overrideLogicalId Overrides the auto-generated logical ID with a specific ID.
resetOverrideLogicalId Resets a previously passed logical Id to use the auto-generated logical id again.
toHclTerraform No description.
toMetadata No description.
toTerraform Adds this resource to the terraform JSON output.
addMoveTarget Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
hasResourceMove No description.
importFrom No description.
interpolationForAttribute No description.
moveFromId Move the resource corresponding to "id" to this resource.
moveTo Moves this resource to the target resource given by moveTarget.
moveToId Moves this resource to the resource corresponding to "id".
resetCallRecovery No description.
resetEmailRecovery No description.
resetId No description.
resetPasswordAutoUnlockMinutes No description.
resetPasswordDictionaryLookup No description.
resetPasswordExcludeFirstName No description.
resetPasswordExcludeLastName No description.
resetPasswordExcludeUsername No description.
resetPasswordExpireWarnDays No description.
resetPasswordHistoryCount No description.
resetPasswordLockoutNotificationChannels No description.
resetPasswordMaxAgeDays No description.
resetPasswordMaxLockoutAttempts No description.
resetPasswordMinAgeMinutes No description.
resetPasswordMinLength No description.
resetPasswordMinLowercase No description.
resetPasswordMinNumber No description.
resetPasswordMinSymbol No description.
resetPasswordMinUppercase No description.
resetPasswordShowLockoutFailures No description.
resetQuestionMinLength No description.
resetQuestionRecovery No description.
resetRecoveryEmailToken No description.
resetSkipUnlock No description.
resetSmsRecovery No description.

toString
public java.lang.String toString()

Returns a string representation of this construct.

addOverride
public void addOverride(java.lang.String path, java.lang.Object value)
pathRequired
  • Type: java.lang.String

valueRequired
  • Type: java.lang.Object

overrideLogicalId
public void overrideLogicalId(java.lang.String newLogicalId)

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired
  • Type: java.lang.String

The new logical ID to use for this stack element.


resetOverrideLogicalId
public void resetOverrideLogicalId()

Resets a previously passed logical Id to use the auto-generated logical id again.

toHclTerraform
public java.lang.Object toHclTerraform()
toMetadata
public java.lang.Object toMetadata()
toTerraform
public java.lang.Object toTerraform()

Adds this resource to the terraform JSON output.

addMoveTarget
public void addMoveTarget(java.lang.String moveTarget)

Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.

moveTargetRequired
  • Type: java.lang.String

The string move target that will correspond to this resource.


getAnyMapAttribute
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanAttribute
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanMapAttribute
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getListAttribute
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberAttribute
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberListAttribute
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberMapAttribute
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringAttribute
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringMapAttribute
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

hasResourceMove
public TerraformResourceMoveByTarget OR TerraformResourceMoveById hasResourceMove()
importFrom
public void importFrom(java.lang.String id)
public void importFrom(java.lang.String id, TerraformProvider provider)
idRequired
  • Type: java.lang.String

providerOptional
  • Type: com.hashicorp.cdktf.TerraformProvider

interpolationForAttribute
public IResolvable interpolationForAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

moveFromId
public void moveFromId(java.lang.String id)

Move the resource corresponding to "id" to this resource.

Note that the resource being moved from must be marked as moved using it's instance function.

idRequired
  • Type: java.lang.String

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


moveTo
public void moveTo(java.lang.String moveTarget)
public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index)

Moves this resource to the target resource given by moveTarget.

moveTargetRequired
  • Type: java.lang.String

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


indexOptional
  • Type: java.lang.String OR java.lang.Number

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


moveToId
public void moveToId(java.lang.String id)

Moves this resource to the resource corresponding to "id".

idRequired
  • Type: java.lang.String

Full id of resource to move to, e.g. "aws_s3_bucket.example".


resetCallRecovery
public void resetCallRecovery()
resetEmailRecovery
public void resetEmailRecovery()
resetId
public void resetId()
resetPasswordAutoUnlockMinutes
public void resetPasswordAutoUnlockMinutes()
resetPasswordDictionaryLookup
public void resetPasswordDictionaryLookup()
resetPasswordExcludeFirstName
public void resetPasswordExcludeFirstName()
resetPasswordExcludeLastName
public void resetPasswordExcludeLastName()
resetPasswordExcludeUsername
public void resetPasswordExcludeUsername()
resetPasswordExpireWarnDays
public void resetPasswordExpireWarnDays()
resetPasswordHistoryCount
public void resetPasswordHistoryCount()
resetPasswordLockoutNotificationChannels
public void resetPasswordLockoutNotificationChannels()
resetPasswordMaxAgeDays
public void resetPasswordMaxAgeDays()
resetPasswordMaxLockoutAttempts
public void resetPasswordMaxLockoutAttempts()
resetPasswordMinAgeMinutes
public void resetPasswordMinAgeMinutes()
resetPasswordMinLength
public void resetPasswordMinLength()
resetPasswordMinLowercase
public void resetPasswordMinLowercase()
resetPasswordMinNumber
public void resetPasswordMinNumber()
resetPasswordMinSymbol
public void resetPasswordMinSymbol()
resetPasswordMinUppercase
public void resetPasswordMinUppercase()
resetPasswordShowLockoutFailures
public void resetPasswordShowLockoutFailures()
resetQuestionMinLength
public void resetQuestionMinLength()
resetQuestionRecovery
public void resetQuestionRecovery()
resetRecoveryEmailToken
public void resetRecoveryEmailToken()
resetSkipUnlock
public void resetSkipUnlock()
resetSmsRecovery
public void resetSmsRecovery()

Static Functions

Name Description
isConstruct Checks if x is a construct.
isTerraformElement No description.
isTerraformResource No description.
generateConfigForImport Generates CDKTF code for importing a PolicyPasswordDefault resource upon running "cdktf plan ".

isConstruct
import com.hashicorp.cdktf.providers.okta.policy_password_default.PolicyPasswordDefault;

PolicyPasswordDefault.isConstruct(java.lang.Object x)

Checks if x is a construct.

Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

xRequired
  • Type: java.lang.Object

Any object.


isTerraformElement
import com.hashicorp.cdktf.providers.okta.policy_password_default.PolicyPasswordDefault;

PolicyPasswordDefault.isTerraformElement(java.lang.Object x)
xRequired
  • Type: java.lang.Object

isTerraformResource
import com.hashicorp.cdktf.providers.okta.policy_password_default.PolicyPasswordDefault;

PolicyPasswordDefault.isTerraformResource(java.lang.Object x)
xRequired
  • Type: java.lang.Object

generateConfigForImport
import com.hashicorp.cdktf.providers.okta.policy_password_default.PolicyPasswordDefault;

PolicyPasswordDefault.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),PolicyPasswordDefault.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider)

Generates CDKTF code for importing a PolicyPasswordDefault resource upon running "cdktf plan ".

scopeRequired
  • Type: software.constructs.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: java.lang.String

The construct id used in the generated config for the PolicyPasswordDefault to import.


importFromIdRequired
  • Type: java.lang.String

The id of the existing PolicyPasswordDefault that should be imported.

Refer to the {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: com.hashicorp.cdktf.TerraformProvider

? Optional instance of the provider where the PolicyPasswordDefault to import is found.


Properties

Name Type Description
node software.constructs.Node The tree node.
cdktfStack com.hashicorp.cdktf.TerraformStack No description.
fqn java.lang.String No description.
friendlyUniqueId java.lang.String No description.
terraformMetaArguments java.util.Map<java.lang.String, java.lang.Object> No description.
terraformResourceType java.lang.String No description.
terraformGeneratorMetadata com.hashicorp.cdktf.TerraformProviderGeneratorMetadata No description.
connection com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<java.lang.String> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
provisioners java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner> No description.
defaultAuthProvider java.lang.String No description.
defaultIncludedGroupId java.lang.String No description.
description java.lang.String No description.
name java.lang.String No description.
priority java.lang.Number No description.
status java.lang.String No description.
callRecoveryInput java.lang.String No description.
emailRecoveryInput java.lang.String No description.
idInput java.lang.String No description.
passwordAutoUnlockMinutesInput java.lang.Number No description.
passwordDictionaryLookupInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
passwordExcludeFirstNameInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
passwordExcludeLastNameInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
passwordExcludeUsernameInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
passwordExpireWarnDaysInput java.lang.Number No description.
passwordHistoryCountInput java.lang.Number No description.
passwordLockoutNotificationChannelsInput java.util.List<java.lang.String> No description.
passwordMaxAgeDaysInput java.lang.Number No description.
passwordMaxLockoutAttemptsInput java.lang.Number No description.
passwordMinAgeMinutesInput java.lang.Number No description.
passwordMinLengthInput java.lang.Number No description.
passwordMinLowercaseInput java.lang.Number No description.
passwordMinNumberInput java.lang.Number No description.
passwordMinSymbolInput java.lang.Number No description.
passwordMinUppercaseInput java.lang.Number No description.
passwordShowLockoutFailuresInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
questionMinLengthInput java.lang.Number No description.
questionRecoveryInput java.lang.String No description.
recoveryEmailTokenInput java.lang.Number No description.
skipUnlockInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
smsRecoveryInput java.lang.String No description.
callRecovery java.lang.String No description.
emailRecovery java.lang.String No description.
id java.lang.String No description.
passwordAutoUnlockMinutes java.lang.Number No description.
passwordDictionaryLookup java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
passwordExcludeFirstName java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
passwordExcludeLastName java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
passwordExcludeUsername java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
passwordExpireWarnDays java.lang.Number No description.
passwordHistoryCount java.lang.Number No description.
passwordLockoutNotificationChannels java.util.List<java.lang.String> No description.
passwordMaxAgeDays java.lang.Number No description.
passwordMaxLockoutAttempts java.lang.Number No description.
passwordMinAgeMinutes java.lang.Number No description.
passwordMinLength java.lang.Number No description.
passwordMinLowercase java.lang.Number No description.
passwordMinNumber java.lang.Number No description.
passwordMinSymbol java.lang.Number No description.
passwordMinUppercase java.lang.Number No description.
passwordShowLockoutFailures java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
questionMinLength java.lang.Number No description.
questionRecovery java.lang.String No description.
recoveryEmailToken java.lang.Number No description.
skipUnlock java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
smsRecovery java.lang.String No description.

nodeRequired
public Node getNode();
  • Type: software.constructs.Node

The tree node.


cdktfStackRequired
public TerraformStack getCdktfStack();
  • Type: com.hashicorp.cdktf.TerraformStack

fqnRequired
public java.lang.String getFqn();
  • Type: java.lang.String

friendlyUniqueIdRequired
public java.lang.String getFriendlyUniqueId();
  • Type: java.lang.String

terraformMetaArgumentsRequired
public java.util.Map<java.lang.String, java.lang.Object> getTerraformMetaArguments();
  • Type: java.util.Map<java.lang.String, java.lang.Object>

terraformResourceTypeRequired
public java.lang.String getTerraformResourceType();
  • Type: java.lang.String

terraformGeneratorMetadataOptional
public TerraformProviderGeneratorMetadata getTerraformGeneratorMetadata();
  • Type: com.hashicorp.cdktf.TerraformProviderGeneratorMetadata

connectionOptional
public java.lang.Object getConnection();
  • Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection

countOptional
public java.lang.Object getCount();
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
public java.util.List<java.lang.String> getDependsOn();
  • Type: java.util.List<java.lang.String>

forEachOptional
public ITerraformIterator getForEach();
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
public TerraformResourceLifecycle getLifecycle();
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
public TerraformProvider getProvider();
  • Type: com.hashicorp.cdktf.TerraformProvider

provisionersOptional
public java.lang.Object getProvisioners();
  • Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>

defaultAuthProviderRequired
public java.lang.String getDefaultAuthProvider();
  • Type: java.lang.String

defaultIncludedGroupIdRequired
public java.lang.String getDefaultIncludedGroupId();
  • Type: java.lang.String

descriptionRequired
public java.lang.String getDescription();
  • Type: java.lang.String

nameRequired
public java.lang.String getName();
  • Type: java.lang.String

priorityRequired
public java.lang.Number getPriority();
  • Type: java.lang.Number

statusRequired
public java.lang.String getStatus();
  • Type: java.lang.String

callRecoveryInputOptional
public java.lang.String getCallRecoveryInput();
  • Type: java.lang.String

emailRecoveryInputOptional
public java.lang.String getEmailRecoveryInput();
  • Type: java.lang.String

idInputOptional
public java.lang.String getIdInput();
  • Type: java.lang.String

passwordAutoUnlockMinutesInputOptional
public java.lang.Number getPasswordAutoUnlockMinutesInput();
  • Type: java.lang.Number

passwordDictionaryLookupInputOptional
public java.lang.Object getPasswordDictionaryLookupInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

passwordExcludeFirstNameInputOptional
public java.lang.Object getPasswordExcludeFirstNameInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

passwordExcludeLastNameInputOptional
public java.lang.Object getPasswordExcludeLastNameInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

passwordExcludeUsernameInputOptional
public java.lang.Object getPasswordExcludeUsernameInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

passwordExpireWarnDaysInputOptional
public java.lang.Number getPasswordExpireWarnDaysInput();
  • Type: java.lang.Number

passwordHistoryCountInputOptional
public java.lang.Number getPasswordHistoryCountInput();
  • Type: java.lang.Number

passwordLockoutNotificationChannelsInputOptional
public java.util.List<java.lang.String> getPasswordLockoutNotificationChannelsInput();
  • Type: java.util.List<java.lang.String>

passwordMaxAgeDaysInputOptional
public java.lang.Number getPasswordMaxAgeDaysInput();
  • Type: java.lang.Number

passwordMaxLockoutAttemptsInputOptional
public java.lang.Number getPasswordMaxLockoutAttemptsInput();
  • Type: java.lang.Number

passwordMinAgeMinutesInputOptional
public java.lang.Number getPasswordMinAgeMinutesInput();
  • Type: java.lang.Number

passwordMinLengthInputOptional
public java.lang.Number getPasswordMinLengthInput();
  • Type: java.lang.Number

passwordMinLowercaseInputOptional
public java.lang.Number getPasswordMinLowercaseInput();
  • Type: java.lang.Number

passwordMinNumberInputOptional
public java.lang.Number getPasswordMinNumberInput();
  • Type: java.lang.Number

passwordMinSymbolInputOptional
public java.lang.Number getPasswordMinSymbolInput();
  • Type: java.lang.Number

passwordMinUppercaseInputOptional
public java.lang.Number getPasswordMinUppercaseInput();
  • Type: java.lang.Number

passwordShowLockoutFailuresInputOptional
public java.lang.Object getPasswordShowLockoutFailuresInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

questionMinLengthInputOptional
public java.lang.Number getQuestionMinLengthInput();
  • Type: java.lang.Number

questionRecoveryInputOptional
public java.lang.String getQuestionRecoveryInput();
  • Type: java.lang.String

recoveryEmailTokenInputOptional
public java.lang.Number getRecoveryEmailTokenInput();
  • Type: java.lang.Number

skipUnlockInputOptional
public java.lang.Object getSkipUnlockInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

smsRecoveryInputOptional
public java.lang.String getSmsRecoveryInput();
  • Type: java.lang.String

callRecoveryRequired
public java.lang.String getCallRecovery();
  • Type: java.lang.String

emailRecoveryRequired
public java.lang.String getEmailRecovery();
  • Type: java.lang.String

idRequired
public java.lang.String getId();
  • Type: java.lang.String

passwordAutoUnlockMinutesRequired
public java.lang.Number getPasswordAutoUnlockMinutes();
  • Type: java.lang.Number

passwordDictionaryLookupRequired
public java.lang.Object getPasswordDictionaryLookup();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

passwordExcludeFirstNameRequired
public java.lang.Object getPasswordExcludeFirstName();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

passwordExcludeLastNameRequired
public java.lang.Object getPasswordExcludeLastName();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

passwordExcludeUsernameRequired
public java.lang.Object getPasswordExcludeUsername();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

passwordExpireWarnDaysRequired
public java.lang.Number getPasswordExpireWarnDays();
  • Type: java.lang.Number

passwordHistoryCountRequired
public java.lang.Number getPasswordHistoryCount();
  • Type: java.lang.Number

passwordLockoutNotificationChannelsRequired
public java.util.List<java.lang.String> getPasswordLockoutNotificationChannels();
  • Type: java.util.List<java.lang.String>

passwordMaxAgeDaysRequired
public java.lang.Number getPasswordMaxAgeDays();
  • Type: java.lang.Number

passwordMaxLockoutAttemptsRequired
public java.lang.Number getPasswordMaxLockoutAttempts();
  • Type: java.lang.Number

passwordMinAgeMinutesRequired
public java.lang.Number getPasswordMinAgeMinutes();
  • Type: java.lang.Number

passwordMinLengthRequired
public java.lang.Number getPasswordMinLength();
  • Type: java.lang.Number

passwordMinLowercaseRequired
public java.lang.Number getPasswordMinLowercase();
  • Type: java.lang.Number

passwordMinNumberRequired
public java.lang.Number getPasswordMinNumber();
  • Type: java.lang.Number

passwordMinSymbolRequired
public java.lang.Number getPasswordMinSymbol();
  • Type: java.lang.Number

passwordMinUppercaseRequired
public java.lang.Number getPasswordMinUppercase();
  • Type: java.lang.Number

passwordShowLockoutFailuresRequired
public java.lang.Object getPasswordShowLockoutFailures();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

questionMinLengthRequired
public java.lang.Number getQuestionMinLength();
  • Type: java.lang.Number

questionRecoveryRequired
public java.lang.String getQuestionRecovery();
  • Type: java.lang.String

recoveryEmailTokenRequired
public java.lang.Number getRecoveryEmailToken();
  • Type: java.lang.Number

skipUnlockRequired
public java.lang.Object getSkipUnlock();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

smsRecoveryRequired
public java.lang.String getSmsRecovery();
  • Type: java.lang.String

Constants

Name Type Description
tfResourceType java.lang.String No description.

tfResourceTypeRequired
public java.lang.String getTfResourceType();
  • Type: java.lang.String

Structs

PolicyPasswordDefaultConfig

Initializer

import com.hashicorp.cdktf.providers.okta.policy_password_default.PolicyPasswordDefaultConfig;

PolicyPasswordDefaultConfig.builder()
//  .connection(SSHProvisionerConnection)
//  .connection(WinrmProvisionerConnection)
//  .count(java.lang.Number)
//  .count(TerraformCount)
//  .dependsOn(java.util.List<ITerraformDependable>)
//  .forEach(ITerraformIterator)
//  .lifecycle(TerraformResourceLifecycle)
//  .provider(TerraformProvider)
//  .provisioners(java.util.List<FileProvisioner)
//  .provisioners(LocalExecProvisioner)
//  .provisioners(RemoteExecProvisioner>)
//  .callRecovery(java.lang.String)
//  .emailRecovery(java.lang.String)
//  .id(java.lang.String)
//  .passwordAutoUnlockMinutes(java.lang.Number)
//  .passwordDictionaryLookup(java.lang.Boolean)
//  .passwordDictionaryLookup(IResolvable)
//  .passwordExcludeFirstName(java.lang.Boolean)
//  .passwordExcludeFirstName(IResolvable)
//  .passwordExcludeLastName(java.lang.Boolean)
//  .passwordExcludeLastName(IResolvable)
//  .passwordExcludeUsername(java.lang.Boolean)
//  .passwordExcludeUsername(IResolvable)
//  .passwordExpireWarnDays(java.lang.Number)
//  .passwordHistoryCount(java.lang.Number)
//  .passwordLockoutNotificationChannels(java.util.List<java.lang.String>)
//  .passwordMaxAgeDays(java.lang.Number)
//  .passwordMaxLockoutAttempts(java.lang.Number)
//  .passwordMinAgeMinutes(java.lang.Number)
//  .passwordMinLength(java.lang.Number)
//  .passwordMinLowercase(java.lang.Number)
//  .passwordMinNumber(java.lang.Number)
//  .passwordMinSymbol(java.lang.Number)
//  .passwordMinUppercase(java.lang.Number)
//  .passwordShowLockoutFailures(java.lang.Boolean)
//  .passwordShowLockoutFailures(IResolvable)
//  .questionMinLength(java.lang.Number)
//  .questionRecovery(java.lang.String)
//  .recoveryEmailToken(java.lang.Number)
//  .skipUnlock(java.lang.Boolean)
//  .skipUnlock(IResolvable)
//  .smsRecovery(java.lang.String)
    .build();

Properties

Name Type Description
connection com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<com.hashicorp.cdktf.ITerraformDependable> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
provisioners java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner> No description.
callRecovery java.lang.String Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: INACTIVE.
emailRecovery java.lang.String Enable or disable email password recovery: ACTIVE or INACTIVE. Default: ACTIVE.
id java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#id PolicyPasswordDefault#id}.
passwordAutoUnlockMinutes java.lang.Number Number of minutes before a locked account is unlocked: 0 = no limit. Default: 0.
passwordDictionaryLookup java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Check Passwords Against Common Password Dictionary. Default: false.
passwordExcludeFirstName java.lang.Boolean OR com.hashicorp.cdktf.IResolvable User firstName attribute must be excluded from the password.
passwordExcludeLastName java.lang.Boolean OR com.hashicorp.cdktf.IResolvable User lastName attribute must be excluded from the password.
passwordExcludeUsername java.lang.Boolean OR com.hashicorp.cdktf.IResolvable If the user name must be excluded from the password. Default: true.
passwordExpireWarnDays java.lang.Number Length in days a user will be warned before password expiry: 0 = no warning. Default: 0.
passwordHistoryCount java.lang.Number Number of distinct passwords that must be created before they can be reused: 0 = none. Default: 4.
passwordLockoutNotificationChannels java.util.List<java.lang.String> Notification channels to use to notify a user when their account has been locked.
passwordMaxAgeDays java.lang.Number Length in days a password is valid before expiry: 0 = no limit. Default: 0.
passwordMaxLockoutAttempts java.lang.Number Number of unsuccessful login attempts allowed before lockout: 0 = no limit. Default: 10.
passwordMinAgeMinutes java.lang.Number Minimum time interval in minutes between password changes: 0 = no limit. Default: 0.
passwordMinLength java.lang.Number Minimum password length. Default is 8.
passwordMinLowercase java.lang.Number If a password must contain at least one lower case letter: 0 = no, 1 = yes.
passwordMinNumber java.lang.Number If a password must contain at least one number: 0 = no, 1 = yes. Default = 1.
passwordMinSymbol java.lang.Number If a password must contain at least one symbol (!@#$%^&*): 0 = no, 1 = yes. Default = 0.
passwordMinUppercase java.lang.Number If a password must contain at least one upper case letter: 0 = no, 1 = yes.
passwordShowLockoutFailures java.lang.Boolean OR com.hashicorp.cdktf.IResolvable If a user should be informed when their account is locked. Default: false.
questionMinLength java.lang.Number Min length of the password recovery question answer. Default: 4.
questionRecovery java.lang.String Enable or disable security question password recovery: ACTIVE or INACTIVE. Default: ACTIVE.
recoveryEmailToken java.lang.Number Lifetime in minutes of the recovery email token. Default: 60.
skipUnlock java.lang.Boolean OR com.hashicorp.cdktf.IResolvable When an Active Directory user is locked out of Okta, the Okta unlock operation should also attempt to unlock the user's Windows account.
smsRecovery java.lang.String Enable or disable SMS password recovery: ACTIVE or INACTIVE. Default: INACTIVE.

connectionOptional
public java.lang.Object getConnection();
  • Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection

countOptional
public java.lang.Object getCount();
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
public java.util.List<ITerraformDependable> getDependsOn();
  • Type: java.util.List<com.hashicorp.cdktf.ITerraformDependable>

forEachOptional
public ITerraformIterator getForEach();
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
public TerraformResourceLifecycle getLifecycle();
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
public TerraformProvider getProvider();
  • Type: com.hashicorp.cdktf.TerraformProvider

provisionersOptional
public java.lang.Object getProvisioners();
  • Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>

callRecoveryOptional
public java.lang.String getCallRecovery();
  • Type: java.lang.String

Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: INACTIVE.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#call_recovery PolicyPasswordDefault#call_recovery}


emailRecoveryOptional
public java.lang.String getEmailRecovery();
  • Type: java.lang.String

Enable or disable email password recovery: ACTIVE or INACTIVE. Default: ACTIVE.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#email_recovery PolicyPasswordDefault#email_recovery}


idOptional
public java.lang.String getId();
  • Type: java.lang.String

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#id PolicyPasswordDefault#id}.

Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.


passwordAutoUnlockMinutesOptional
public java.lang.Number getPasswordAutoUnlockMinutes();
  • Type: java.lang.Number

Number of minutes before a locked account is unlocked: 0 = no limit. Default: 0.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_auto_unlock_minutes PolicyPasswordDefault#password_auto_unlock_minutes}


passwordDictionaryLookupOptional
public java.lang.Object getPasswordDictionaryLookup();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

Check Passwords Against Common Password Dictionary. Default: false.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_dictionary_lookup PolicyPasswordDefault#password_dictionary_lookup}


passwordExcludeFirstNameOptional
public java.lang.Object getPasswordExcludeFirstName();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

User firstName attribute must be excluded from the password.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_exclude_first_name PolicyPasswordDefault#password_exclude_first_name}


passwordExcludeLastNameOptional
public java.lang.Object getPasswordExcludeLastName();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

User lastName attribute must be excluded from the password.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_exclude_last_name PolicyPasswordDefault#password_exclude_last_name}


passwordExcludeUsernameOptional
public java.lang.Object getPasswordExcludeUsername();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

If the user name must be excluded from the password. Default: true.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_exclude_username PolicyPasswordDefault#password_exclude_username}


passwordExpireWarnDaysOptional
public java.lang.Number getPasswordExpireWarnDays();
  • Type: java.lang.Number

Length in days a user will be warned before password expiry: 0 = no warning. Default: 0.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_expire_warn_days PolicyPasswordDefault#password_expire_warn_days}


passwordHistoryCountOptional
public java.lang.Number getPasswordHistoryCount();
  • Type: java.lang.Number

Number of distinct passwords that must be created before they can be reused: 0 = none. Default: 4.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_history_count PolicyPasswordDefault#password_history_count}


passwordLockoutNotificationChannelsOptional
public java.util.List<java.lang.String> getPasswordLockoutNotificationChannels();
  • Type: java.util.List<java.lang.String>

Notification channels to use to notify a user when their account has been locked.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_lockout_notification_channels PolicyPasswordDefault#password_lockout_notification_channels}


passwordMaxAgeDaysOptional
public java.lang.Number getPasswordMaxAgeDays();
  • Type: java.lang.Number

Length in days a password is valid before expiry: 0 = no limit. Default: 0.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_max_age_days PolicyPasswordDefault#password_max_age_days}


passwordMaxLockoutAttemptsOptional
public java.lang.Number getPasswordMaxLockoutAttempts();
  • Type: java.lang.Number

Number of unsuccessful login attempts allowed before lockout: 0 = no limit. Default: 10.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_max_lockout_attempts PolicyPasswordDefault#password_max_lockout_attempts}


passwordMinAgeMinutesOptional
public java.lang.Number getPasswordMinAgeMinutes();
  • Type: java.lang.Number

Minimum time interval in minutes between password changes: 0 = no limit. Default: 0.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_min_age_minutes PolicyPasswordDefault#password_min_age_minutes}


passwordMinLengthOptional
public java.lang.Number getPasswordMinLength();
  • Type: java.lang.Number

Minimum password length. Default is 8.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_min_length PolicyPasswordDefault#password_min_length}


passwordMinLowercaseOptional
public java.lang.Number getPasswordMinLowercase();
  • Type: java.lang.Number

If a password must contain at least one lower case letter: 0 = no, 1 = yes.

Default = 1

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_min_lowercase PolicyPasswordDefault#password_min_lowercase}


passwordMinNumberOptional
public java.lang.Number getPasswordMinNumber();
  • Type: java.lang.Number

If a password must contain at least one number: 0 = no, 1 = yes. Default = 1.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_min_number PolicyPasswordDefault#password_min_number}


passwordMinSymbolOptional
public java.lang.Number getPasswordMinSymbol();
  • Type: java.lang.Number

If a password must contain at least one symbol (!@#$%^&*): 0 = no, 1 = yes. Default = 0.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_min_symbol PolicyPasswordDefault#password_min_symbol}


passwordMinUppercaseOptional
public java.lang.Number getPasswordMinUppercase();
  • Type: java.lang.Number

If a password must contain at least one upper case letter: 0 = no, 1 = yes.

Default = 1

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_min_uppercase PolicyPasswordDefault#password_min_uppercase}


passwordShowLockoutFailuresOptional
public java.lang.Object getPasswordShowLockoutFailures();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

If a user should be informed when their account is locked. Default: false.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#password_show_lockout_failures PolicyPasswordDefault#password_show_lockout_failures}


questionMinLengthOptional
public java.lang.Number getQuestionMinLength();
  • Type: java.lang.Number

Min length of the password recovery question answer. Default: 4.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#question_min_length PolicyPasswordDefault#question_min_length}


questionRecoveryOptional
public java.lang.String getQuestionRecovery();
  • Type: java.lang.String

Enable or disable security question password recovery: ACTIVE or INACTIVE. Default: ACTIVE.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#question_recovery PolicyPasswordDefault#question_recovery}


recoveryEmailTokenOptional
public java.lang.Number getRecoveryEmailToken();
  • Type: java.lang.Number

Lifetime in minutes of the recovery email token. Default: 60.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#recovery_email_token PolicyPasswordDefault#recovery_email_token}


skipUnlockOptional
public java.lang.Object getSkipUnlock();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

When an Active Directory user is locked out of Okta, the Okta unlock operation should also attempt to unlock the user's Windows account.

Default: false

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#skip_unlock PolicyPasswordDefault#skip_unlock}


smsRecoveryOptional
public java.lang.String getSmsRecovery();
  • Type: java.lang.String

Enable or disable SMS password recovery: ACTIVE or INACTIVE. Default: INACTIVE.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_password_default#sms_recovery PolicyPasswordDefault#sms_recovery}