Documentation
¶
Index ¶
- func NewPolicyRulePassword_Override(p PolicyRulePassword, scope constructs.Construct, id *string, ...)
- func PolicyRulePassword_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func PolicyRulePassword_IsConstruct(x interface{}) *bool
- func PolicyRulePassword_IsTerraformElement(x interface{}) *bool
- func PolicyRulePassword_IsTerraformResource(x interface{}) *bool
- func PolicyRulePassword_TfResourceType() *string
- type PolicyRulePassword
- type PolicyRulePasswordConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPolicyRulePassword_Override ¶
func NewPolicyRulePassword_Override(p PolicyRulePassword, scope constructs.Construct, id *string, config *PolicyRulePasswordConfig)
Create a new {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password okta_policy_rule_password} Resource.
func PolicyRulePassword_GenerateConfigForImport ¶
func PolicyRulePassword_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a PolicyRulePassword resource upon running "cdktf plan <stack-name>".
func PolicyRulePassword_IsConstruct ¶
func PolicyRulePassword_IsConstruct(x interface{}) *bool
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.
Returns: true if `x` is an object created from a class which extends `Construct`.
func PolicyRulePassword_IsTerraformElement ¶
func PolicyRulePassword_IsTerraformElement(x interface{}) *bool
Experimental.
func PolicyRulePassword_IsTerraformResource ¶
func PolicyRulePassword_IsTerraformResource(x interface{}) *bool
Experimental.
func PolicyRulePassword_TfResourceType ¶
func PolicyRulePassword_TfResourceType() *string
Types ¶
type PolicyRulePassword ¶
type PolicyRulePassword interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string NetworkConnection() *string SetNetworkConnection(val *string) NetworkConnectionInput() *string NetworkExcludes() *[]*string SetNetworkExcludes(val *[]*string) NetworkExcludesInput() *[]*string NetworkIncludes() *[]*string SetNetworkIncludes(val *[]*string) NetworkIncludesInput() *[]*string // The tree node. Node() constructs.Node PasswordChange() *string SetPasswordChange(val *string) PasswordChangeInput() *string PasswordReset() *string SetPasswordReset(val *string) PasswordResetInput() *string PasswordUnlock() *string SetPasswordUnlock(val *string) PasswordUnlockInput() *string PolicyId() *string SetPolicyId(val *string) PolicyIdInput() *string Priority() *float64 SetPriority(val *float64) PriorityInput() *float64 // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Status() *string SetStatus(val *string) StatusInput() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string UsersExcluded() *[]*string SetUsersExcluded(val *[]*string) UsersExcludedInput() *[]*string // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // 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. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetId() ResetNetworkConnection() ResetNetworkExcludes() ResetNetworkIncludes() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPasswordChange() ResetPasswordReset() ResetPasswordUnlock() ResetPolicyId() ResetPriority() ResetStatus() ResetUsersExcluded() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password okta_policy_rule_password}.
func NewPolicyRulePassword ¶
func NewPolicyRulePassword(scope constructs.Construct, id *string, config *PolicyRulePasswordConfig) PolicyRulePassword
Create a new {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password okta_policy_rule_password} Resource.
type PolicyRulePasswordConfig ¶
type PolicyRulePasswordConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // Policy Rule Name. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password#name PolicyRulePassword#name} Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password#id PolicyRulePassword#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. Id *string `field:"optional" json:"id" yaml:"id"` // Network selection mode: `ANYWHERE`, `ZONE`, `ON_NETWORK`, or `OFF_NETWORK`. Default: `ANYWHERE`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password#network_connection PolicyRulePassword#network_connection} NetworkConnection *string `field:"optional" json:"networkConnection" yaml:"networkConnection"` // Required if `network_connection` = `ZONE`. Indicates the network zones to exclude. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password#network_excludes PolicyRulePassword#network_excludes} NetworkExcludes *[]*string `field:"optional" json:"networkExcludes" yaml:"networkExcludes"` // Required if `network_connection` = `ZONE`. Indicates the network zones to include. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password#network_includes PolicyRulePassword#network_includes} NetworkIncludes *[]*string `field:"optional" json:"networkIncludes" yaml:"networkIncludes"` // Allow or deny a user to change their password: `ALLOW` or `DENY`. Default: `ALLOW`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password#password_change PolicyRulePassword#password_change} PasswordChange *string `field:"optional" json:"passwordChange" yaml:"passwordChange"` // Allow or deny a user to reset their password: `ALLOW` or `DENY`. Default: `ALLOW`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password#password_reset PolicyRulePassword#password_reset} PasswordReset *string `field:"optional" json:"passwordReset" yaml:"passwordReset"` // Allow or deny a user to unlock. Default: `DENY`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password#password_unlock PolicyRulePassword#password_unlock} PasswordUnlock *string `field:"optional" json:"passwordUnlock" yaml:"passwordUnlock"` // Policy ID of the Rule. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password#policy_id PolicyRulePassword#policy_id} PolicyId *string `field:"optional" json:"policyId" yaml:"policyId"` // Rule priority. // // This attribute can be set to a valid priority. To avoid an endless diff situation an error is thrown if an invalid property is provided. The Okta API defaults to the last (lowest) if not provided. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password#priority PolicyRulePassword#priority} Priority *float64 `field:"optional" json:"priority" yaml:"priority"` // Policy Rule Status: `ACTIVE` or `INACTIVE`. Default: `ACTIVE`. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password#status PolicyRulePassword#status} Status *string `field:"optional" json:"status" yaml:"status"` // Set of User IDs to Exclude. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/okta/okta/4.13.0/docs/resources/policy_rule_password#users_excluded PolicyRulePassword#users_excluded} UsersExcluded *[]*string `field:"optional" json:"usersExcluded" yaml:"usersExcluded"` }