Documentation ¶
Index ¶
- func AdProvider_IsConstruct(x interface{}) *bool
- func AdProvider_IsTerraformElement(x interface{}) *bool
- func AdProvider_IsTerraformProvider(x interface{}) *bool
- func AdProvider_TfResourceType() *string
- func NewAdProvider_Override(a AdProvider, scope constructs.Construct, id *string, config *AdProviderConfig)
- type AdProvider
- type AdProviderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdProvider_IsConstruct ¶
func AdProvider_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 AdProvider_IsTerraformElement ¶
func AdProvider_IsTerraformElement(x interface{}) *bool
Experimental.
func AdProvider_IsTerraformProvider ¶
func AdProvider_IsTerraformProvider(x interface{}) *bool
Experimental.
func AdProvider_TfResourceType ¶
func AdProvider_TfResourceType() *string
func NewAdProvider_Override ¶
func NewAdProvider_Override(a AdProvider, scope constructs.Construct, id *string, config *AdProviderConfig)
Create a new {@link https://www.terraform.io/docs/providers/ad ad} Resource.
Types ¶
type AdProvider ¶
type AdProvider interface { cdktf.TerraformProvider Alias() *string SetAlias(val *string) AliasInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} DomainController() *string SetDomainController(val *string) DomainControllerInput() *string // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string KrbConf() *string SetKrbConf(val *string) KrbConfInput() *string KrbKeytab() *string SetKrbKeytab(val *string) KrbKeytabInput() *string KrbRealm() *string SetKrbRealm(val *string) KrbRealmInput() *string KrbSpn() *string SetKrbSpn(val *string) KrbSpnInput() *string // Experimental. MetaAttributes() *map[string]interface{} // The tree node. Node() constructs.Node // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformProviderSource() *string // Experimental. TerraformResourceType() *string WinrmHostname() *string SetWinrmHostname(val *string) WinrmHostnameInput() *string WinrmInsecure() interface{} SetWinrmInsecure(val interface{}) WinrmInsecureInput() interface{} WinrmPassCredentials() interface{} SetWinrmPassCredentials(val interface{}) WinrmPassCredentialsInput() interface{} WinrmPassword() *string SetWinrmPassword(val *string) WinrmPasswordInput() *string WinrmPort() *float64 SetWinrmPort(val *float64) WinrmPortInput() *float64 WinrmProto() *string SetWinrmProto(val *string) WinrmProtoInput() *string WinrmUseNtlm() interface{} SetWinrmUseNtlm(val interface{}) WinrmUseNtlmInput() interface{} WinrmUsername() *string SetWinrmUsername(val *string) WinrmUsernameInput() *string // Experimental. AddOverride(path *string, value interface{}) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAlias() ResetDomainController() ResetKrbConf() ResetKrbKeytab() ResetKrbRealm() ResetKrbSpn() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetWinrmInsecure() ResetWinrmPassCredentials() ResetWinrmPort() ResetWinrmProto() ResetWinrmUseNtlm() SynthesizeAttributes() *map[string]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://www.terraform.io/docs/providers/ad ad}.
func NewAdProvider ¶
func NewAdProvider(scope constructs.Construct, id *string, config *AdProviderConfig) AdProvider
Create a new {@link https://www.terraform.io/docs/providers/ad ad} Resource.
type AdProviderConfig ¶
type AdProviderConfig struct { // The hostname of the server we will use to run powershell scripts over WinRM. (Environment variable: AD_HOSTNAME). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ad#winrm_hostname AdProvider#winrm_hostname} WinrmHostname *string `field:"required" json:"winrmHostname" yaml:"winrmHostname"` // The password used to authenticate to the server's WinRM service. (Environment variable: AD_PASSWORD). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ad#winrm_password AdProvider#winrm_password} WinrmPassword *string `field:"required" json:"winrmPassword" yaml:"winrmPassword"` // The username used to authenticate to the server's WinRM service. (Environment variable: AD_USER). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ad#winrm_username AdProvider#winrm_username} WinrmUsername *string `field:"required" json:"winrmUsername" yaml:"winrmUsername"` // Alias name. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ad#alias AdProvider#alias} Alias *string `field:"optional" json:"alias" yaml:"alias"` // Use a specific domain controller. (default: none, environment variable: AD_DC). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ad#domain_controller AdProvider#domain_controller} DomainController *string `field:"optional" json:"domainController" yaml:"domainController"` // Path to kerberos configuration file. (default: none, environment variable: AD_KRB_CONF). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ad#krb_conf AdProvider#krb_conf} KrbConf *string `field:"optional" json:"krbConf" yaml:"krbConf"` // Path to a keytab file to be used instead of a password. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ad#krb_keytab AdProvider#krb_keytab} KrbKeytab *string `field:"optional" json:"krbKeytab" yaml:"krbKeytab"` // The name of the kerberos realm (domain) we will use for authentication. (default: "", environment variable: AD_KRB_REALM). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ad#krb_realm AdProvider#krb_realm} KrbRealm *string `field:"optional" json:"krbRealm" yaml:"krbRealm"` // Alternative Service Principal Name. (default: none, environment variable: AD_KRB_SPN). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ad#krb_spn AdProvider#krb_spn} KrbSpn *string `field:"optional" json:"krbSpn" yaml:"krbSpn"` // Trust unknown certificates. (default: false, environment variable: AD_WINRM_INSECURE). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ad#winrm_insecure AdProvider#winrm_insecure} WinrmInsecure interface{} `field:"optional" json:"winrmInsecure" yaml:"winrmInsecure"` // Pass credentials in WinRM session to create a System.Management.Automation.PSCredential. (default: false, environment variable: AD_WINRM_PASS_CREDENTIALS). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ad#winrm_pass_credentials AdProvider#winrm_pass_credentials} WinrmPassCredentials interface{} `field:"optional" json:"winrmPassCredentials" yaml:"winrmPassCredentials"` // The port WinRM is listening for connections. (default: 5985, environment variable: AD_PORT). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ad#winrm_port AdProvider#winrm_port} WinrmPort *float64 `field:"optional" json:"winrmPort" yaml:"winrmPort"` // The WinRM protocol we will use. (default: http, environment variable: AD_PROTO). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ad#winrm_proto AdProvider#winrm_proto} WinrmProto *string `field:"optional" json:"winrmProto" yaml:"winrmProto"` // Use NTLM authentication. (default: false, environment variable: AD_WINRM_USE_NTLM). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/ad#winrm_use_ntlm AdProvider#winrm_use_ntlm} WinrmUseNtlm interface{} `field:"optional" json:"winrmUseNtlm" yaml:"winrmUseNtlm"` }