Skip to content

Latest commit

 

History

History
1291 lines (808 loc) · 49.3 KB

identityMfaTotp.csharp.md

File metadata and controls

1291 lines (808 loc) · 49.3 KB

identityMfaTotp Submodule

Constructs

IdentityMfaTotp

Represents a {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/identity_mfa_totp vault_identity_mfa_totp}.

Initializers

using HashiCorp.Cdktf.Providers.Vault;

new IdentityMfaTotp(Construct Scope, string Id, IdentityMfaTotpConfig Config);
Name Type Description
Scope Constructs.Construct The scope in which to define this construct.
Id string The scoped construct ID.
Config IdentityMfaTotpConfig No description.

ScopeRequired
  • Type: Constructs.Construct

The scope in which to define this construct.


IdRequired
  • Type: string

The scoped construct ID.

Must be unique amongst siblings in the same scope


ConfigRequired

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".
ResetAlgorithm No description.
ResetDigits No description.
ResetId No description.
ResetKeySize No description.
ResetMaxValidationAttempts No description.
ResetNamespace No description.
ResetPeriod No description.
ResetQrSize No description.
ResetSkew No description.

ToString
private string ToString()

Returns a string representation of this construct.

AddOverride
private void AddOverride(string Path, object Value)
PathRequired
  • Type: string

ValueRequired
  • Type: object

OverrideLogicalId
private void OverrideLogicalId(string NewLogicalId)

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

NewLogicalIdRequired
  • Type: string

The new logical ID to use for this stack element.


ResetOverrideLogicalId
private void ResetOverrideLogicalId()

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

ToHclTerraform
private object ToHclTerraform()
ToMetadata
private object ToMetadata()
ToTerraform
private object ToTerraform()

Adds this resource to the terraform JSON output.

