Represents a {@link https://registry.terraform.io/providers/hashicorp/boundary/1.2.0/docs boundary}.
import { provider } from '@cdktf/provider-boundary'
new provider.BoundaryProvider(scope: Construct, id: string, config: BoundaryProviderConfig)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
The scope in which to define this construct. |
id |
string |
The scoped construct ID. |
config |
BoundaryProviderConfig |
No description. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: BoundaryProviderConfig
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. |
resetAlias |
No description. |
resetAuthMethodId |
No description. |
resetAuthMethodLoginName |
No description. |
resetAuthMethodPassword |
No description. |
resetPasswordAuthMethodLoginName |
No description. |
resetPasswordAuthMethodPassword |
No description. |
resetPluginExecutionDir |
No description. |
resetRecoveryKmsHcl |
No description. |
resetScopeId |
No description. |
resetTlsInsecure |
No description. |
resetToken |
No description. |
public toString(): string
Returns a string representation of this construct.
public addOverride(path: string, value: any): void
- Type: string
- Type: any
public overrideLogicalId(newLogicalId: string): void
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
public resetOverrideLogicalId(): void
Resets a previously passed logical Id to use the auto-generated logical id again.
public toHclTerraform(): any
public toMetadata(): any
public toTerraform(): any
Adds this resource to the terraform JSON output.
public resetAlias(): void
public resetAuthMethodId(): void
public resetAuthMethodLoginName(): void
public resetAuthMethodPassword(): void
public resetPasswordAuthMethodLoginName(): void
public resetPasswordAuthMethodPassword(): void
public resetPluginExecutionDir(): void
public resetRecoveryKmsHcl(): void
public resetScopeId(): void
public resetTlsInsecure(): void
public resetToken(): void
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
isTerraformElement |
No description. |
isTerraformProvider |
No description. |
generateConfigForImport |
Generates CDKTF code for importing a BoundaryProvider resource upon running "cdktf plan ". |
import { provider } from '@cdktf/provider-boundary'
provider.BoundaryProvider.isConstruct(x: any)
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: any
Any object.
import { provider } from '@cdktf/provider-boundary'
provider.BoundaryProvider.isTerraformElement(x: any)
- Type: any
import { provider } from '@cdktf/provider-boundary'
provider.BoundaryProvider.isTerraformProvider(x: any)
- Type: any
import { provider } from '@cdktf/provider-boundary'
provider.BoundaryProvider.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider)
Generates CDKTF code for importing a BoundaryProvider resource upon running "cdktf plan ".
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The construct id used in the generated config for the BoundaryProvider to import.
- Type: string
The id of the existing BoundaryProvider that should be imported.
Refer to the {@link https://registry.terraform.io/providers/hashicorp/boundary/1.2.0/docs#import import section} in the documentation of this resource for the id to use
- Type: cdktf.TerraformProvider
? Optional instance of the provider where the BoundaryProvider to import is found.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
cdktfStack |
cdktf.TerraformStack |
No description. |
fqn |
string |
No description. |
friendlyUniqueId |
string |
No description. |
metaAttributes |
{[ key: string ]: any} |
No description. |
terraformResourceType |
string |
No description. |
terraformGeneratorMetadata |
cdktf.TerraformProviderGeneratorMetadata |
No description. |
terraformProviderSource |
string |
No description. |
alias |
string |
No description. |
addrInput |
string |
No description. |
aliasInput |
string |
No description. |
authMethodIdInput |
string |
No description. |
authMethodLoginNameInput |
string |
No description. |
authMethodPasswordInput |
string |
No description. |
passwordAuthMethodLoginNameInput |
string |
No description. |
passwordAuthMethodPasswordInput |
string |
No description. |
pluginExecutionDirInput |
string |
No description. |
recoveryKmsHclInput |
string |
No description. |
scopeIdInput |
string |
No description. |
tlsInsecureInput |
boolean | cdktf.IResolvable |
No description. |
tokenInput |
string |
No description. |
addr |
string |
No description. |
authMethodId |
string |
No description. |
authMethodLoginName |
string |
No description. |
authMethodPassword |
string |
No description. |
passwordAuthMethodLoginName |
string |
No description. |
passwordAuthMethodPassword |
string |
No description. |
pluginExecutionDir |
string |
No description. |
recoveryKmsHcl |
string |
No description. |
scopeId |
string |
No description. |
tlsInsecure |
boolean | cdktf.IResolvable |
No description. |
token |
string |
No description. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly cdktfStack: TerraformStack;
- Type: cdktf.TerraformStack
public readonly fqn: string;
- Type: string
public readonly friendlyUniqueId: string;
- Type: string
public readonly metaAttributes: {[ key: string ]: any};
- Type: {[ key: string ]: any}
public readonly terraformResourceType: string;
- Type: string
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
- Type: cdktf.TerraformProviderGeneratorMetadata
public readonly terraformProviderSource: string;
- Type: string
public readonly alias: string;
- Type: string
public readonly addrInput: string;
- Type: string
public readonly aliasInput: string;
- Type: string
public readonly authMethodIdInput: string;
- Type: string
public readonly authMethodLoginNameInput: string;
- Type: string
public readonly authMethodPasswordInput: string;
- Type: string
public readonly passwordAuthMethodLoginNameInput: string;
- Type: string
public readonly passwordAuthMethodPasswordInput: string;
- Type: string
public readonly pluginExecutionDirInput: string;
- Type: string
public readonly recoveryKmsHclInput: string;
- Type: string
public readonly scopeIdInput: string;
- Type: string
public readonly tlsInsecureInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly tokenInput: string;
- Type: string
public readonly addr: string;
- Type: string
public readonly authMethodId: string;
- Type: string
public readonly authMethodLoginName: string;
- Type: string
public readonly authMethodPassword: string;
- Type: string
public readonly passwordAuthMethodLoginName: string;
- Type: string
public readonly passwordAuthMethodPassword: string;
- Type: string
public readonly pluginExecutionDir: string;
- Type: string
public readonly recoveryKmsHcl: string;
- Type: string
public readonly scopeId: string;
- Type: string
public readonly tlsInsecure: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly token: string;
- Type: string
Name | Type | Description |
---|---|---|
tfResourceType |
string |
No description. |
public readonly tfResourceType: string;
- Type: string
import { provider } from '@cdktf/provider-boundary'
const boundaryProviderConfig: provider.BoundaryProviderConfig = { ... }
Name | Type | Description |
---|---|---|
addr |
string |
The base url of the Boundary API, e.g. "http://127.0.0.1:9200". If not set, it will be read from the "BOUNDARY_ADDR" env var. |
alias |
string |
Alias name. |
authMethodId |
string |
The auth method ID e.g. ampw_1234567890. If not set, the default auth method for the given scope ID will be used. |
authMethodLoginName |
string |
The auth method login name for password-style or ldap-style auth methods. |
authMethodPassword |
string |
The auth method password for password-style or ldap-style auth methods. |
passwordAuthMethodLoginName |
string |
The auth method login name for password-style auth methods. |
passwordAuthMethodPassword |
string |
The auth method password for password-style auth methods. |
pluginExecutionDir |
string |
Specifies a directory that the Boundary provider can use to write and execute its built-in plugins. |
recoveryKmsHcl |
string |
Can be a heredoc string or a path on disk. |
scopeId |
string |
The scope ID for the default auth method. |
tlsInsecure |
boolean | cdktf.IResolvable |
When set to true, does not validate the Boundary API endpoint certificate. |
token |
string |
The Boundary token to use, as a string or path on disk containing just the string. |
public readonly addr: string;
- Type: string
The base url of the Boundary API, e.g. "http://127.0.0.1:9200". If not set, it will be read from the "BOUNDARY_ADDR" env var.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/boundary/1.2.0/docs#addr BoundaryProvider#addr}
public readonly alias: string;
- Type: string
Alias name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/boundary/1.2.0/docs#alias BoundaryProvider#alias}
public readonly authMethodId: string;
- Type: string
The auth method ID e.g. ampw_1234567890. If not set, the default auth method for the given scope ID will be used.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/boundary/1.2.0/docs#auth_method_id BoundaryProvider#auth_method_id}
public readonly authMethodLoginName: string;
- Type: string
The auth method login name for password-style or ldap-style auth methods.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/boundary/1.2.0/docs#auth_method_login_name BoundaryProvider#auth_method_login_name}
public readonly authMethodPassword: string;
- Type: string
The auth method password for password-style or ldap-style auth methods.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/boundary/1.2.0/docs#auth_method_password BoundaryProvider#auth_method_password}
public readonly passwordAuthMethodLoginName: string;
- Type: string
The auth method login name for password-style auth methods.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/boundary/1.2.0/docs#password_auth_method_login_name BoundaryProvider#password_auth_method_login_name}
public readonly passwordAuthMethodPassword: string;
- Type: string
The auth method password for password-style auth methods.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/boundary/1.2.0/docs#password_auth_method_password BoundaryProvider#password_auth_method_password}
public readonly pluginExecutionDir: string;
- Type: string
Specifies a directory that the Boundary provider can use to write and execute its built-in plugins.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/boundary/1.2.0/docs#plugin_execution_dir BoundaryProvider#plugin_execution_dir}
public readonly recoveryKmsHcl: string;
- Type: string
Can be a heredoc string or a path on disk.
If set, the string/file will be parsed as HCL and used with the recovery KMS mechanism. While this is set, it will override any other authentication information; the KMS mechanism will always be used. See Boundary's KMS docs for examples: https://boundaryproject.io/docs/configuration/kms
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/boundary/1.2.0/docs#recovery_kms_hcl BoundaryProvider#recovery_kms_hcl}
public readonly scopeId: string;
- Type: string
The scope ID for the default auth method.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/boundary/1.2.0/docs#scope_id BoundaryProvider#scope_id}
public readonly tlsInsecure: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
When set to true, does not validate the Boundary API endpoint certificate.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/boundary/1.2.0/docs#tls_insecure BoundaryProvider#tls_insecure}
public readonly token: string;
- Type: string
The Boundary token to use, as a string or path on disk containing just the string.
If set, the token read here will be used in place of authenticating with the auth method specified in "auth_method_id", although the recovery KMS mechanism will still override this. Can also be set with the BOUNDARY_TOKEN environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/boundary/1.2.0/docs#token BoundaryProvider#token}