Represents a {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy snowflake_password_policy}.
import com.hashicorp.cdktf.providers.snowflake.password_policy.PasswordPolicy;
PasswordPolicy.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>)
.database(java.lang.String)
.name(java.lang.String)
.schema(java.lang.String)
// .comment(java.lang.String)
// .history(java.lang.Number)
// .id(java.lang.String)
// .ifNotExists(java.lang.Boolean)
// .ifNotExists(IResolvable)
// .lockoutTimeMins(java.lang.Number)
// .maxAgeDays(java.lang.Number)
// .maxLength(java.lang.Number)
// .maxRetries(java.lang.Number)
// .minAgeDays(java.lang.Number)
// .minLength(java.lang.Number)
// .minLowerCaseChars(java.lang.Number)
// .minNumericChars(java.lang.Number)
// .minSpecialChars(java.lang.Number)
// .minUpperCaseChars(java.lang.Number)
// .orReplace(java.lang.Boolean)
// .orReplace(IResolvable)
.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. |
database |
java.lang.String |
The database this password policy belongs to. |
name |
java.lang.String |
Identifier for the password policy; must be unique for your account. |
schema |
java.lang.String |
The schema this password policy belongs to. |
comment |
java.lang.String |
Adds a comment or overwrites an existing comment for the password policy. |
history |
java.lang.Number |
Specifies the number of the most recent passwords that Snowflake stores. |
id |
java.lang.String |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#id PasswordPolicy#id}. |
ifNotExists |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Prevent overwriting a previous password policy with the same name. |
lockoutTimeMins |
java.lang.Number |
Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD_MAX_RETRIES). Supported range: 1 to 999, inclusive. Default: 15. |
maxAgeDays |
java.lang.Number |
Specifies the maximum number of days before the password must be changed. |
maxLength |
java.lang.Number |
Specifies the maximum number of characters the password must contain. |
maxRetries |
java.lang.Number |
Specifies the maximum number of attempts to enter a password before being locked out. |
minAgeDays |
java.lang.Number |
Specifies the number of days the user must wait before a recently changed password can be changed again. |
minLength |
java.lang.Number |
Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8. |
minLowerCaseChars |
java.lang.Number |
Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1. |
minNumericChars |
java.lang.Number |
Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1. |
minSpecialChars |
java.lang.Number |
Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1. |
minUpperCaseChars |
java.lang.Number |
Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1. |
orReplace |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Whether to override a previous password policy with the same name. |
- Type: software.constructs.Construct
The scope in which to define this construct.
- Type: java.lang.String
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection
- Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount
- Type: java.util.List<com.hashicorp.cdktf.ITerraformDependable>
- Type: com.hashicorp.cdktf.ITerraformIterator
- Type: com.hashicorp.cdktf.TerraformResourceLifecycle
- Type: com.hashicorp.cdktf.TerraformProvider
- Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>
- Type: java.lang.String
The database this password policy belongs to.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#database PasswordPolicy#database}
- Type: java.lang.String
Identifier for the password policy; must be unique for your account.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#name PasswordPolicy#name}
- Type: java.lang.String
The schema this password policy belongs to.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#schema PasswordPolicy#schema}
- Type: java.lang.String
Adds a comment or overwrites an existing comment for the password policy.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#comment PasswordPolicy#comment}
- Type: java.lang.Number
Specifies the number of the most recent passwords that Snowflake stores.
These stored passwords cannot be repeated when a user updates their password value. The current password value does not count towards the history. When you increase the history value, Snowflake saves the previous values. When you decrease the value, Snowflake saves the stored values up to that value that is set. For example, if the history value is 8 and you change the history value to 3, Snowflake stores the most recent 3 passwords and deletes the 5 older password values from the history. Default: 0 Max: 24
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#history PasswordPolicy#history}
- Type: java.lang.String
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#id PasswordPolicy#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.
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
Prevent overwriting a previous password policy with the same name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#if_not_exists PasswordPolicy#if_not_exists}
- Type: java.lang.Number
Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD_MAX_RETRIES). Supported range: 1 to 999, inclusive. Default: 15.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#lockout_time_mins PasswordPolicy#lockout_time_mins}
- Type: java.lang.Number
Specifies the maximum number of days before the password must be changed.
Supported range: 0 to 999, inclusive. A value of zero (i.e. 0) indicates that the password does not need to be changed. Snowflake does not recommend choosing this value for a default account-level password policy or for any user-level policy. Instead, choose a value that meets your internal security guidelines. Default: 90, which means the password must be changed every 90 days.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#max_age_days PasswordPolicy#max_age_days}
- Type: java.lang.Number
Specifies the maximum number of characters the password must contain.
This number must be greater than or equal to the sum of PASSWORD_MIN_LENGTH, PASSWORD_MIN_UPPER_CASE_CHARS, and PASSWORD_MIN_LOWER_CASE_CHARS. Supported range: 8 to 256, inclusive. Default: 256
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#max_length PasswordPolicy#max_length}
- Type: java.lang.Number
Specifies the maximum number of attempts to enter a password before being locked out.
Supported range: 1 to 10, inclusive. Default: 5
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#max_retries PasswordPolicy#max_retries}
- Type: java.lang.Number
Specifies the number of days the user must wait before a recently changed password can be changed again.
Supported range: 0 to 999, inclusive. Default: 0
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_age_days PasswordPolicy#min_age_days}
- Type: java.lang.Number
Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_length PasswordPolicy#min_length}
- Type: java.lang.Number
Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_lower_case_chars PasswordPolicy#min_lower_case_chars}
- Type: java.lang.Number
Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_numeric_chars PasswordPolicy#min_numeric_chars}
- Type: java.lang.Number
Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_special_chars PasswordPolicy#min_special_chars}
- Type: java.lang.Number
Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_upper_case_chars PasswordPolicy#min_upper_case_chars}
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
Whether to override a previous password policy with the same name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#or_replace PasswordPolicy#or_replace}
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". |
resetComment |
No description. |
resetHistory |
No description. |
resetId |
No description. |
resetIfNotExists |
No description. |
resetLockoutTimeMins |
No description. |
resetMaxAgeDays |
No description. |
resetMaxLength |
No description. |
resetMaxRetries |
No description. |
resetMinAgeDays |
No description. |
resetMinLength |
No description. |
resetMinLowerCaseChars |
No description. |
resetMinNumericChars |
No description. |
resetMinSpecialChars |
No description. |
resetMinUpperCaseChars |
No description. |
resetOrReplace |
No description. |
public java.lang.String toString()
Returns a string representation of this construct.
public void addOverride(java.lang.String path, java.lang.Object value)
- Type: java.lang.String
- Type: java.lang.Object
public void overrideLogicalId(java.lang.String newLogicalId)
Overrides the auto-generated logical ID with a specific ID.
- Type: java.lang.String
The new logical ID to use for this stack element.
public void resetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
public java.lang.Object toHclTerraform()
public java.lang.Object toMetadata()
public java.lang.Object toTerraform()
Adds this resource to the terraform JSON output.
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.
- Type: java.lang.String
The string move target that will correspond to this resource.
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
public TerraformResourceMoveByTarget OR TerraformResourceMoveById hasResourceMove()
public void importFrom(java.lang.String id)
public void importFrom(java.lang.String id, TerraformProvider provider)
- Type: java.lang.String
- Type: com.hashicorp.cdktf.TerraformProvider
public IResolvable interpolationForAttribute(java.lang.String terraformAttribute)
- Type: java.lang.String
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.
- Type: java.lang.String
Full id of resource being moved from, e.g. "aws_s3_bucket.example".
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.
- Type: java.lang.String
The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.
- 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.
public void moveToId(java.lang.String id)
Moves this resource to the resource corresponding to "id".
- Type: java.lang.String
Full id of resource to move to, e.g. "aws_s3_bucket.example".
public void resetComment()
public void resetHistory()
public void resetId()
public void resetIfNotExists()
public void resetLockoutTimeMins()
public void resetMaxAgeDays()
public void resetMaxLength()
public void resetMaxRetries()
public void resetMinAgeDays()
public void resetMinLength()
public void resetMinLowerCaseChars()
public void resetMinNumericChars()
public void resetMinSpecialChars()
public void resetMinUpperCaseChars()
public void resetOrReplace()
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
isTerraformElement |
No description. |
isTerraformResource |
No description. |
generateConfigForImport |
Generates CDKTF code for importing a PasswordPolicy resource upon running "cdktf plan ". |
import com.hashicorp.cdktf.providers.snowflake.password_policy.PasswordPolicy;
PasswordPolicy.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.
- Type: java.lang.Object
Any object.
import com.hashicorp.cdktf.providers.snowflake.password_policy.PasswordPolicy;
PasswordPolicy.isTerraformElement(java.lang.Object x)
- Type: java.lang.Object
import com.hashicorp.cdktf.providers.snowflake.password_policy.PasswordPolicy;
PasswordPolicy.isTerraformResource(java.lang.Object x)
- Type: java.lang.Object
import com.hashicorp.cdktf.providers.snowflake.password_policy.PasswordPolicy;
PasswordPolicy.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),PasswordPolicy.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider)
Generates CDKTF code for importing a PasswordPolicy resource upon running "cdktf plan ".
- Type: software.constructs.Construct
The scope in which to define this construct.
- Type: java.lang.String
The construct id used in the generated config for the PasswordPolicy to import.
- Type: java.lang.String
The id of the existing PasswordPolicy that should be imported.
Refer to the {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#import import section} in the documentation of this resource for the id to use
- Type: com.hashicorp.cdktf.TerraformProvider
? Optional instance of the provider where the PasswordPolicy to import is found.
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. |
qualifiedName |
java.lang.String |
No description. |
commentInput |
java.lang.String |
No description. |
databaseInput |
java.lang.String |
No description. |
historyInput |
java.lang.Number |
No description. |
idInput |
java.lang.String |
No description. |
ifNotExistsInput |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
lockoutTimeMinsInput |
java.lang.Number |
No description. |
maxAgeDaysInput |
java.lang.Number |
No description. |
maxLengthInput |
java.lang.Number |
No description. |
maxRetriesInput |
java.lang.Number |
No description. |
minAgeDaysInput |
java.lang.Number |
No description. |
minLengthInput |
java.lang.Number |
No description. |
minLowerCaseCharsInput |
java.lang.Number |
No description. |
minNumericCharsInput |
java.lang.Number |
No description. |
minSpecialCharsInput |
java.lang.Number |
No description. |
minUpperCaseCharsInput |
java.lang.Number |
No description. |
nameInput |
java.lang.String |
No description. |
orReplaceInput |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
schemaInput |
java.lang.String |
No description. |
comment |
java.lang.String |
No description. |
database |
java.lang.String |
No description. |
history |
java.lang.Number |
No description. |
id |
java.lang.String |
No description. |
ifNotExists |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
lockoutTimeMins |
java.lang.Number |
No description. |
maxAgeDays |
java.lang.Number |
No description. |
maxLength |
java.lang.Number |
No description. |
maxRetries |
java.lang.Number |
No description. |
minAgeDays |
java.lang.Number |
No description. |
minLength |
java.lang.Number |
No description. |
minLowerCaseChars |
java.lang.Number |
No description. |
minNumericChars |
java.lang.Number |
No description. |
minSpecialChars |
java.lang.Number |
No description. |
minUpperCaseChars |
java.lang.Number |
No description. |
name |
java.lang.String |
No description. |
orReplace |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
schema |
java.lang.String |
No description. |
public Node getNode();
- Type: software.constructs.Node
The tree node.
public TerraformStack getCdktfStack();
- Type: com.hashicorp.cdktf.TerraformStack
public java.lang.String getFqn();
- Type: java.lang.String
public java.lang.String getFriendlyUniqueId();
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.Object> getTerraformMetaArguments();
- Type: java.util.Map<java.lang.String, java.lang.Object>
public java.lang.String getTerraformResourceType();
- Type: java.lang.String
public TerraformProviderGeneratorMetadata getTerraformGeneratorMetadata();
- Type: com.hashicorp.cdktf.TerraformProviderGeneratorMetadata
public java.lang.Object getConnection();
- Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection
public java.lang.Object getCount();
- Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount
public java.util.List<java.lang.String> getDependsOn();
- Type: java.util.List<java.lang.String>
public ITerraformIterator getForEach();
- Type: com.hashicorp.cdktf.ITerraformIterator
public TerraformResourceLifecycle getLifecycle();
- Type: com.hashicorp.cdktf.TerraformResourceLifecycle
public TerraformProvider getProvider();
- Type: com.hashicorp.cdktf.TerraformProvider
public java.lang.Object getProvisioners();
- Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>
public java.lang.String getQualifiedName();
- Type: java.lang.String
public java.lang.String getCommentInput();
- Type: java.lang.String
public java.lang.String getDatabaseInput();
- Type: java.lang.String
public java.lang.Number getHistoryInput();
- Type: java.lang.Number
public java.lang.String getIdInput();
- Type: java.lang.String
public java.lang.Object getIfNotExistsInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.Number getLockoutTimeMinsInput();
- Type: java.lang.Number
public java.lang.Number getMaxAgeDaysInput();
- Type: java.lang.Number
public java.lang.Number getMaxLengthInput();
- Type: java.lang.Number
public java.lang.Number getMaxRetriesInput();
- Type: java.lang.Number
public java.lang.Number getMinAgeDaysInput();
- Type: java.lang.Number
public java.lang.Number getMinLengthInput();
- Type: java.lang.Number
public java.lang.Number getMinLowerCaseCharsInput();
- Type: java.lang.Number
public java.lang.Number getMinNumericCharsInput();
- Type: java.lang.Number
public java.lang.Number getMinSpecialCharsInput();
- Type: java.lang.Number
public java.lang.Number getMinUpperCaseCharsInput();
- Type: java.lang.Number
public java.lang.String getNameInput();
- Type: java.lang.String
public java.lang.Object getOrReplaceInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getSchemaInput();
- Type: java.lang.String
public java.lang.String getComment();
- Type: java.lang.String
public java.lang.String getDatabase();
- Type: java.lang.String
public java.lang.Number getHistory();
- Type: java.lang.Number
public java.lang.String getId();
- Type: java.lang.String
public java.lang.Object getIfNotExists();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.Number getLockoutTimeMins();
- Type: java.lang.Number
public java.lang.Number getMaxAgeDays();
- Type: java.lang.Number
public java.lang.Number getMaxLength();
- Type: java.lang.Number
public java.lang.Number getMaxRetries();
- Type: java.lang.Number
public java.lang.Number getMinAgeDays();
- Type: java.lang.Number
public java.lang.Number getMinLength();
- Type: java.lang.Number
public java.lang.Number getMinLowerCaseChars();
- Type: java.lang.Number
public java.lang.Number getMinNumericChars();
- Type: java.lang.Number
public java.lang.Number getMinSpecialChars();
- Type: java.lang.Number
public java.lang.Number getMinUpperCaseChars();
- Type: java.lang.Number
public java.lang.String getName();
- Type: java.lang.String
public java.lang.Object getOrReplace();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getSchema();
- Type: java.lang.String
Name | Type | Description |
---|---|---|
tfResourceType |
java.lang.String |
No description. |
public java.lang.String getTfResourceType();
- Type: java.lang.String
import com.hashicorp.cdktf.providers.snowflake.password_policy.PasswordPolicyConfig;
PasswordPolicyConfig.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>)
.database(java.lang.String)
.name(java.lang.String)
.schema(java.lang.String)
// .comment(java.lang.String)
// .history(java.lang.Number)
// .id(java.lang.String)
// .ifNotExists(java.lang.Boolean)
// .ifNotExists(IResolvable)
// .lockoutTimeMins(java.lang.Number)
// .maxAgeDays(java.lang.Number)
// .maxLength(java.lang.Number)
// .maxRetries(java.lang.Number)
// .minAgeDays(java.lang.Number)
// .minLength(java.lang.Number)
// .minLowerCaseChars(java.lang.Number)
// .minNumericChars(java.lang.Number)
// .minSpecialChars(java.lang.Number)
// .minUpperCaseChars(java.lang.Number)
// .orReplace(java.lang.Boolean)
// .orReplace(IResolvable)
.build();
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. |
database |
java.lang.String |
The database this password policy belongs to. |
name |
java.lang.String |
Identifier for the password policy; must be unique for your account. |
schema |
java.lang.String |
The schema this password policy belongs to. |
comment |
java.lang.String |
Adds a comment or overwrites an existing comment for the password policy. |
history |
java.lang.Number |
Specifies the number of the most recent passwords that Snowflake stores. |
id |
java.lang.String |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#id PasswordPolicy#id}. |
ifNotExists |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Prevent overwriting a previous password policy with the same name. |
lockoutTimeMins |
java.lang.Number |
Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD_MAX_RETRIES). Supported range: 1 to 999, inclusive. Default: 15. |
maxAgeDays |
java.lang.Number |
Specifies the maximum number of days before the password must be changed. |
maxLength |
java.lang.Number |
Specifies the maximum number of characters the password must contain. |
maxRetries |
java.lang.Number |
Specifies the maximum number of attempts to enter a password before being locked out. |
minAgeDays |
java.lang.Number |
Specifies the number of days the user must wait before a recently changed password can be changed again. |
minLength |
java.lang.Number |
Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8. |
minLowerCaseChars |
java.lang.Number |
Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1. |
minNumericChars |
java.lang.Number |
Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1. |
minSpecialChars |
java.lang.Number |
Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1. |
minUpperCaseChars |
java.lang.Number |
Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1. |
orReplace |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Whether to override a previous password policy with the same name. |
public java.lang.Object getConnection();
- Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection
public java.lang.Object getCount();
- Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount
public java.util.List<ITerraformDependable> getDependsOn();
- Type: java.util.List<com.hashicorp.cdktf.ITerraformDependable>
public ITerraformIterator getForEach();
- Type: com.hashicorp.cdktf.ITerraformIterator
public TerraformResourceLifecycle getLifecycle();
- Type: com.hashicorp.cdktf.TerraformResourceLifecycle
public TerraformProvider getProvider();
- Type: com.hashicorp.cdktf.TerraformProvider
public java.lang.Object getProvisioners();
- Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>
public java.lang.String getDatabase();
- Type: java.lang.String
The database this password policy belongs to.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#database PasswordPolicy#database}
public java.lang.String getName();
- Type: java.lang.String
Identifier for the password policy; must be unique for your account.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#name PasswordPolicy#name}
public java.lang.String getSchema();
- Type: java.lang.String
The schema this password policy belongs to.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#schema PasswordPolicy#schema}
public java.lang.String getComment();
- Type: java.lang.String
Adds a comment or overwrites an existing comment for the password policy.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#comment PasswordPolicy#comment}
public java.lang.Number getHistory();
- Type: java.lang.Number
Specifies the number of the most recent passwords that Snowflake stores.
These stored passwords cannot be repeated when a user updates their password value. The current password value does not count towards the history. When you increase the history value, Snowflake saves the previous values. When you decrease the value, Snowflake saves the stored values up to that value that is set. For example, if the history value is 8 and you change the history value to 3, Snowflake stores the most recent 3 passwords and deletes the 5 older password values from the history. Default: 0 Max: 24
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#history PasswordPolicy#history}
public java.lang.String getId();
- Type: java.lang.String
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#id PasswordPolicy#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.
public java.lang.Object getIfNotExists();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
Prevent overwriting a previous password policy with the same name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#if_not_exists PasswordPolicy#if_not_exists}
public java.lang.Number getLockoutTimeMins();
- Type: java.lang.Number
Specifies the number of minutes the user account will be locked after exhausting the designated number of password retries (i.e. PASSWORD_MAX_RETRIES). Supported range: 1 to 999, inclusive. Default: 15.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#lockout_time_mins PasswordPolicy#lockout_time_mins}
public java.lang.Number getMaxAgeDays();
- Type: java.lang.Number
Specifies the maximum number of days before the password must be changed.
Supported range: 0 to 999, inclusive. A value of zero (i.e. 0) indicates that the password does not need to be changed. Snowflake does not recommend choosing this value for a default account-level password policy or for any user-level policy. Instead, choose a value that meets your internal security guidelines. Default: 90, which means the password must be changed every 90 days.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#max_age_days PasswordPolicy#max_age_days}
public java.lang.Number getMaxLength();
- Type: java.lang.Number
Specifies the maximum number of characters the password must contain.
This number must be greater than or equal to the sum of PASSWORD_MIN_LENGTH, PASSWORD_MIN_UPPER_CASE_CHARS, and PASSWORD_MIN_LOWER_CASE_CHARS. Supported range: 8 to 256, inclusive. Default: 256
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#max_length PasswordPolicy#max_length}
public java.lang.Number getMaxRetries();
- Type: java.lang.Number
Specifies the maximum number of attempts to enter a password before being locked out.
Supported range: 1 to 10, inclusive. Default: 5
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#max_retries PasswordPolicy#max_retries}
public java.lang.Number getMinAgeDays();
- Type: java.lang.Number
Specifies the number of days the user must wait before a recently changed password can be changed again.
Supported range: 0 to 999, inclusive. Default: 0
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_age_days PasswordPolicy#min_age_days}
public java.lang.Number getMinLength();
- Type: java.lang.Number
Specifies the minimum number of characters the password must contain. Supported range: 8 to 256, inclusive. Default: 8.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_length PasswordPolicy#min_length}
public java.lang.Number getMinLowerCaseChars();
- Type: java.lang.Number
Specifies the minimum number of lowercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_lower_case_chars PasswordPolicy#min_lower_case_chars}
public java.lang.Number getMinNumericChars();
- Type: java.lang.Number
Specifies the minimum number of numeric characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_numeric_chars PasswordPolicy#min_numeric_chars}
public java.lang.Number getMinSpecialChars();
- Type: java.lang.Number
Specifies the minimum number of special characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_special_chars PasswordPolicy#min_special_chars}
public java.lang.Number getMinUpperCaseChars();
- Type: java.lang.Number
Specifies the minimum number of uppercase characters the password must contain. Supported range: 0 to 256, inclusive. Default: 1.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#min_upper_case_chars PasswordPolicy#min_upper_case_chars}
public java.lang.Object getOrReplace();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
Whether to override a previous password policy with the same name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.91.0/docs/resources/password_policy#or_replace PasswordPolicy#or_replace}