AddMoveTarget
private void AddMoveTarget(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: string

The string move target that will correspond to this resource.


GetAnyMapAttribute
private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanAttribute
private IResolvable GetBooleanAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetBooleanMapAttribute
private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetListAttribute
private string[] GetListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberAttribute
private double GetNumberAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberListAttribute
private double[] GetNumberListAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetNumberMapAttribute
private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringAttribute
private string GetStringAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

GetStringMapAttribute
private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

HasResourceMove
private object HasResourceMove()
ImportFrom
private void ImportFrom(string Id, TerraformProvider Provider = null)
IdRequired
  • Type: string

ProviderOptional
  • Type: HashiCorp.Cdktf.TerraformProvider

InterpolationForAttribute
private IResolvable InterpolationForAttribute(string TerraformAttribute)
TerraformAttributeRequired
  • Type: string

MoveFromId
private void MoveFromId(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: string

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


MoveTo
private void MoveTo(string MoveTarget, object Index = null)

Moves this resource to the target resource given by moveTarget.

MoveTargetRequired
  • Type: string

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


IndexOptional
  • Type: object

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


MoveToId
private void MoveToId(string Id)

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

IdRequired
  • Type: string

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


ResetAlgorithm
private void ResetAlgorithm()
ResetDigits
private void ResetDigits()
ResetId
private void ResetId()
ResetKeySize
private void ResetKeySize()
ResetMaxValidationAttempts
private void ResetMaxValidationAttempts()
ResetNamespace
private void ResetNamespace()
ResetPeriod
private void ResetPeriod()
ResetQrSize
private void ResetQrSize()
ResetSkew
private void ResetSkew()

Static Functions

Name Description
IsConstruct Checks if x is a construct.
IsTerraformElement No description.
IsTerraformResource No description.
GenerateConfigForImport Generates CDKTF code for importing a IdentityMfaTotp resource upon running "cdktf plan ".

IsConstruct
using HashiCorp.Cdktf.Providers.Vault;

IdentityMfaTotp.IsConstruct(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: object

Any object.


IsTerraformElement
using HashiCorp.Cdktf.Providers.Vault;

IdentityMfaTotp.IsTerraformElement(object X);
XRequired
  • Type: object

IsTerraformResource
using HashiCorp.Cdktf.Providers.Vault;

IdentityMfaTotp.IsTerraformResource(object X);
XRequired
  • Type: object

GenerateConfigForImport
using HashiCorp.Cdktf.Providers.Vault;

IdentityMfaTotp.GenerateConfigForImport(Construct Scope, string ImportToId, string ImportFromId, TerraformProvider Provider = null);

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

ScopeRequired
  • Type: Constructs.Construct

The scope in which to define this construct.


ImportToIdRequired
  • Type: string

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


ImportFromIdRequired
  • Type: string

The id of the existing IdentityMfaTotp that should be imported.

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


ProviderOptional
  • Type: HashiCorp.Cdktf.TerraformProvider

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


Properties

Name Type Description
Node Constructs.Node The tree node.
CdktfStack HashiCorp.Cdktf.TerraformStack No description.
Fqn string No description.
FriendlyUniqueId string No description.
TerraformMetaArguments System.Collections.Generic.IDictionary<string, object> No description.
TerraformResourceType string No description.
TerraformGeneratorMetadata HashiCorp.Cdktf.TerraformProviderGeneratorMetadata No description.
Connection object No description.
Count object No description.
DependsOn string[] No description.
ForEach HashiCorp.Cdktf.ITerraformIterator No description.
Lifecycle HashiCorp.Cdktf.TerraformResourceLifecycle No description.
Provider HashiCorp.Cdktf.TerraformProvider No description.
Provisioners object[] No description.
MethodId string No description.
MountAccessor string No description.
Name string No description.
NamespaceId string No description.
NamespacePath string No description.
Type string No description.
Uuid string No description.
AlgorithmInput string No description.
DigitsInput double No description.
IdInput string No description.
IssuerInput string No description.
KeySizeInput double No description.
MaxValidationAttemptsInput double No description.
NamespaceInput string No description.
PeriodInput double No description.
QrSizeInput double No description.
SkewInput double No description.
Algorithm string No description.
Digits double No description.
Id string No description.
Issuer string No description.
KeySize double No description.
MaxValidationAttempts double No description.
Namespace string No description.
Period double No description.
QrSize double No description.
Skew double No description.

NodeRequired
public Node Node { get; }
  • Type: Constructs.Node

The tree node.


CdktfStackRequired
public TerraformStack CdktfStack { get; }
  • Type: HashiCorp.Cdktf.TerraformStack

FqnRequired
public string Fqn { get; }
  • Type: string

FriendlyUniqueIdRequired
public string FriendlyUniqueId { get; }
  • Type: string

TerraformMetaArgumentsRequired
public System.Collections.Generic.IDictionary<string, object> TerraformMetaArguments { get; }
  • Type: System.Collections.Generic.IDictionary<string, object>

TerraformResourceTypeRequired
public string TerraformResourceType { get; }
  • Type: string

TerraformGeneratorMetadataOptional
public TerraformProviderGeneratorMetadata TerraformGeneratorMetadata { get; }
  • Type: HashiCorp.Cdktf.TerraformProviderGeneratorMetadata

ConnectionOptional
public object Connection { get; }
  • Type: object

CountOptional
public object Count { get; }
  • Type: object

DependsOnOptional
public string[] DependsOn { get; }
  • Type: string[]

ForEachOptional
public ITerraformIterator ForEach { get; }
  • Type: HashiCorp.Cdktf.ITerraformIterator

LifecycleOptional
public TerraformResourceLifecycle Lifecycle { get; }
  • Type: HashiCorp.Cdktf.TerraformResourceLifecycle

ProviderOptional
public TerraformProvider Provider { get; }
  • Type: HashiCorp.Cdktf.TerraformProvider

ProvisionersOptional
public object[] Provisioners { get; }
  • Type: object[]

MethodIdRequired
public string MethodId { get; }
  • Type: string

MountAccessorRequired
public string MountAccessor { get; }
  • Type: string

NameRequired
public string Name { get; }
  • Type: string

NamespaceIdRequired
public string NamespaceId { get; }
  • Type: string

NamespacePathRequired
public string NamespacePath { get; }
  • Type: string

TypeRequired
public string Type { get; }
  • Type: string

UuidRequired
public string Uuid { get; }
  • Type: string

AlgorithmInputOptional
public string AlgorithmInput { get; }
  • Type: string

DigitsInputOptional
public double DigitsInput { get; }
  • Type: double

IdInputOptional
public string IdInput { get; }
  • Type: string

IssuerInputOptional
public string IssuerInput { get; }
  • Type: string

KeySizeInputOptional
public double KeySizeInput { get; }
  • Type: double

MaxValidationAttemptsInputOptional
public double MaxValidationAttemptsInput { get; }
  • Type: double

NamespaceInputOptional
public string NamespaceInput { get; }
  • Type: string

PeriodInputOptional
public double PeriodInput { get; }
  • Type: double

QrSizeInputOptional
public double QrSizeInput { get; }
  • Type: double

SkewInputOptional
public double SkewInput { get; }
  • Type: double

AlgorithmRequired
public string Algorithm { get; }
  • Type: string

DigitsRequired
public double Digits { get; }
  • Type: double

IdRequired
public string Id { get; }
  • Type: string

IssuerRequired
public string Issuer { get; }
  • Type: string

KeySizeRequired
public double KeySize { get; }
  • Type: double

MaxValidationAttemptsRequired
public double MaxValidationAttempts { get; }
  • Type: double

NamespaceRequired
public string Namespace { get; }
  • Type: string

PeriodRequired
public double Period { get; }
  • Type: double

QrSizeRequired
public double QrSize { get; }
  • Type: double

SkewRequired
public double Skew { get; }
  • Type: double

Constants

Name Type Description
TfResourceType string No description.

TfResourceTypeRequired
public string TfResourceType { get; }
  • Type: string

Structs

IdentityMfaTotpConfig

Initializer

using HashiCorp.Cdktf.Providers.Vault;

new IdentityMfaTotpConfig {
    object Connection = null,
    object Count = null,
    ITerraformDependable[] DependsOn = null,
    ITerraformIterator ForEach = null,
    TerraformResourceLifecycle Lifecycle = null,
    TerraformProvider Provider = null,
    object[] Provisioners = null,
    string Issuer,
    string Algorithm = null,
    double Digits = null,
    string Id = null,
    double KeySize = null,
    double MaxValidationAttempts = null,
    string Namespace = null,
    double Period = null,
    double QrSize = null,
    double Skew = null
};

Properties

Name Type Description
Connection object No description.
Count object No description.
DependsOn HashiCorp.Cdktf.ITerraformDependable[] No description.
ForEach HashiCorp.Cdktf.ITerraformIterator No description.
Lifecycle HashiCorp.Cdktf.TerraformResourceLifecycle No description.
Provider HashiCorp.Cdktf.TerraformProvider No description.
Provisioners object[] No description.
Issuer string The name of the key's issuing organization.
Algorithm string Specifies the hashing algorithm used to generate the TOTP code. Options include SHA1, SHA256, SHA512.
Digits double The number of digits in the generated TOTP token. This value can either be 6 or 8.
Id string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/identity_mfa_totp#id IdentityMfaTotp#id}.
KeySize double Specifies the size in bytes of the generated key.
MaxValidationAttempts double The maximum number of consecutive failed validation attempts allowed.
Namespace string Target namespace. (requires Enterprise).
Period double The length of time in seconds used to generate a counter for the TOTP token calculation.
QrSize double The pixel size of the generated square QR code.
Skew double The number of delay periods that are allowed when validating a TOTP token.

ConnectionOptional
public object Connection { get; set; }
  • Type: object

CountOptional
public object Count { get; set; }
  • Type: object

DependsOnOptional
public ITerraformDependable[] DependsOn { get; set; }
  • Type: HashiCorp.Cdktf.ITerraformDependable[]

ForEachOptional
public ITerraformIterator ForEach { get; set; }
  • Type: HashiCorp.Cdktf.ITerraformIterator

LifecycleOptional
public TerraformResourceLifecycle Lifecycle { get; set; }
  • Type: HashiCorp.Cdktf.TerraformResourceLifecycle

ProviderOptional
public TerraformProvider Provider { get; set; }
  • Type: HashiCorp.Cdktf.TerraformProvider

ProvisionersOptional
public object[] Provisioners { get; set; }
  • Type: object[]

IssuerRequired
public string Issuer { get; set; }
  • Type: string

The name of the key's issuing organization.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/identity_mfa_totp#issuer IdentityMfaTotp#issuer}


AlgorithmOptional
public string Algorithm { get; set; }
  • Type: string

Specifies the hashing algorithm used to generate the TOTP code. Options include SHA1, SHA256, SHA512.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/identity_mfa_totp#algorithm IdentityMfaTotp#algorithm}


DigitsOptional
public double Digits { get; set; }
  • Type: double

The number of digits in the generated TOTP token. This value can either be 6 or 8.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/identity_mfa_totp#digits IdentityMfaTotp#digits}


IdOptional
public string Id { get; set; }
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/identity_mfa_totp#id IdentityMfaTotp#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.


KeySizeOptional
public double KeySize { get; set; }
  • Type: double

Specifies the size in bytes of the generated key.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/identity_mfa_totp#key_size IdentityMfaTotp#key_size}


MaxValidationAttemptsOptional
public double MaxValidationAttempts { get; set; }
  • Type: double

The maximum number of consecutive failed validation attempts allowed.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/identity_mfa_totp#max_validation_attempts IdentityMfaTotp#max_validation_attempts}


NamespaceOptional
public string Namespace { get; set; }
  • Type: string

Target namespace. (requires Enterprise).

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/identity_mfa_totp#namespace IdentityMfaTotp#namespace}


PeriodOptional
public double Period { get; set; }
  • Type: double

The length of time in seconds used to generate a counter for the TOTP token calculation.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/identity_mfa_totp#period IdentityMfaTotp#period}


QrSizeOptional
public double QrSize { get; set; }
  • Type: double

The pixel size of the generated square QR code.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/identity_mfa_totp#qr_size IdentityMfaTotp#qr_size}


SkewOptional
public double Skew { get; set; }
  • Type: double

The number of delay periods that are allowed when validating a TOTP token.

This value can either be 0 or 1.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/vault/4.5.0/docs/resources/identity_mfa_totp#skew IdentityMfaTotp#skew}